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()
152 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_init() local
161 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_init()
162 err = phy_init(roothub_entry->phy); in usb_phy_roothub_init()
170 list_for_each_entry_continue_reverse(roothub_entry, head, list) in usb_phy_roothub_init()
171 phy_exit(roothub_entry->phy); in usb_phy_roothub_init()
179 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_exit() local
188 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_exit()
189 err = phy_exit(roothub_entry->phy); in usb_phy_roothub_exit()
201 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_set_mode() local
210 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_set_mode()
211 err = phy_set_mode(roothub_entry->phy, mode); in usb_phy_roothub_set_mode()
222 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_calibrate() local
231 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_calibrate()
232 err = phy_calibrate(roothub_entry->phy); in usb_phy_roothub_calibrate()
251 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_notify_connect() local
260 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_notify_connect()
261 err = phy_notify_connect(roothub_entry->phy, port); in usb_phy_roothub_notify_connect()
280 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_notify_disconnect() local
289 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_notify_disconnect()
290 err = phy_notify_disconnect(roothub_entry->phy, port); in usb_phy_roothub_notify_disconnect()
301 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_power_on() local
310 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_power_on()
311 err = phy_power_on(roothub_entry->phy); in usb_phy_roothub_power_on()
319 list_for_each_entry_continue_reverse(roothub_entry, head, list) in usb_phy_roothub_power_on()
320 phy_power_off(roothub_entry->phy); in usb_phy_roothub_power_on()
328 struct usb_phy_roothub *roothub_entry; in usb_phy_roothub_power_off() local
333 list_for_each_entry_reverse(roothub_entry, &phy_roothub->list, list) in usb_phy_roothub_power_off()
334 phy_power_off(roothub_entry->phy); in usb_phy_roothub_power_off()