Lines Matching refs:wIndex
612 u16 wIndex, __le32 __iomem *addr, u32 port_status) in xhci_clear_port_change_bit() argument
659 wIndex + 1, port_change_bit, port_status); in xhci_clear_port_change_bit()
710 u16 test_mode, u16 wIndex) in xhci_port_set_test_mode() argument
716 port = xhci->usb2_rhub.ports[wIndex]; in xhci_port_set_test_mode()
726 u16 test_mode, u16 wIndex, unsigned long *flags) in xhci_enter_test_mode() argument
763 test_mode, wIndex + 1); in xhci_enter_test_mode()
764 xhci_port_set_test_mode(xhci, test_mode, wIndex); in xhci_enter_test_mode()
906 u16 wIndex) in xhci_del_comp_mod_timer() argument
915 xhci->port_status_u0 |= 1 << wIndex; in xhci_del_comp_mod_timer()
934 u32 wIndex; in xhci_handle_usb2_port_link_resume() local
939 wIndex = port->hcd_portnum; in xhci_handle_usb2_port_link_resume()
947 if (test_bit(wIndex, &bus_state->resuming_ports)) { in xhci_handle_usb2_port_link_resume()
961 set_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()
964 usb_hcd_start_port_resume(&hcd->self, wIndex); in xhci_handle_usb2_port_link_resume()
971 hcd->self.busnum, wIndex + 1); in xhci_handle_usb2_port_link_resume()
974 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()
990 wIndex + 1); in xhci_handle_usb2_port_link_resume()
1000 hcd->self.busnum, wIndex + 1, port_status); in xhci_handle_usb2_port_link_resume()
1009 usb_hcd_end_port_resume(&hcd->self, wIndex); in xhci_handle_usb2_port_link_resume()
1010 bus_state->port_c_suspend |= 1 << wIndex; in xhci_handle_usb2_port_link_resume()
1011 bus_state->suspended_ports &= ~(1 << wIndex); in xhci_handle_usb2_port_link_resume()
1149 u16 wIndex, u32 raw_port_status, in xhci_get_port_status() argument
1159 port = rhub->ports[wIndex]; in xhci_get_port_status()
1190 if (bus_state->port_c_suspend & (1 << wIndex)) in xhci_get_port_status()
1197 u16 wIndex, char *buf, u16 wLength) in xhci_hub_control() argument
1219 portnum1 = wIndex & 0xff; in xhci_hub_control()
1256 wIndex--; in xhci_hub_control()
1264 trace_xhci_get_port_status(wIndex, temp); in xhci_hub_control()
1265 status = xhci_get_port_status(hcd, bus_state, wIndex, temp, in xhci_hub_control()
1290 link_state = (wIndex & 0xff00) >> 3; in xhci_hub_control()
1292 wake_mask = wIndex & 0xff00; in xhci_hub_control()
1294 test_mode = (wIndex & 0xff00) >> 8; in xhci_hub_control()
1296 timeout = (wIndex & 0xff00) >> 8; in xhci_hub_control()
1298 wIndex &= 0xff; in xhci_hub_control()
1303 wIndex--; in xhci_hub_control()
1352 bus_state->suspended_ports |= 1 << wIndex; in xhci_hub_control()
1485 bus_state->suspended_ports |= 1 << wIndex; in xhci_hub_control()
1539 retval = xhci_enter_test_mode(xhci, test_mode, wIndex, in xhci_hub_control()
1554 wIndex--; in xhci_hub_control()
1574 set_bit(wIndex, &bus_state->resuming_ports); in xhci_hub_control()
1575 usb_hcd_start_port_resume(&hcd->self, wIndex); in xhci_hub_control()
1581 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_hub_control()
1582 usb_hcd_end_port_resume(&hcd->self, wIndex); in xhci_hub_control()
1584 bus_state->port_c_suspend |= 1 << wIndex; in xhci_hub_control()
1595 bus_state->port_c_suspend &= ~(1 << wIndex); in xhci_hub_control()
1604 xhci_clear_port_change_bit(xhci, wValue, wIndex, in xhci_hub_control()