Lines Matching refs:hub
36 struct usb_hub_status hub; member
112 extern int usb_hub_create_port_device(struct usb_hub *hub,
114 extern void usb_hub_remove_port_device(struct usb_hub *hub,
116 extern int usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub,
119 extern int hub_port_debounce(struct usb_hub *hub, int port1,
124 static inline bool hub_is_port_power_switchable(struct usb_hub *hub) in hub_is_port_power_switchable() argument
128 if (!hub) in hub_is_port_power_switchable()
130 hcs = hub->descriptor->wHubCharacteristics; in hub_is_port_power_switchable()
139 static inline unsigned hub_power_on_good_delay(struct usb_hub *hub) in hub_power_on_good_delay() argument
141 unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2; in hub_power_on_good_delay()
147 static inline int hub_port_debounce_be_connected(struct usb_hub *hub, in hub_port_debounce_be_connected() argument
150 return hub_port_debounce(hub, port1, true); in hub_port_debounce_be_connected()
153 static inline int hub_port_debounce_be_stable(struct usb_hub *hub, in hub_port_debounce_be_stable() argument
156 return hub_port_debounce(hub, port1, false); in hub_port_debounce_be_stable()