Lines Matching refs:test_mode
690 u16 test_mode, u16 wIndex) in xhci_port_set_test_mode() argument
698 temp |= test_mode << PORT_TEST_MODE_SHIFT; in xhci_port_set_test_mode()
700 xhci->test_mode = test_mode; in xhci_port_set_test_mode()
701 if (test_mode == USB_TEST_FORCE_ENABLE) in xhci_port_set_test_mode()
706 u16 test_mode, u16 wIndex, unsigned long *flags) in xhci_enter_test_mode() argument
742 test_mode, wIndex + 1); in xhci_enter_test_mode()
743 xhci_port_set_test_mode(xhci, test_mode, wIndex); in xhci_enter_test_mode()
751 if (!xhci->test_mode) { in xhci_exit_test_mode()
755 if (xhci->test_mode == USB_TEST_FORCE_ENABLE && in xhci_exit_test_mode()
762 xhci->test_mode = 0; in xhci_exit_test_mode()
1189 u16 test_mode = 0; in xhci_hub_control() local
1269 test_mode = (wIndex & 0xff00) >> 8; in xhci_hub_control()
1514 if (test_mode > USB_TEST_FORCE_ENABLE || in xhci_hub_control()
1515 test_mode < USB_TEST_J) in xhci_hub_control()
1517 retval = xhci_enter_test_mode(xhci, test_mode, wIndex, in xhci_hub_control()