Lines Matching refs:roothub_entry
25 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_add_phy() local
35 roothub_entry = devm_kzalloc(dev, sizeof(*roothub_entry), GFP_KERNEL); in usb_phy_roothub_add_phy()
36 if (!roothub_entry) in usb_phy_roothub_add_phy()
39 INIT_LIST_HEAD(&roothub_entry->list); in usb_phy_roothub_add_phy()
41 roothub_entry->phy = phy; in usb_phy_roothub_add_phy()
43 list_add_tail(&roothub_entry->list, list); in usb_phy_roothub_add_phy()
79 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_init() local
88 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_init()
89 err = phy_init(roothub_entry->phy); in usb_phy_roothub_init()
97 list_for_each_entry_continue_reverse(roothub_entry, head, list) in usb_phy_roothub_init()
98 phy_exit(roothub_entry->phy); in usb_phy_roothub_init()
106 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_exit() local
115 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_exit()
116 err = phy_exit(roothub_entry->phy); in usb_phy_roothub_exit()
127 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_power_on() local
136 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_power_on()
137 err = phy_power_on(roothub_entry->phy); in usb_phy_roothub_power_on()
145 list_for_each_entry_continue_reverse(roothub_entry, head, list) in usb_phy_roothub_power_on()
146 phy_power_off(roothub_entry->phy); in usb_phy_roothub_power_on()
154 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_power_off() local
159 list_for_each_entry_reverse(roothub_entry, &phy_roothub->list, list) in usb_phy_roothub_power_off()
160 phy_power_off(roothub_entry->phy); in usb_phy_roothub_power_off()