Lines Matching refs:test_mode
590 u16 test_mode, u16 wIndex) in xhci_port_set_test_mode() argument
598 temp |= test_mode << PORT_TEST_MODE_SHIFT; in xhci_port_set_test_mode()
600 xhci->test_mode = test_mode; in xhci_port_set_test_mode()
601 if (test_mode == TEST_FORCE_EN) in xhci_port_set_test_mode()
606 u16 test_mode, u16 wIndex, unsigned long *flags) in xhci_enter_test_mode() argument
641 test_mode, wIndex + 1); in xhci_enter_test_mode()
642 xhci_port_set_test_mode(xhci, test_mode, wIndex); in xhci_enter_test_mode()
650 if (!xhci->test_mode) { in xhci_exit_test_mode()
654 if (xhci->test_mode == TEST_FORCE_EN && in xhci_exit_test_mode()
661 xhci->test_mode = 0; in xhci_exit_test_mode()
1024 u16 test_mode = 0; in xhci_hub_control() local
1105 test_mode = (wIndex & 0xff00) >> 8; in xhci_hub_control()
1305 if (test_mode > TEST_FORCE_EN || test_mode < TEST_J) in xhci_hub_control()
1307 retval = xhci_enter_test_mode(xhci, test_mode, wIndex, in xhci_hub_control()