H A D | hub.c | 3 * USB hub driver. 39 #include "hub.h" 74 /* workqueue to process hub events */ 78 /* synchronize hub-port add/remove and peering operations */ 106 * hub driver's behavior. On the first initialization attempt, if the 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() argument 139 if (hub_is_superspeedplus(hub->hdev)) in portspeed() 141 if (hub_is_superspeed(hub in portspeed() 212 usb_set_lpm_mel(struct usb_device * udev,struct usb3_lpm_parameters * udev_lpm_params,unsigned int udev_exit_latency,struct usb_hub * hub,struct usb3_lpm_parameters * hub_lpm_params,unsigned int hub_exit_latency) usb_set_lpm_mel() argument 259 usb_set_lpm_pel(struct usb_device * udev,struct usb3_lpm_parameters * udev_lpm_params,unsigned int udev_exit_latency,struct usb_hub * hub,struct usb3_lpm_parameters * hub_lpm_params,unsigned int hub_exit_latency,unsigned int port_to_port_exit_latency) usb_set_lpm_pel() argument 335 struct usb_hub *hub; usb_set_lpm_parameters() local 487 set_port_led(struct usb_hub * hub,int port1,int selector) set_port_led() argument 502 struct usb_hub *hub = led_work() local 610 hub_ext_port_status(struct usb_hub * hub,int port1,int type,u16 * status,u16 * change,u32 * ext_status) hub_ext_port_status() argument 639 usb_hub_port_status(struct usb_hub * hub,int port1,u16 * status,u16 * change) usb_hub_port_status() argument 646 hub_resubmit_irq_urb(struct usb_hub * hub) hub_resubmit_irq_urb() argument 670 struct usb_hub *hub = from_timer(hub, t, irq_urb_retry); hub_retry_irq_urb() local 676 kick_hub_wq(struct usb_hub * hub) kick_hub_wq() argument 705 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_kick_hub_wq() local 722 struct usb_hub *hub; usb_wakeup_notification() local 743 struct usb_hub *hub = urb->context; hub_irq() local 807 struct usb_hub *hub = hub_tt_work() local 854 usb_hub_set_port_power(struct usb_device * hdev,struct usb_hub * hub,int port1,bool set) usb_hub_set_port_power() argument 930 hub_power_on(struct usb_hub * hub,bool do_delay) hub_power_on() argument 955 hub_hub_status(struct usb_hub * hub,u16 * status,u16 * change) hub_hub_status() argument 975 hub_set_port_link_state(struct usb_hub * hub,int port1,unsigned int link_status) hub_set_port_link_state() argument 988 hub_port_logical_disconnect(struct usb_hub * hub,int port1) hub_port_logical_disconnect() argument 1020 struct usb_hub *hub; usb_remove_device() local 1047 hub_activate(struct usb_hub * hub,enum hub_activation_type type) hub_activate() argument 1322 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); hub_init_func2() local 1329 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); hub_init_func3() local 1338 hub_quiesce(struct usb_hub * hub,enum hub_quiescing_type type) hub_quiesce() argument 1366 hub_pm_barrier_for_all_ports(struct usb_hub * hub) hub_pm_barrier_for_all_ports() argument 1377 struct usb_hub *hub = usb_get_intfdata(intf); hub_pre_reset() local 1388 struct usb_hub *hub = usb_get_intfdata(intf); hub_post_reset() local 1396 hub_configure(struct usb_hub * hub,struct usb_endpoint_descriptor * endpoint) hub_configure() argument 1725 struct usb_hub *hub = container_of(kref, struct usb_hub, kref); hub_release() local 1732 hub_get(struct usb_hub * hub) hub_get() argument 1737 hub_put(struct usb_hub * hub) hub_put() argument 1746 struct usb_hub *hub = usb_get_intfdata(intf); hub_disconnect() local 1816 struct usb_hub *hub; hub_probe() local 1950 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); hub_ioctl() local 1988 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); find_port_owner() local 2037 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_hub_release_all_ports() local 2050 struct usb_hub *hub; usb_device_is_owned() local 2060 struct usb_hub *hub; update_port_device_state() local 2083 struct usb_hub *hub = usb_hub_to_struct_hub(udev); recursively_mark_NOTATTACHED() local 2219 struct usb_hub *hub = usb_hub_to_struct_hub(udev); hub_disconnect_children() local 2250 struct usb_hub *hub = NULL; usb_disconnect() local 2494 struct usb_hub *hub; set_usb_port_removable() local 2629 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_new_device() local 2859 hub_port_warm_reset_required(struct usb_hub * hub,int port1,u16 portstatus) hub_port_warm_reset_required() argument 2875 hub_port_wait_reset(struct usb_hub * hub,int port1,struct usb_device * udev,unsigned int delay,bool warm) hub_port_wait_reset() argument 2972 hub_port_reset(struct usb_hub * hub,int port1,struct usb_device * udev,unsigned int delay,bool warm) hub_port_reset() argument 3131 hub_port_stop_enumerate(struct usb_hub * hub,int port1,int retries) hub_port_stop_enumerate() argument 3156 usb_port_is_power_on(struct usb_hub * hub,unsigned int portstatus) usb_port_is_power_on() argument 3188 port_is_suspended(struct usb_hub * hub,unsigned portstatus) port_is_suspended() argument 3208 check_port_resume_type(struct usb_device * udev,struct usb_hub * hub,int port1,int status,u16 portchange,u16 portstatus) check_port_resume_type() argument 3368 struct usb_hub *hub = usb_hub_to_struct_hub(udev); usb_wakeup_enabled_descendants() local 3425 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_port_suspend() local 3661 wait_for_connected(struct usb_device * udev,struct usb_hub * hub,int port1,u16 * portchange,u16 * portstatus) wait_for_connected() argument 3717 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_port_resume() local 3822 hub_handle_remote_wakeup(struct usb_hub * hub,unsigned int port,u16 portstatus,u16 portchange) hub_handle_remote_wakeup() argument 3865 check_ports_changed(struct usb_hub * hub) check_ports_changed() argument 3882 struct usb_hub *hub = usb_get_intfdata(intf); hub_suspend() local 3935 report_wakeup_requests(struct usb_hub * hub) report_wakeup_requests() argument 3970 struct usb_hub *hub = usb_get_intfdata(intf); hub_resume() local 3987 struct usb_hub *hub = usb_get_intfdata(intf); hub_reset_resume() local 4439 struct usb_hub *hub; usb_enable_lpm() local 4489 hub_usb3_port_prepare_disable(struct usb_hub * hub,struct usb_port * port_dev) hub_usb3_port_prepare_disable() argument 4515 hub_usb3_port_prepare_disable(struct usb_hub * hub,struct usb_port * port_dev) hub_usb3_port_prepare_disable() argument 4545 hub_handle_remote_wakeup(struct usb_hub * hub,unsigned int port,u16 portstatus,u16 portchange) hub_handle_remote_wakeup() argument 4563 hub_port_disable(struct usb_hub * hub,int port1,int set_state) hub_port_disable() argument 4595 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_port_disable() local 4615 hub_port_debounce(struct usb_hub * hub,int port1,bool must_be_connected) hub_port_debounce() argument 4674 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); hub_set_address() local 4715 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); hub_set_initial_usb2_lpm_policy() local 4824 hub_port_init(struct usb_hub * hub,struct usb_device * udev,int port1,int retry_counter,struct usb_device_descriptor * dev_descr) hub_port_init() argument 5153 check_highspeed(struct usb_hub * hub,struct usb_device * udev,int port1) check_highspeed() argument 5181 hub_power_remaining(struct usb_hub * hub) hub_power_remaining() argument 5312 hub_port_connect(struct usb_hub * hub,int port1,u16 portstatus,u16 portchange) hub_port_connect() argument 5559 hub_port_connect_change(struct usb_hub * hub,int port1,u16 portstatus,u16 portchange) hub_port_connect_change() argument 5668 port_event(struct usb_hub * hub,int port1) port_event() argument 5796 struct usb_hub *hub; hub_event() local 6229 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_reset_device() local 6368 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_hub_find_child() local 6379 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_hub_adjust_deviceremovable() local 6433 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_get_hub_port_acpi_handle() local [all...] |