Lines Matching refs:test_mode
594 u16 test_mode, u16 wIndex) in xhci_port_set_test_mode() argument
602 temp |= test_mode << PORT_TEST_MODE_SHIFT; in xhci_port_set_test_mode()
604 xhci->test_mode = test_mode; in xhci_port_set_test_mode()
605 if (test_mode == TEST_FORCE_EN) in xhci_port_set_test_mode()
610 u16 test_mode, u16 wIndex, unsigned long *flags) in xhci_enter_test_mode() argument
645 test_mode, wIndex + 1); in xhci_enter_test_mode()
646 xhci_port_set_test_mode(xhci, test_mode, wIndex); in xhci_enter_test_mode()
654 if (!xhci->test_mode) { in xhci_exit_test_mode()
658 if (xhci->test_mode == TEST_FORCE_EN && in xhci_exit_test_mode()
665 xhci->test_mode = 0; in xhci_exit_test_mode()
1081 u16 test_mode = 0; in xhci_hub_control() local
1161 test_mode = (wIndex & 0xff00) >> 8; in xhci_hub_control()
1362 if (test_mode > TEST_FORCE_EN || test_mode < TEST_J) in xhci_hub_control()
1364 retval = xhci_enter_test_mode(xhci, test_mode, wIndex, in xhci_hub_control()