Lines Matching defs:wIndex

612 		u16 wIndex, __le32 __iomem *addr, u32 port_status)
659 wIndex + 1, port_change_bit, port_status);
710 u16 test_mode, u16 wIndex)
716 port = xhci->usb2_rhub.ports[wIndex];
726 u16 test_mode, u16 wIndex, unsigned long *flags)
761 /* Port is selected by wIndex. port_id = wIndex + 1 */
763 test_mode, wIndex + 1);
764 xhci_port_set_test_mode(xhci, test_mode, wIndex);
906 u16 wIndex)
915 xhci->port_status_u0 |= 1 << wIndex;
934 u32 wIndex;
939 wIndex = port->hcd_portnum;
947 if (test_bit(wIndex, &bus_state->resuming_ports)) {
961 set_bit(wIndex, &bus_state->resuming_ports);
964 usb_hcd_start_port_resume(&hcd->self, wIndex);
971 hcd->self.busnum, wIndex + 1);
974 clear_bit(wIndex, &bus_state->resuming_ports);
990 wIndex + 1);
1000 hcd->self.busnum, wIndex + 1, port_status);
1009 usb_hcd_end_port_resume(&hcd->self, wIndex);
1010 bus_state->port_c_suspend |= 1 << wIndex;
1011 bus_state->suspended_ports &= ~(1 << wIndex);
1150 u16 wIndex, u32 raw_port_status,
1160 port = rhub->ports[wIndex];
1191 if (bus_state->port_c_suspend & (1 << wIndex))
1198 u16 wIndex, char *buf, u16 wLength)
1220 portnum1 = wIndex & 0xff;
1257 wIndex--;
1265 trace_xhci_get_port_status(wIndex, temp);
1266 status = xhci_get_port_status(hcd, bus_state, wIndex, temp,
1291 link_state = (wIndex & 0xff00) >> 3;
1293 wake_mask = wIndex & 0xff00;
1295 test_mode = (wIndex & 0xff00) >> 8;
1296 /* The MSB of wIndex is the U1/U2 timeout */
1297 timeout = (wIndex & 0xff00) >> 8;
1299 wIndex &= 0xff;
1304 wIndex--;
1353 bus_state->suspended_ports |= 1 << wIndex;
1486 bus_state->suspended_ports |= 1 << wIndex;
1540 retval = xhci_enter_test_mode(xhci, test_mode, wIndex,
1555 wIndex--;
1575 set_bit(wIndex, &bus_state->resuming_ports);
1576 usb_hcd_start_port_resume(&hcd->self, wIndex);
1582 clear_bit(wIndex, &bus_state->resuming_ports);
1583 usb_hcd_end_port_resume(&hcd->self, wIndex);
1585 bus_state->port_c_suspend |= 1 << wIndex;
1596 bus_state->port_c_suspend &= ~(1 << wIndex);
1605 xhci_clear_port_change_bit(xhci, wValue, wIndex,