Lines Matching +full:usb +full:- +full:a +full:- +full:connector
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * usb hub driver head file
14 #include <linux/usb.h>
15 #include <linux/usb/ch11.h>
16 #include <linux/usb/hcd.h>
17 #include "usb.h"
39 unsigned long removed_bits[1]; /* ports with a "removed"
48 #if USB_MAXCHILDREN > 31 /* 8*sizeof(unsigned long) - 1 */
79 * struct usb port - kernel's representation of a usb port
80 * @child: usb device attached to the port
83 * @peer: related usb2 and usb3 ports (share the same connector)
86 * @location: opaque representation of platform connector location
89 * @is_superspeed cache super-speed status
131 hcs = hub->descriptor->wHubCharacteristics; in hub_is_port_power_switchable()
137 return hdev->descriptor.bDeviceProtocol == USB_HUB_PR_SS; in hub_is_superspeed()
142 return (hdev->descriptor.bDeviceProtocol == USB_HUB_PR_SS && in hub_is_superspeedplus()
143 le16_to_cpu(hdev->descriptor.bcdUSB) >= 0x0310 && in hub_is_superspeedplus()
144 hdev->bos->ssp_cap); in hub_is_superspeedplus()
149 unsigned delay = hub->descriptor->bPwrOn2PwrGood * 2; in hub_power_on_good_delay()