Lines Matching defs:hub
145 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed()
220 struct usb_hub *hub, in usb_set_lpm_mel()
267 struct usb_hub *hub, in usb_set_lpm_pel()
343 struct usb_hub *hub; in usb_set_lpm_parameters() local
495 static void set_port_led(struct usb_hub *hub, int port1, int selector) in set_port_led()
510 struct usb_hub *hub = in led_work() local
618 static int hub_ext_port_status(struct usb_hub *hub, int port1, int type, in hub_ext_port_status()
675 int usb_hub_port_status(struct usb_hub *hub, int port1, in usb_hub_port_status()
682 static void hub_resubmit_irq_urb(struct usb_hub *hub) in hub_resubmit_irq_urb()
706 struct usb_hub *hub = timer_container_of(hub, t, irq_urb_retry); in hub_retry_irq_urb() local
712 static void kick_hub_wq(struct usb_hub *hub) in kick_hub_wq()
741 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_kick_hub_wq() local
758 struct usb_hub *hub; in usb_wakeup_notification() local
779 struct usb_hub *hub = urb->context; in hub_irq() local
843 struct usb_hub *hub = in hub_tt_work() local
890 int usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, in usb_hub_set_port_power()
966 static void hub_power_on(struct usb_hub *hub, bool do_delay) in hub_power_on()
991 static int hub_hub_status(struct usb_hub *hub, in hub_hub_status()
1011 static int hub_set_port_link_state(struct usb_hub *hub, int port1, in hub_set_port_link_state()
1024 static void hub_port_logical_disconnect(struct usb_hub *hub, int port1) in hub_port_logical_disconnect()
1056 struct usb_hub *hub; in usb_remove_device() local
1083 static void hub_activate(struct usb_hub *hub, enum hub_activation_type type) in hub_activate()
1370 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); in hub_init_func2() local
1377 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); in hub_init_func3() local
1384 struct usb_hub *hub = container_of(ws, struct usb_hub, post_resume_work.work); in hub_post_resume() local
1394 static void hub_quiesce(struct usb_hub *hub, enum hub_quiescing_type type) in hub_quiesce()
1423 static void hub_pm_barrier_for_all_ports(struct usb_hub *hub) in hub_pm_barrier_for_all_ports()
1434 struct usb_hub *hub = usb_get_intfdata(intf); in hub_pre_reset() local
1445 struct usb_hub *hub = usb_get_intfdata(intf); in hub_post_reset() local
1453 static int hub_configure(struct usb_hub *hub, in hub_configure()
1782 struct usb_hub *hub = container_of(kref, struct usb_hub, kref); in hub_release() local
1789 void hub_get(struct usb_hub *hub) in hub_get()
1794 void hub_put(struct usb_hub *hub) in hub_put()
1803 struct usb_hub *hub = usb_get_intfdata(intf); in hub_disconnect() local
1873 struct usb_hub *hub; in hub_probe() local
2019 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in hub_ioctl() local
2057 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in find_port_owner() local
2106 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_hub_release_all_ports() local
2119 struct usb_hub *hub; in usb_device_is_owned() local
2129 struct usb_hub *hub; in update_port_device_state() local
2152 struct usb_hub *hub = usb_hub_to_struct_hub(udev); in recursively_mark_NOTATTACHED() local
2287 struct usb_hub *hub = usb_hub_to_struct_hub(udev); in hub_disconnect_children() local
2318 struct usb_hub *hub = NULL; in usb_disconnect() local
2567 struct usb_hub *hub; in set_usb_port_removable() local
2702 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_new_device() local
2936 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1, in hub_port_warm_reset_required()
2952 static int hub_port_wait_reset(struct usb_hub *hub, int port1, in hub_port_wait_reset()
3049 static int hub_port_reset(struct usb_hub *hub, int port1, in hub_port_reset()
3208 static bool hub_port_stop_enumerate(struct usb_hub *hub, int port1, int retries) in hub_port_stop_enumerate()
3233 int usb_port_is_power_on(struct usb_hub *hub, unsigned int portstatus) in usb_port_is_power_on()
3265 static int port_is_suspended(struct usb_hub *hub, unsigned portstatus) in port_is_suspended()
3285 struct usb_hub *hub, int port1, in check_port_resume_type()
3445 struct usb_hub *hub = usb_hub_to_struct_hub(udev); in usb_wakeup_enabled_descendants() local
3502 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_port_suspend() local
3738 struct usb_hub *hub, int port1, in wait_for_connected()
3794 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_port_resume() local
3899 static int hub_handle_remote_wakeup(struct usb_hub *hub, unsigned int port, in hub_handle_remote_wakeup()
3942 static int check_ports_changed(struct usb_hub *hub) in check_ports_changed()
3959 struct usb_hub *hub = usb_get_intfdata(intf); in hub_suspend() local
4012 static void report_wakeup_requests(struct usb_hub *hub) in report_wakeup_requests()
4047 struct usb_hub *hub = usb_get_intfdata(intf); in hub_resume() local
4064 struct usb_hub *hub = usb_get_intfdata(intf); in hub_reset_resume() local
4505 struct usb_hub *hub; in usb_enable_lpm() local
4569 static void hub_usb3_port_prepare_disable(struct usb_hub *hub, in hub_usb3_port_prepare_disable()
4595 static inline void hub_usb3_port_prepare_disable(struct usb_hub *hub, in hub_usb3_port_prepare_disable()
4625 static int hub_handle_remote_wakeup(struct usb_hub *hub, unsigned int port, in hub_handle_remote_wakeup()
4643 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state) in hub_port_disable()
4675 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_port_disable() local
4695 int hub_port_debounce(struct usb_hub *hub, int port1, bool must_be_connected) in hub_port_debounce()
4751 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in hub_set_address() local
4792 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in hub_set_initial_usb2_lpm_policy() local
4901 hub_port_init(struct usb_hub *hub, struct usb_device *udev, int port1, in hub_port_init()
5230 check_highspeed(struct usb_hub *hub, struct usb_device *udev, int port1) in check_highspeed()
5258 hub_power_remaining(struct usb_hub *hub) in hub_power_remaining()
5389 static void hub_port_connect(struct usb_hub *hub, int port1, u16 portstatus, in hub_port_connect()
5636 static void hub_port_connect_change(struct usb_hub *hub, int port1, in hub_port_connect_change()
5745 static void port_event(struct usb_hub *hub, int port1) in port_event()
5877 struct usb_hub *hub; in hub_event() local
6122 struct usb_hub *hub = usb_hub_to_struct_hub(udev); in hub_hc_release_resources() local
6355 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_reset_device() local
6494 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_hub_find_child() local
6505 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_hub_adjust_deviceremovable() local
6559 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_get_hub_port_acpi_handle() local