Home
last modified time | relevance | path

Searched refs:test_mode (Results 1 – 25 of 29) sorted by relevance

12

/drivers/usb/host/
Dxhci-hub.c610 u16 test_mode, u16 wIndex) in xhci_port_set_test_mode() argument
618 temp |= test_mode << PORT_TEST_MODE_SHIFT; in xhci_port_set_test_mode()
620 xhci->test_mode = test_mode; in xhci_port_set_test_mode()
621 if (test_mode == USB_TEST_FORCE_ENABLE) in xhci_port_set_test_mode()
626 u16 test_mode, u16 wIndex, unsigned long *flags) in xhci_enter_test_mode() argument
663 test_mode, wIndex + 1); in xhci_enter_test_mode()
664 xhci_port_set_test_mode(xhci, test_mode, wIndex); in xhci_enter_test_mode()
672 if (!xhci->test_mode) { in xhci_exit_test_mode()
676 if (xhci->test_mode == USB_TEST_FORCE_ENABLE && in xhci_exit_test_mode()
683 xhci->test_mode = 0; in xhci_exit_test_mode()
[all …]
/drivers/usb/gadget/udc/
Dmv_udc.h201 unsigned int test_mode; member
244 unsigned int test_mode; member
Dmv_udc_core.c1430 dev_info(&udc->dev->dev, "switch to test mode %d\n", req->test_mode); in prime_status_complete()
1433 if (req->test_mode) { in prime_status_complete()
1434 mv_set_ptc(udc, req->test_mode); in prime_status_complete()
1435 req->test_mode = 0; in prime_status_complete()
1463 if (udc->test_mode) { in udc_prime_status()
1465 req->test_mode = udc->test_mode; in udc_prime_status()
1466 udc->test_mode = 0; in udc_prime_status()
1505 udc->test_mode = index; in mv_udc_testmode()
Dgr_udc.h208 u8 test_mode; member
Datmel_usba_udc.h351 u16 test_mode; member
Datmel_usba_udc.c1212 int test_mode; in do_test_mode() local
1214 test_mode = udc->test_mode; in do_test_mode()
1219 switch (test_mode) { in do_test_mode()
1272 dev_err(dev, "Invalid test mode: 0x%04x\n", test_mode); in do_test_mode()
1373 udc->test_mode = le16_to_cpu(crq->wIndex); in handle_ep0_setup()
Drenesas_usb3.c357 u16 test_mode; member
514 val |= USB20_CON_B2_TSTMOD(usb3->test_mode); in usb3_set_test_mode()
516 if (!usb3->test_mode) in usb3_set_test_mode()
629 usb3->test_mode = 0; in usb3_reset_epc()
941 if (usb3->test_mode) in usb3_irq_epc_pipe0_status_end()
1644 usb3->test_mode = le16_to_cpu(ctrl->wIndex) >> 8; in usb3_std_req_feature_device()
Dgr_udc.c197 seq_printf(seq, "test_mode = %d\n", dev->test_mode); in gr_dfs_show()
803 control |= GR_CONTROL_TM | (dev->test_mode << GR_CONTROL_TS_POS); in gr_ep0_testmode_complete()
918 dev->test_mode = test; in gr_device_request()
Dudc-xilinx.c1870 u8 test_mode = udc->setup.wIndex >> 8; in xudc_ep0_in() local
1890 test_mode); in xudc_ep0_in()
/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c931 switch (bdc->test_mode) { in bdc_set_test_mode()
937 usb2_pm |= bdc->test_mode << 28; in bdc_set_test_mode()
1169 bdc->test_mode = wIndex >> 8; in ep0_handle_feature_dev()
1619 if (bdc->test_mode) { in ep0_xsf_complete()
1622 dev_dbg(bdc->dev, "test_mode:%d\n", bdc->test_mode); in ep0_xsf_complete()
1628 bdc->test_mode = 0; in ep0_xsf_complete()
Dbdc.h442 u8 test_mode; member
Dbdc_udc.c153 bdc->test_mode = false; in bdc_uspc_disconnected()
/drivers/usb/dwc2/
Ddrd.c86 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
Dcore.h1199 u8 test_mode; member
Dgadget.c1807 hsotg->test_mode = wIndex >> 8; in dwc2_hsotg_process_req_feature()
2704 if (hsotg->test_mode) { in dwc2_hsotg_complete_in()
2707 ret = dwc2_hsotg_set_test_mode(hsotg, hsotg->test_mode); in dwc2_hsotg_complete_in()
2710 hsotg->test_mode); in dwc2_hsotg_complete_in()
3319 hsotg->test_mode = 0; in dwc2_hsotg_disconnect()
/drivers/usb/musb/
Dmusb_gadget_ep0.c365 musb->test_mode = true; in service_zero_data_request()
729 else if (musb->test_mode) { in musb_g_ep0_irq()
Dmusb_core.h399 unsigned test_mode:1; member
/drivers/usb/mtu3/
Dmtu3.h355 unsigned test_mode:1; member
Dmtu3_gadget_ep0.c302 mtu->test_mode = true; in handle_test_mode()
671 if (mtu->test_mode) { in ep0_handle_setup()
Dmtu3_gadget.c608 mtu->test_mode = false; in mtu3_state_reset()
/drivers/usb/chipidea/
Dci.h243 u8 test_mode; member
Dudc.c1048 if (ci->test_mode) in isr_setup_status_complete()
1049 hw_port_test_set(ci, ci->test_mode); in isr_setup_status_complete()
1241 ci->test_mode = tmode; in isr_setup_packet_handler()
/drivers/usb/dwc3/
Dep0.c457 dwc->test_mode = true; in dwc3_ep0_handle_test()
928 if (dwc->test_mode) { in dwc3_ep0_complete_status()
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmt7615.h638 int mt7615_mcu_set_test_param(struct mt7615_dev *dev, u8 param, bool test_mode,
/drivers/staging/emxx_udc/
Demxx_udc.c135 u32 test_mode; in _nbu2ss_ep0_complete() local
153 test_mode = (u32)(wIndex >> 8); in _nbu2ss_ep0_complete()
154 _nbu2ss_set_test_mode(udc, test_mode); in _nbu2ss_ep0_complete()

12