/linux/tools/testing/selftests/clone3/ |
H A D | clone3.c | 24 enum test_mode { enum 33 static int call_clone3(uint64_t flags, size_t size, enum test_mode test_mode) in call_clone3() argument 55 switch (test_mode) { in call_clone3() 113 enum test_mode test_mode) in test_clone3() argument 120 ret = call_clone3(flags, size, test_mode); in test_clone3() 169 enum test_mode test_mode; member 179 .test_mode = CLONE3_ARGS_NO_TEST, 186 .test_mode = CLONE3_ARGS_NO_TEST, 194 .test_mode = CLONE3_ARGS_NO_TEST, 201 .test_mode = CLONE3_ARGS_NO_TEST, [all …]
|
/linux/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)"); 68 if (!strcmp(test_mode, "irq")) in execute_preemptirqtest() 70 else if (!strcmp(test_mode, "preempt")) in execute_preemptirqtest() 72 else if (!strcmp(test_mode, "alternate")) { in execute_preemptirqtest() 152 snprintf(task_name, sizeof(task_name), "%s_test", test_mode); in preemptirq_run_test()
|
/linux/tools/testing/selftests/ftrace/test.d/preemptirq/ |
H 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/bpf/ |
H A D | xskxceiver.h | 65 enum test_mode { enum 141 enum test_mode mode; 176 enum test_mode mode;
|
H A D | xskxceiver.c | 114 static enum test_mode opt_mode = TEST_MODE_ALL; 178 static u32 mode_to_xdp_flags(enum test_mode mode) in mode_to_xdp_flags() 535 struct ifobject *ifobj_rx, enum test_mode mode, in test_spec_init() 1813 struct bpf_map *xskmap, enum test_mode mode) in xsk_reattach_xdp()
|
/linux/drivers/usb/host/ |
H A D | xhci-hub.c | 679 u16 test_mode, u16 wIndex) in xhci_port_set_test_mode() argument 687 temp |= test_mode << PORT_TEST_MODE_SHIFT; in xhci_port_set_test_mode() 689 xhci->test_mode = test_mode; in xhci_port_set_test_mode() 690 if (test_mode == USB_TEST_FORCE_ENABLE) in xhci_port_set_test_mode() 695 u16 test_mode, u16 wIndex, unsigned long *flags) in xhci_enter_test_mode() argument 732 test_mode, wIndex + 1); in xhci_enter_test_mode() 733 xhci_port_set_test_mode(xhci, test_mode, wIndex); in xhci_enter_test_mode() 741 if (!xhci->test_mode) { in xhci_exit_test_mode() 745 if (xhci->test_mode == USB_TEST_FORCE_ENABLE && in xhci_exit_test_mode() 752 xhci->test_mode = 0; in xhci_exit_test_mode() [all …]
|
/linux/tools/testing/vsock/ |
H A D | util.h | 9 enum test_mode { enum 19 enum test_mode mode;
|
/linux/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 | atmel_usba_udc.h | 351 u16 test_mode; member
|
/linux/drivers/iio/adc/ |
H A D | ad9467.c | 515 unsigned int test_mode) in ad9467_testmode_set() argument 526 ret = ad9467_spi_write(st, AN877_ADC_REG_TEST_IO, test_mode); in ad9467_testmode_set() 1038 char test_mode[32] = {0}; in ad9467_chan_test_mode_write() local 1042 ret = simple_write_to_buffer(test_mode, sizeof(test_mode) - 1, ppos, in ad9467_chan_test_mode_write() 1048 if (sysfs_streq(test_mode, ad9467_test_modes[mode])) in ad9467_chan_test_mode_write()
|
/linux/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()
|
H A D | cdnsp-gadget.h | 1463 u16 test_mode; member
|
/linux/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()
|
H A D | bdc.h | 442 u8 test_mode; member
|
H A D | bdc_udc.c | 153 bdc->test_mode = false; in bdc_uspc_disconnected()
|
/linux/drivers/net/phy/mscc/ |
H 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/dwc2/ |
H A D | drd.c | 100 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
|
/linux/drivers/usb/mtu3/ |
H A D | mtu3.h | 354 unsigned test_mode:1; member
|
H A D | mtu3_gadget_ep0.c | 304 mtu->test_mode = true; in handle_test_mode() 671 if (mtu->test_mode) { in ep0_handle_setup()
|
H A D | mtu3_gadget.c | 644 mtu->test_mode = false; in mtu3_state_reset()
|
/linux/drivers/accel/ivpu/ |
H A D | ivpu_drv.c | 47 module_param_named_unsafe(test_mode, ivpu_test_mode, int, 0644); 48 MODULE_PARM_DESC(test_mode, "Test mode mask. See IVPU_TEST_MODE_* macros.");
|
/linux/drivers/usb/musb/ |
H A D | musb_core.h | 399 unsigned test_mode:1; member
|
/linux/drivers/usb/dwc3/ |
H A D | core.h | 1319 u8 test_mode; member
|
/linux/drivers/media/platform/amphion/ |
H A D | vpu_windsor.c | 210 u32 test_mode; // Automated firmware test mode member
|