Lines Matching defs:hub
105 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed()
173 struct usb_hub *hub, in usb_set_lpm_mel()
218 struct usb_hub *hub, in usb_set_lpm_pel()
294 struct usb_hub *hub; in usb_set_lpm_parameters() local
433 static void set_port_led(struct usb_hub *hub, int port1, int selector) in set_port_led()
448 struct usb_hub *hub = in led_work() local
555 static int hub_port_status(struct usb_hub *hub, int port1, in hub_port_status()
578 static void kick_hub_wq(struct usb_hub *hub) in kick_hub_wq()
607 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_kick_hub_wq() local
624 struct usb_hub *hub; in usb_wakeup_notification() local
640 struct usb_hub *hub = urb->context; in hub_irq() local
709 struct usb_hub *hub = in hub_tt_work() local
756 int usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, in usb_hub_set_port_power()
832 static void hub_power_on(struct usb_hub *hub, bool do_delay) in hub_power_on()
857 static int hub_hub_status(struct usb_hub *hub, in hub_hub_status()
877 static int hub_set_port_link_state(struct usb_hub *hub, int port1, in hub_set_port_link_state()
895 static int hub_usb3_port_disable(struct usb_hub *hub, int port1) in hub_usb3_port_disable()
947 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state) in hub_port_disable()
972 static void hub_port_logical_disconnect(struct usb_hub *hub, int port1) in hub_port_logical_disconnect()
1004 struct usb_hub *hub; in usb_remove_device() local
1027 static void hub_activate(struct usb_hub *hub, enum hub_activation_type type) in hub_activate()
1281 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); in hub_init_func2() local
1288 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); in hub_init_func3() local
1297 static void hub_quiesce(struct usb_hub *hub, enum hub_quiescing_type type) in hub_quiesce()
1323 static void hub_pm_barrier_for_all_ports(struct usb_hub *hub) in hub_pm_barrier_for_all_ports()
1334 struct usb_hub *hub = usb_get_intfdata(intf); in hub_pre_reset() local
1345 struct usb_hub *hub = usb_get_intfdata(intf); in hub_post_reset() local
1353 static int hub_configure(struct usb_hub *hub, in hub_configure()
1662 struct usb_hub *hub = container_of(kref, struct usb_hub, kref); in hub_release() local
1673 struct usb_hub *hub = usb_get_intfdata(intf); in hub_disconnect() local
1719 struct usb_hub *hub; in hub_probe() local
1850 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in hub_ioctl() local
1888 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in find_port_owner() local
1937 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_hub_release_all_ports() local
1950 struct usb_hub *hub; in usb_device_is_owned() local
1960 struct usb_hub *hub = usb_hub_to_struct_hub(udev); in recursively_mark_NOTATTACHED() local
2116 struct usb_hub *hub = usb_hub_to_struct_hub(udev); in hub_disconnect_children() local
2146 struct usb_hub *hub = NULL; in usb_disconnect() local
2373 struct usb_hub *hub; in set_usb_port_removable() local
2507 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_new_device() local
2617 static unsigned hub_is_wusb(struct usb_hub *hub) in hub_is_wusb()
2657 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1, in hub_port_warm_reset_required()
2673 static int hub_port_wait_reset(struct usb_hub *hub, int port1, in hub_port_wait_reset()
2742 static int hub_port_reset(struct usb_hub *hub, int port1, in hub_port_reset()
2865 static int port_is_power_on(struct usb_hub *hub, unsigned portstatus) in port_is_power_on()
2897 static int port_is_suspended(struct usb_hub *hub, unsigned portstatus) in port_is_suspended()
2917 struct usb_hub *hub, int port1, in check_port_resume_type()
3068 struct usb_hub *hub = usb_hub_to_struct_hub(udev); in wakeup_enabled_descendants() local
3124 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_port_suspend() local
3346 struct usb_hub *hub, int *port1, in wait_for_ss_port_enable()
3397 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_port_resume() local
3501 static int hub_handle_remote_wakeup(struct usb_hub *hub, unsigned int port, in hub_handle_remote_wakeup()
3541 static int check_ports_changed(struct usb_hub *hub) in check_ports_changed()
3558 struct usb_hub *hub = usb_get_intfdata(intf); in hub_suspend() local
3613 struct usb_hub *hub = usb_get_intfdata(intf); in hub_resume() local
3622 struct usb_hub *hub = usb_get_intfdata(intf); in hub_reset_resume() local
4115 static int hub_handle_remote_wakeup(struct usb_hub *hub, unsigned int port, in hub_handle_remote_wakeup()
4139 int hub_port_debounce(struct usb_hub *hub, int port1, bool must_be_connected) in hub_port_debounce()
4234 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in hub_set_initial_usb2_lpm_policy() local
4275 hub_port_init(struct usb_hub *hub, struct usb_device *udev, int port1, in hub_port_init()
4587 check_highspeed(struct usb_hub *hub, struct usb_device *udev, int port1) in check_highspeed()
4615 hub_power_remaining(struct usb_hub *hub) in hub_power_remaining()
4661 static void hub_port_connect(struct usb_hub *hub, int port1, u16 portstatus, in hub_port_connect()
4881 static void hub_port_connect_change(struct usb_hub *hub, int port1, in hub_port_connect_change()
4934 static void port_event(struct usb_hub *hub, int port1) in port_event()
5043 struct usb_hub *hub; in hub_event() local
5529 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); in usb_reset_device() local
5661 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_hub_find_child() local
5672 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_hub_adjust_deviceremovable() local
5726 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); in usb_get_hub_port_acpi_handle() local