Lines Matching refs:ports
54 struct usb_hub_descriptor *desc, int ports) in xhci_common_hub_descriptor() argument
61 desc->bNbrPorts = ports; in xhci_common_hub_descriptor()
80 int ports; in xhci_usb2_hub_descriptor() local
86 ports = xhci->num_usb2_ports; in xhci_usb2_hub_descriptor()
88 xhci_common_hub_descriptor(xhci, desc, ports); in xhci_usb2_hub_descriptor()
90 temp = 1 + (ports / 8); in xhci_usb2_hub_descriptor()
97 for (i = 0; i < ports; i++) { in xhci_usb2_hub_descriptor()
124 for (i = 0; i < (ports + 1 + 7) / 8; i++) in xhci_usb2_hub_descriptor()
133 int ports; in xhci_usb3_hub_descriptor() local
138 ports = xhci->num_usb3_ports; in xhci_usb3_hub_descriptor()
139 xhci_common_hub_descriptor(xhci, desc, ports); in xhci_usb3_hub_descriptor()
151 for (i = 0; i < ports; i++) { in xhci_usb3_hub_descriptor()