Lines Matching refs:ports
155 struct usb_hub_descriptor *desc, int ports) in xhci_common_hub_descriptor() argument
162 desc->bNbrPorts = ports; in xhci_common_hub_descriptor()
181 int ports; in xhci_usb2_hub_descriptor() local
187 ports = xhci->num_usb2_ports; in xhci_usb2_hub_descriptor()
189 xhci_common_hub_descriptor(xhci, desc, ports); in xhci_usb2_hub_descriptor()
191 temp = 1 + (ports / 8); in xhci_usb2_hub_descriptor()
198 for (i = 0; i < ports; i++) { in xhci_usb2_hub_descriptor()
225 for (i = 0; i < (ports + 1 + 7) / 8; i++) in xhci_usb2_hub_descriptor()
234 int ports; in xhci_usb3_hub_descriptor() local
239 ports = xhci->num_usb3_ports; in xhci_usb3_hub_descriptor()
240 xhci_common_hub_descriptor(xhci, desc, ports); in xhci_usb3_hub_descriptor()
252 for (i = 0; i < ports; i++) { in xhci_usb3_hub_descriptor()