Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/testing/selftests/ftrace/test.d/preemptirq/ !
Dirqsoff_tracer.tc36 modprobe $MOD test_mode=preempt delay=500000 || fail
38 modprobe $MOD test_mode=preempt delay=500000 || fail
40 modprobe $MOD test_mode=preempt delay=500000 || fail
59 modprobe $MOD test_mode=irq delay=500000 || fail
61 modprobe $MOD test_mode=irq delay=500000 || fail
63 modprobe $MOD test_mode=irq delay=500000 || fail
/linux-6.6.21/kernel/trace/ !
Dpreemptirq_delay_test.c22 static char test_mode[12] = "irq"; variable
27 module_param_string(test_mode, test_mode, 12, 0444);
31 MODULE_PARM_DESC(test_mode, "Mode of the test such as preempt, irq, or alternate (default irq)");
70 if (!strcmp(test_mode, "irq")) in execute_preemptirqtest()
72 else if (!strcmp(test_mode, "preempt")) in execute_preemptirqtest()
74 else if (!strcmp(test_mode, "alternate")) { in execute_preemptirqtest()
154 snprintf(task_name, sizeof(task_name), "%s_test", test_mode); in preemptirq_run_test()
/linux-6.6.21/tools/testing/selftests/clone3/ !
Dclone3.c23 enum test_mode { enum
32 static int call_clone3(uint64_t flags, size_t size, enum test_mode test_mode) in call_clone3() argument
54 switch (test_mode) { in call_clone3()
107 enum test_mode test_mode) in test_clone3() argument
114 ret = call_clone3(flags, size, test_mode); in test_clone3()
/linux-6.6.21/tools/testing/vsock/ !
Dutil.h9 enum test_mode { enum
17 enum test_mode mode;
/linux-6.6.21/tools/testing/selftests/bpf/ !
Dxskxceiver.h62 enum test_mode { enum
156 enum test_mode mode;
190 enum test_mode mode;
/linux-6.6.21/drivers/usb/host/ !
Dxhci-hub.c710 u16 test_mode, u16 wIndex) in xhci_port_set_test_mode() argument
718 temp |= test_mode << PORT_TEST_MODE_SHIFT; in xhci_port_set_test_mode()
720 xhci->test_mode = test_mode; in xhci_port_set_test_mode()
721 if (test_mode == USB_TEST_FORCE_ENABLE) in xhci_port_set_test_mode()
726 u16 test_mode, u16 wIndex, unsigned long *flags) in xhci_enter_test_mode() argument
763 test_mode, wIndex + 1); in xhci_enter_test_mode()
764 xhci_port_set_test_mode(xhci, test_mode, wIndex); in xhci_enter_test_mode()
772 if (!xhci->test_mode) { in xhci_exit_test_mode()
776 if (xhci->test_mode == USB_TEST_FORCE_ENABLE && in xhci_exit_test_mode()
783 xhci->test_mode = 0; in xhci_exit_test_mode()
[all …]
/linux-6.6.21/drivers/usb/gadget/udc/ !
Dmv_udc.h201 unsigned int test_mode; member
244 unsigned int test_mode; member
Dmv_udc_core.c1431 dev_info(&udc->dev->dev, "switch to test mode %d\n", req->test_mode); in prime_status_complete()
1434 if (req->test_mode) { in prime_status_complete()
1435 mv_set_ptc(udc, req->test_mode); in prime_status_complete()
1436 req->test_mode = 0; in prime_status_complete()
1464 if (udc->test_mode) { in udc_prime_status()
1466 req->test_mode = udc->test_mode; in udc_prime_status()
1467 udc->test_mode = 0; in udc_prime_status()
1506 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.c1215 int test_mode; in do_test_mode() local
1217 test_mode = udc->test_mode; in do_test_mode()
1222 switch (test_mode) { in do_test_mode()
1275 dev_err(dev, "Invalid test mode: 0x%04x\n", test_mode); in do_test_mode()
1376 udc->test_mode = le16_to_cpu(crq->wIndex); in handle_ep0_setup()
Drenesas_usb3.c364 u16 test_mode; member
562 val |= USB20_CON_B2_TSTMOD(usb3->test_mode); in usb3_set_test_mode()
564 if (!usb3->test_mode) in usb3_set_test_mode()
677 usb3->test_mode = 0; in usb3_reset_epc()
999 if (usb3->test_mode) in usb3_irq_epc_pipe0_status_end()
1702 usb3->test_mode = le16_to_cpu(ctrl->wIndex) >> 8; in usb3_std_req_feature_device()
/linux-6.6.21/drivers/usb/cdns3/ !
Dcdnsp-ep0.c198 temp |= PORT_TEST_MODE(pdev->test_mode); in cdnsp_enter_test_mode()
248 pdev->test_mode = tmode; in cdnsp_ep0_handle_feature_device()
/linux-6.6.21/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
/linux-6.6.21/drivers/usb/dwc2/ !
Ddrd.c100 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
/linux-6.6.21/drivers/net/phy/mscc/ !
Dmscc_serdes.c272 const u32 test_mode, in vsc85xx_sd6g_dft_cfg0_wr() argument
279 reg_val = (prbs_sel << 20) | (test_mode << 16) | (rx_dft_ena << 2); in vsc85xx_sd6g_dft_cfg0_wr()
/linux-6.6.21/drivers/accel/ivpu/ !
Divpu_drv.c43 module_param_named_unsafe(test_mode, ivpu_test_mode, int, 0644);
44 MODULE_PARM_DESC(test_mode, "Test mode: 0 - normal operation, 1 - fw unit test, 2 - null hw");
/linux-6.6.21/drivers/usb/mtu3/ !
Dmtu3.h354 unsigned test_mode:1; member
Dmtu3_gadget_ep0.c304 mtu->test_mode = true; in handle_test_mode()
671 if (mtu->test_mode) { in ep0_handle_setup()
/linux-6.6.21/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
/linux-6.6.21/drivers/usb/chipidea/ !
Dci.h249 u8 test_mode; member
/linux-6.6.21/drivers/mmc/host/ !
Drtsx_pci_sdmmc.c911 u8 test_mode; in sd_power_on() local
955 rtsx_pci_read_register(pcr, RTS5261_FW_CFG_INFO0, &test_mode); in sd_power_on()
956 if (test_mode & RTS5261_FW_EXPRESS_TEST_MASK) { in sd_power_on()
/linux-6.6.21/drivers/usb/dwc3/ !
Dep0.c464 dwc->test_mode = true; in dwc3_ep0_handle_test()
933 if (dwc->test_mode) { in dwc3_ep0_complete_status()

12