Lines Matching refs:usb_hub
133 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state);
134 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1,
137 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed()
152 struct usb_hub *usb_hub_to_struct_hub(struct usb_device *hdev) in usb_hub_to_struct_hub()
212 struct usb_hub *hub, in usb_set_lpm_mel()
259 struct usb_hub *hub, in usb_set_lpm_pel()
335 struct usb_hub *hub; in usb_set_lpm_parameters()
487 static void set_port_led(struct usb_hub *hub, int port1, int selector) in set_port_led()
502 struct usb_hub *hub = in led_work()
503 container_of(work, struct usb_hub, leds.work); in led_work()
610 static int hub_ext_port_status(struct usb_hub *hub, int port1, int type, in hub_ext_port_status()
639 int usb_hub_port_status(struct usb_hub *hub, int port1, in usb_hub_port_status()
646 static void hub_resubmit_irq_urb(struct usb_hub *hub) in hub_resubmit_irq_urb()
670 struct usb_hub *hub = from_timer(hub, t, irq_urb_retry); in hub_retry_irq_urb()
676 static void kick_hub_wq(struct usb_hub *hub) in kick_hub_wq()
705 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_kick_hub_wq()
722 struct usb_hub *hub; in usb_wakeup_notification()
743 struct usb_hub *hub = urb->context; in hub_irq()
807 struct usb_hub *hub = in hub_tt_work()
808 container_of(work, struct usb_hub, tt.clear_work); in hub_tt_work()
854 int usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, in usb_hub_set_port_power()
930 static void hub_power_on(struct usb_hub *hub, bool do_delay) in hub_power_on()
955 static int hub_hub_status(struct usb_hub *hub, in hub_hub_status()
975 static int hub_set_port_link_state(struct usb_hub *hub, int port1, in hub_set_port_link_state()
988 static void hub_port_logical_disconnect(struct usb_hub *hub, int port1) in hub_port_logical_disconnect()
1020 struct usb_hub *hub; in usb_remove_device()
1047 static void hub_activate(struct usb_hub *hub, enum hub_activation_type type) in hub_activate()
1322 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); in hub_init_func2()
1329 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); in hub_init_func3()
1338 static void hub_quiesce(struct usb_hub *hub, enum hub_quiescing_type type) in hub_quiesce()
1366 static void hub_pm_barrier_for_all_ports(struct usb_hub *hub) in hub_pm_barrier_for_all_ports()
1377 struct usb_hub *hub = usb_get_intfdata(intf); in hub_pre_reset()
1388 struct usb_hub *hub = usb_get_intfdata(intf); in hub_post_reset()
1396 static int hub_configure(struct usb_hub *hub, in hub_configure()
1725 struct usb_hub *hub = container_of(kref, struct usb_hub, kref); in hub_release()
1732 void hub_get(struct usb_hub *hub) in hub_get()
1737 void hub_put(struct usb_hub *hub) in hub_put()
1746 struct usb_hub *hub = usb_get_intfdata(intf); in hub_disconnect()
1816 struct usb_hub *hub; in hub_probe()
1950 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in hub_ioctl()
1988 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in find_port_owner()
2037 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_hub_release_all_ports()
2050 struct usb_hub *hub; in usb_device_is_owned()
2060 struct usb_hub *hub; in update_port_device_state()
2083 struct usb_hub *hub = usb_hub_to_struct_hub(udev); in recursively_mark_NOTATTACHED()
2219 struct usb_hub *hub = usb_hub_to_struct_hub(udev); in hub_disconnect_children()
2250 struct usb_hub *hub = NULL; in usb_disconnect()
2494 struct usb_hub *hub; in set_usb_port_removable()
2629 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_new_device()
2859 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1, in hub_port_warm_reset_required()
2875 static int hub_port_wait_reset(struct usb_hub *hub, int port1, in hub_port_wait_reset()
2972 static int hub_port_reset(struct usb_hub *hub, int port1, in hub_port_reset()
3131 static bool hub_port_stop_enumerate(struct usb_hub *hub, int port1, int retries) in hub_port_stop_enumerate()
3156 int usb_port_is_power_on(struct usb_hub *hub, unsigned int portstatus) in usb_port_is_power_on()
3188 static int port_is_suspended(struct usb_hub *hub, unsigned portstatus) in port_is_suspended()
3208 struct usb_hub *hub, int port1, in check_port_resume_type()
3368 struct usb_hub *hub = usb_hub_to_struct_hub(udev); in usb_wakeup_enabled_descendants()
3425 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_port_suspend()
3661 struct usb_hub *hub, int port1, in wait_for_connected()
3717 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_port_resume()
3822 static int hub_handle_remote_wakeup(struct usb_hub *hub, unsigned int port, in hub_handle_remote_wakeup()
3865 static int check_ports_changed(struct usb_hub *hub) in check_ports_changed()
3882 struct usb_hub *hub = usb_get_intfdata(intf); in hub_suspend()
3935 static void report_wakeup_requests(struct usb_hub *hub) in report_wakeup_requests()
3970 struct usb_hub *hub = usb_get_intfdata(intf); in hub_resume()
3987 struct usb_hub *hub = usb_get_intfdata(intf); in hub_reset_resume()
4439 struct usb_hub *hub; in usb_enable_lpm()
4489 static void hub_usb3_port_prepare_disable(struct usb_hub *hub, in hub_usb3_port_prepare_disable()
4515 static inline void hub_usb3_port_prepare_disable(struct usb_hub *hub, in hub_usb3_port_prepare_disable()
4545 static int hub_handle_remote_wakeup(struct usb_hub *hub, unsigned int port, in hub_handle_remote_wakeup()
4563 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state) in hub_port_disable()
4595 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_port_disable()
4615 int hub_port_debounce(struct usb_hub *hub, int port1, bool must_be_connected) in hub_port_debounce()
4674 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in hub_set_address()
4715 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in hub_set_initial_usb2_lpm_policy()
4824 hub_port_init(struct usb_hub *hub, struct usb_device *udev, int port1, in hub_port_init()
5153 check_highspeed(struct usb_hub *hub, struct usb_device *udev, int port1) in check_highspeed()
5181 hub_power_remaining(struct usb_hub *hub) in hub_power_remaining()
5312 static void hub_port_connect(struct usb_hub *hub, int port1, u16 portstatus, in hub_port_connect()
5559 static void hub_port_connect_change(struct usb_hub *hub, int port1, in hub_port_connect_change()
5668 static void port_event(struct usb_hub *hub, int port1) in port_event()
5796 struct usb_hub *hub; in hub_event()
5802 hub = container_of(work, struct usb_hub, events); in hub_event()
6061 struct usb_hub *parent_hub; in usb_reset_and_verify_device()
6229 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_reset_device()
6368 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_hub_find_child()
6379 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_hub_adjust_deviceremovable()
6433 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_get_hub_port_acpi_handle()