Lines Matching refs:test_mode
605 u16 test_mode, u16 wIndex) in xhci_port_set_test_mode() argument
613 temp |= test_mode << PORT_TEST_MODE_SHIFT; in xhci_port_set_test_mode()
615 xhci->test_mode = test_mode; in xhci_port_set_test_mode()
616 if (test_mode == USB_TEST_FORCE_ENABLE) in xhci_port_set_test_mode()
621 u16 test_mode, u16 wIndex, unsigned long *flags) in xhci_enter_test_mode() argument
658 test_mode, wIndex + 1); in xhci_enter_test_mode()
659 xhci_port_set_test_mode(xhci, test_mode, wIndex); in xhci_enter_test_mode()
667 if (!xhci->test_mode) { in xhci_exit_test_mode()
671 if (xhci->test_mode == USB_TEST_FORCE_ENABLE && in xhci_exit_test_mode()
678 xhci->test_mode = 0; in xhci_exit_test_mode()
1105 u16 test_mode = 0; in xhci_hub_control() local
1185 test_mode = (wIndex & 0xff00) >> 8; in xhci_hub_control()
1430 if (test_mode > USB_TEST_FORCE_ENABLE || in xhci_hub_control()
1431 test_mode < USB_TEST_J) in xhci_hub_control()
1433 retval = xhci_enter_test_mode(xhci, test_mode, wIndex, in xhci_hub_control()