/linux/kernel/trace/ |
A D | preemptirq_delay_test.c | 22 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/tools/testing/selftests/ftrace/test.d/preemptirq/ |
A D | irqsoff_tracer.tc | 36 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/tools/testing/selftests/clone3/ |
A D | clone3.c | 23 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() 101 enum test_mode test_mode) in test_clone3() argument 108 ret = call_clone3(flags, size, test_mode); in test_clone3()
|
/linux/tools/testing/vsock/ |
A D | util.h | 9 enum test_mode { enum 17 enum test_mode mode;
|
/linux/drivers/usb/host/ |
A D | xhci-hub.c | 691 u16 test_mode, u16 wIndex) in xhci_port_set_test_mode() argument 699 temp |= test_mode << PORT_TEST_MODE_SHIFT; in xhci_port_set_test_mode() 701 xhci->test_mode = test_mode; in xhci_port_set_test_mode() 702 if (test_mode == USB_TEST_FORCE_ENABLE) in xhci_port_set_test_mode() 744 test_mode, wIndex + 1); in xhci_enter_test_mode() 753 if (!xhci->test_mode) { in xhci_exit_test_mode() 764 xhci->test_mode = 0; in xhci_exit_test_mode() 1191 u16 test_mode = 0; in xhci_hub_control() local 1271 test_mode = (wIndex & 0xff00) >> 8; in xhci_hub_control() 1516 if (test_mode > USB_TEST_FORCE_ENABLE || in xhci_hub_control() [all …]
|
/linux/drivers/usb/gadget/udc/ |
A D | mv_udc.h | 201 unsigned int test_mode; member 244 unsigned int test_mode; member
|
A D | mv_udc_core.c | 1430 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()
|
A D | gr_udc.h | 208 u8 test_mode; member
|
A D | atmel_usba_udc.h | 351 u16 test_mode; member
|
A D | atmel_usba_udc.c | 1212 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()
|
A D | renesas_usb3.c | 357 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()
|
/linux/tools/testing/selftests/bpf/ |
A D | xdpxceiver.h | 49 enum test_mode { enum
|
/linux/drivers/usb/cdns3/ |
A D | cdnsp-ep0.c | 198 temp |= PORT_TEST_MODE(pdev->test_mode); in cdnsp_enter_test_mode() 248 pdev->test_mode = tmode; in cdnsp_ep0_handle_feature_device()
|
/linux/drivers/usb/gadget/udc/bdc/ |
A D | bdc_ep.c | 931 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()
|
A D | bdc.h | 442 u8 test_mode; member
|
A D | bdc_udc.c | 153 bdc->test_mode = false; in bdc_uspc_disconnected()
|
/linux/drivers/usb/dwc2/ |
A D | drd.c | 86 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
|
/linux/drivers/net/phy/mscc/ |
A D | mscc_serdes.c | 272 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/drivers/usb/mtu3/ |
A D | mtu3.h | 352 unsigned test_mode:1; member
|
A D | mtu3_gadget_ep0.c | 302 mtu->test_mode = true; in handle_test_mode() 671 if (mtu->test_mode) { in ep0_handle_setup()
|
/linux/drivers/usb/musb/ |
A D | musb_gadget_ep0.c | 365 musb->test_mode = true; in service_zero_data_request() 729 else if (musb->test_mode) { in musb_g_ep0_irq()
|
A D | musb_core.h | 399 unsigned test_mode:1; member
|
/linux/drivers/usb/chipidea/ |
A D | ci.h | 241 u8 test_mode; member
|
/linux/drivers/mmc/host/ |
A D | rtsx_pci_sdmmc.c | 914 u8 test_mode; in sd_power_on() local 948 rtsx_pci_read_register(pcr, RTS5261_FW_CFG_INFO0, &test_mode); in sd_power_on() 949 if (test_mode & RTS5261_FW_EXPRESS_TEST_MASK) { in sd_power_on()
|
/linux/drivers/usb/dwc3/ |
A D | ep0.c | 437 dwc->test_mode = true; in dwc3_ep0_handle_test() 908 if (dwc->test_mode) { in dwc3_ep0_complete_status()
|