blob: bbc96938307498cead99de42f03f619a7bbe5e2a [file] [log] [blame]
Martin Blumenstingl9d3cd192018-04-18 21:39:50 +02001struct device;
Martin Blumenstingl07dbff02018-03-03 22:43:04 +01002struct usb_phy_roothub;
3
Martin Blumenstingl63cb03f2018-04-18 21:39:47 +02004struct usb_phy_roothub *usb_phy_roothub_alloc(struct device *dev);
5
6int usb_phy_roothub_init(struct usb_phy_roothub *phy_roothub);
Martin Blumenstingl07dbff02018-03-03 22:43:04 +01007int usb_phy_roothub_exit(struct usb_phy_roothub *phy_roothub);
8
9int usb_phy_roothub_power_on(struct usb_phy_roothub *phy_roothub);
10void usb_phy_roothub_power_off(struct usb_phy_roothub *phy_roothub);
Martin Blumenstinglf0e36d42018-04-18 21:39:48 +020011
12int usb_phy_roothub_suspend(struct device *controller_dev,
13 struct usb_phy_roothub *phy_roothub);
14int usb_phy_roothub_resume(struct device *controller_dev,
15 struct usb_phy_roothub *phy_roothub);