Home
last modified time | relevance | path

Searched refs:phy_roothub (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/core/
H A Dphy.c75 struct usb_phy_roothub *phy_roothub; in usb_phy_roothub_alloc() local
86 phy_roothub = devm_kzalloc(dev, sizeof(*phy_roothub), GFP_KERNEL); in usb_phy_roothub_alloc()
87 if (!phy_roothub) in usb_phy_roothub_alloc()
90 INIT_LIST_HEAD(&phy_roothub->list); in usb_phy_roothub_alloc()
92 if (!usb_phy_roothub_add_phy_by_name(dev, "usb2-phy", &phy_roothub->list)) in usb_phy_roothub_alloc()
93 return phy_roothub; in usb_phy_roothub_alloc()
96 err = usb_phy_roothub_add_phy(dev, i, &phy_roothub->list); in usb_phy_roothub_alloc()
101 return phy_roothub; in usb_phy_roothub_alloc()
116 struct usb_phy_roothub *phy_roothub; in usb_phy_roothub_alloc_usb3_phy() local
137 phy_roothub = devm_kzalloc(dev, sizeof(*phy_roothub), GFP_KERNEL); in usb_phy_roothub_alloc_usb3_phy()
[all …]
H A Dphy.h17 int usb_phy_roothub_init(struct usb_phy_roothub *phy_roothub);
18 int usb_phy_roothub_exit(struct usb_phy_roothub *phy_roothub);
20 int usb_phy_roothub_set_mode(struct usb_phy_roothub *phy_roothub,
22 int usb_phy_roothub_calibrate(struct usb_phy_roothub *phy_roothub);
23 int usb_phy_roothub_notify_connect(struct usb_phy_roothub *phy_roothub, int port);
24 int usb_phy_roothub_notify_disconnect(struct usb_phy_roothub *phy_roothub, int port);
25 int usb_phy_roothub_power_on(struct usb_phy_roothub *phy_roothub);
26 void usb_phy_roothub_power_off(struct usb_phy_roothub *phy_roothub);
29 struct usb_phy_roothub *phy_roothub);
31 struct usb_phy_roothub *phy_roothub);