/kernel/linux/linux-5.10/kernel/trace/ |
H A D | preemptirq_delay_test.c | 22 static char test_mode[12] = "irq"; variable 26 module_param_string(test_mode, test_mode, 12, 0444); 29 MODULE_PARM_DESC(test_mode, "Mode of the test such as preempt, irq, or alternate (default irq)"); 64 if (!strcmp(test_mode, "irq")) in execute_preemptirqtest() 66 else if (!strcmp(test_mode, "preempt")) in execute_preemptirqtest() 68 else if (!strcmp(test_mode, "alternate")) { in execute_preemptirqtest() 140 snprintf(task_name, sizeof(task_name), "%s_test", test_mode); in preemptirq_run_test()
|
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/ |
H 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() 107 enum test_mode test_mode) in test_clone3() 114 ret = call_clone3(flags, size, test_mode); in test_clone3() 106 test_clone3(uint64_t flags, size_t size, int expected, enum test_mode test_mode) test_clone3() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/clone3/ |
H 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() 107 enum test_mode test_mode) in test_clone3() 114 ret = call_clone3(flags, size, test_mode); in test_clone3() 106 test_clone3(uint64_t flags, size_t size, int expected, enum test_mode test_mode) test_clone3() argument
|
/kernel/linux/linux-6.6/kernel/trace/ |
H 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()
|
/kernel/linux/linux-5.10/tools/testing/vsock/ |
H A D | util.h | 9 enum test_mode { enum 17 enum test_mode mode;
|
/kernel/linux/linux-6.6/tools/testing/vsock/ |
H A D | util.h | 9 enum test_mode { enum 17 enum test_mode mode;
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | xskxceiver.h | 62 enum test_mode { enum 156 enum test_mode mode; 190 enum test_mode mode;
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-hub.c | 605 u16 test_mode, u16 wIndex) in xhci_port_set_test_mode() 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) 658 test_mode, wIndex + 1); 659 xhci_port_set_test_mode(xhci, test_mode, wIndex); 667 if (!xhci->test_mode) { in xhci_exit_test_mode() 671 if (xhci->test_mode in xhci_exit_test_mode() 604 xhci_port_set_test_mode(struct xhci_hcd *xhci, u16 test_mode, u16 wIndex) xhci_port_set_test_mode() argument 1105 u16 test_mode = 0; xhci_hub_control() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-hub.c | 710 u16 test_mode, u16 wIndex) in xhci_port_set_test_mode() 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) 763 test_mode, wIndex + 1); 764 xhci_port_set_test_mode(xhci, test_mode, wIndex); 772 if (!xhci->test_mode) { in xhci_exit_test_mode() 776 if (xhci->test_mode in xhci_exit_test_mode() 709 xhci_port_set_test_mode(struct xhci_hcd *xhci, u16 test_mode, u16 wIndex) xhci_port_set_test_mode() argument 1210 u16 test_mode = 0; xhci_hub_control() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | mv_udc.h | 201 unsigned int test_mode; member 244 unsigned int test_mode; member
|
H A D | gr_udc.h | 208 u8 test_mode; member
|
H 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()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | mv_udc.h | 201 unsigned int test_mode; member 244 unsigned int test_mode; member
|
H A D | gr_udc.h | 208 u8 test_mode; member
|
H A D | mv_udc_core.c | 1431 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()
|
/kernel/linux/linux-5.10/drivers/usb/dwc2/ |
H A D | drd.c | 86 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
|
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/usb/dwc2/ |
H A D | drd.c | 100 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/bdc/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/bdc/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
H A D | musb_gadget_ep0.c | 365 musb->test_mode = true; 729 else if (musb->test_mode) { in musb_g_ep0_irq()
|
/kernel/linux/linux-6.6/drivers/accel/ivpu/ |
H A D | ivpu_drv.c | 43 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");
|
/kernel/linux/linux-6.6/drivers/usb/musb/ |
H A D | musb_gadget_ep0.c | 365 musb->test_mode = true; 729 else if (musb->test_mode) { in musb_g_ep0_irq()
|
/kernel/linux/linux-6.6/drivers/net/phy/mscc/ |
H A D | mscc_serdes.c | 272 const u32 test_mode, in vsc85xx_sd6g_dft_cfg0_wr() 279 reg_val = (prbs_sel << 20) | (test_mode << 16) | (rx_dft_ena << 2); in vsc85xx_sd6g_dft_cfg0_wr() 270 vsc85xx_sd6g_dft_cfg0_wr(struct phy_device *phydev, const u32 prbs_sel, const u32 test_mode, const u32 rx_dft_ena) vsc85xx_sd6g_dft_cfg0_wr() argument
|
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
H A D | ci.h | 190 * @test_mode: the selected test mode 243 u8 test_mode; member
|