perf python: Do not force closing original perf descriptor in evlist.get_pollfd()
[linux/fpc-iii.git] / drivers / usb / core / phy.h
blob88a3c037e9df59194ba94d3ecd7ec3e2626ccb33
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * USB roothub wrapper
5 * Copyright (C) 2018 Martin Blumenstingl <martin.blumenstingl@googlemail.com>
6 */
8 #ifndef __USB_CORE_PHY_H_
9 #define __USB_CORE_PHY_H_
11 struct device;
12 struct usb_phy_roothub;
14 struct usb_phy_roothub *usb_phy_roothub_alloc(struct device *dev);
16 int usb_phy_roothub_init(struct usb_phy_roothub *phy_roothub);
17 int usb_phy_roothub_exit(struct usb_phy_roothub *phy_roothub);
19 int usb_phy_roothub_power_on(struct usb_phy_roothub *phy_roothub);
20 void usb_phy_roothub_power_off(struct usb_phy_roothub *phy_roothub);
22 int usb_phy_roothub_suspend(struct device *controller_dev,
23 struct usb_phy_roothub *phy_roothub);
24 int usb_phy_roothub_resume(struct device *controller_dev,
25 struct usb_phy_roothub *phy_roothub);
27 #endif /* __USB_CORE_PHY_H_ */