Lines Matching refs:roothub_entry
26 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_add_phy_by_name() local
33 roothub_entry = devm_kzalloc(dev, sizeof(*roothub_entry), GFP_KERNEL); in usb_phy_roothub_add_phy_by_name()
34 if (!roothub_entry) in usb_phy_roothub_add_phy_by_name()
37 INIT_LIST_HEAD(&roothub_entry->list); in usb_phy_roothub_add_phy_by_name()
39 roothub_entry->phy = phy; in usb_phy_roothub_add_phy_by_name()
41 list_add_tail(&roothub_entry->list, list); in usb_phy_roothub_add_phy_by_name()
49 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_add_phy() local
60 roothub_entry = devm_kzalloc(dev, sizeof(*roothub_entry), GFP_KERNEL); in usb_phy_roothub_add_phy()
61 if (!roothub_entry) in usb_phy_roothub_add_phy()
64 INIT_LIST_HEAD(&roothub_entry->list); in usb_phy_roothub_add_phy()
66 roothub_entry->phy = phy; in usb_phy_roothub_add_phy()
68 list_add_tail(&roothub_entry->list, list); in usb_phy_roothub_add_phy()
142 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_init() local
151 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_init()
152 err = phy_init(roothub_entry->phy); in usb_phy_roothub_init()
160 list_for_each_entry_continue_reverse(roothub_entry, head, list) in usb_phy_roothub_init()
161 phy_exit(roothub_entry->phy); in usb_phy_roothub_init()
169 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_exit() local
178 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_exit()
179 err = phy_exit(roothub_entry->phy); in usb_phy_roothub_exit()
191 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_set_mode() local
200 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_set_mode()
201 err = phy_set_mode(roothub_entry->phy, mode); in usb_phy_roothub_set_mode()
209 list_for_each_entry_continue_reverse(roothub_entry, head, list) in usb_phy_roothub_set_mode()
210 phy_power_off(roothub_entry->phy); in usb_phy_roothub_set_mode()
218 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_calibrate() local
227 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_calibrate()
228 err = phy_calibrate(roothub_entry->phy); in usb_phy_roothub_calibrate()
247 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_notify_connect() local
256 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_notify_connect()
257 err = phy_notify_connect(roothub_entry->phy, port); in usb_phy_roothub_notify_connect()
276 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_notify_disconnect() local
285 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_notify_disconnect()
286 err = phy_notify_disconnect(roothub_entry->phy, port); in usb_phy_roothub_notify_disconnect()
297 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_power_on() local
306 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_power_on()
307 err = phy_power_on(roothub_entry->phy); in usb_phy_roothub_power_on()
315 list_for_each_entry_continue_reverse(roothub_entry, head, list) in usb_phy_roothub_power_on()
316 phy_power_off(roothub_entry->phy); in usb_phy_roothub_power_on()
324 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_power_off() local
329 list_for_each_entry_reverse(roothub_entry, &phy_roothub->list, list) in usb_phy_roothub_power_off()
330 phy_power_off(roothub_entry->phy); in usb_phy_roothub_power_off()