Lines Matching defs:ports
30 int ports;
33 ports = HCS_MAX_PORTS(xhci->hcs_params1);
40 desc->bNbrPorts = ports;
41 temp = 1 + (ports / 8);
58 /* Bits 6:5 - no TTs in root ports */
97 * change bits: connect, PED, warm port reset changed (reserved zero for USB 2.0 ports),
129 /* Don't allow the USB core to disable SuperSpeed ports. */
181 int ports;
187 ports = HCS_MAX_PORTS(xhci->hcs_params1);
199 if (!wIndex || wIndex > ports)
231 if (!wIndex || wIndex > ports)
240 * Turn on ports, even if there isn't per-port switching.
263 if (!wIndex || wIndex > ports)
308 int ports;
311 ports = HCS_MAX_PORTS(xhci->hcs_params1);
314 retval = (ports + 8) / 8;
320 for (i = 0; i < ports; i++) {