perf python: Do not force closing original perf descriptor in evlist.get_pollfd()
[linux/fpc-iii.git] / drivers / usb / chipidea / ci_hdrc_imx.h
blob204275f47573c01ace3e8bf6380620ff6ecbf36a
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Copyright 2012 Freescale Semiconductor, Inc.
4 */
6 #ifndef __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
7 #define __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
9 struct imx_usbmisc_data {
10 struct device *dev;
11 int index;
13 unsigned int disable_oc:1; /* over current detect disabled */
14 unsigned int oc_polarity:1; /* over current polarity if oc enabled */
15 unsigned int evdo:1; /* set external vbus divider option */
16 unsigned int ulpi:1; /* connected to an ULPI phy */
19 int imx_usbmisc_init(struct imx_usbmisc_data *);
20 int imx_usbmisc_init_post(struct imx_usbmisc_data *);
21 int imx_usbmisc_set_wakeup(struct imx_usbmisc_data *, bool);
23 #endif /* __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H */