Lines Matching +full:num +full:- +full:ports
1 /* SPDX-License-Identifier: GPL-2.0 */
37 unsigned long change_bits[1]; /* ports with logical connect
39 unsigned long removed_bits[1]; /* ports with a "removed"
41 unsigned long wakeup_bits[1]; /* ports that have signaled
43 unsigned long power_bits[1]; /* ports that are powered */
44 unsigned long child_usage_bits[1]; /* ports powered on for
46 unsigned long warm_reset_bits[1]; /* ports requesting warm
48 #if USB_MAXCHILDREN > 31 /* 8*sizeof(unsigned long) - 1 */
75 struct usb_port **ports; member
79 * struct usb port - kernel's representation of a usb port
83 * @peer: related usb2 and usb3 ports (share the same connector)
88 * @portnum: port index num based one
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()