Lines Matching refs:roothub_entry
25 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_add_phy() local
36 roothub_entry = devm_kzalloc(dev, sizeof(*roothub_entry), GFP_KERNEL); in usb_phy_roothub_add_phy()
37 if (!roothub_entry) in usb_phy_roothub_add_phy()
40 INIT_LIST_HEAD(&roothub_entry->list); in usb_phy_roothub_add_phy()
42 roothub_entry->phy = phy; in usb_phy_roothub_add_phy()
44 list_add_tail(&roothub_entry->list, list); in usb_phy_roothub_add_phy()
80 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_init() local
89 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_init()
90 err = phy_init(roothub_entry->phy); in usb_phy_roothub_init()
98 list_for_each_entry_continue_reverse(roothub_entry, head, list) in usb_phy_roothub_init()
99 phy_exit(roothub_entry->phy); in usb_phy_roothub_init()
107 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_exit() local
116 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_exit()
117 err = phy_exit(roothub_entry->phy); in usb_phy_roothub_exit()
129 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_set_mode() local
138 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_set_mode()
139 err = phy_set_mode(roothub_entry->phy, mode); in usb_phy_roothub_set_mode()
147 list_for_each_entry_continue_reverse(roothub_entry, head, list) in usb_phy_roothub_set_mode()
148 phy_power_off(roothub_entry->phy); in usb_phy_roothub_set_mode()
156 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_calibrate() local
165 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_calibrate()
166 err = phy_calibrate(roothub_entry->phy); in usb_phy_roothub_calibrate()
177 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_power_on() local
186 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_power_on()
187 err = phy_power_on(roothub_entry->phy); in usb_phy_roothub_power_on()
195 list_for_each_entry_continue_reverse(roothub_entry, head, list) in usb_phy_roothub_power_on()
196 phy_power_off(roothub_entry->phy); in usb_phy_roothub_power_on()
204 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_power_off() local
209 list_for_each_entry_reverse(roothub_entry, &phy_roothub->list, list) in usb_phy_roothub_power_off()
210 phy_power_off(roothub_entry->phy); in usb_phy_roothub_power_off()