Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/clone3/
H A Dclone3.c24 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/tools/testing/selftests/ftrace/test.d/preemptirq/
H A 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/kernel/trace/
H A 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)");
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()
157 snprintf(task_name, sizeof(task_name), "%s_test", test_mode); in preemptirq_run_test()
/linux/tools/testing/selftests/nolibc/
H A Drun-tests.sh17 test_mode=system
56 -m [MODE] Test mode user/system (default: ${test_mode})
83 test_mode="$2"
176 case "$test_mode" in
184 echo "Unknown mode $test_mode"
192 if [ "$arch" = "x32" ] && [ "$test_mode" = "user" ]; then
/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.h65 enum test_mode { global() enum
H A Dxskxceiver.c106 static enum test_mode opt_mode = TEST_MODE_ALL;
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_xsk.h70 enum test_mode { enum
134 enum test_mode mode;
209 enum test_mode mode;
229 struct ifobject *ifobj_rx, enum test_mode mode,
H A Dxsk.c63 static void test_xsk(const struct test_spec *test_to_run, enum test_mode mode) in test_xsk()
/linux/tools/testing/vsock/
H A Dutil.h41 enum test_mode { enum
51 enum test_mode mode;
/linux/drivers/iio/adc/
H A Dad9467.c611 unsigned int test_mode) in ad9467_testmode_set() argument
622 ret = ad9467_spi_write(st, AN877_ADC_REG_TEST_IO, test_mode); in ad9467_testmode_set()
1162 char test_mode[32] = {0}; in ad9467_chan_test_mode_write() local
1166 ret = simple_write_to_buffer(test_mode, sizeof(test_mode) - 1, ppos, in ad9467_chan_test_mode_write()
1172 if (sysfs_streq(test_mode, ad9467_test_modes[mode])) in ad9467_chan_test_mode_write()
/linux/drivers/usb/cdns3/
H A 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/drivers/usb/gadget/udc/
H A Dgr_udc.h208 u8 test_mode; member
H A Datmel_usba_udc.h351 u16 test_mode; member
H A Datmel_usba_udc.c1213 int test_mode; in do_test_mode() local
1215 test_mode = udc->test_mode; in do_test_mode()
1220 switch (test_mode) { in do_test_mode()
1273 dev_err(dev, "Invalid test mode: 0x%04x\n", test_mode); in do_test_mode()
1374 udc->test_mode = le16_to_cpu(crq->wIndex); in handle_ep0_setup()
H A Dgr_udc.c196 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()
/linux/drivers/net/phy/mscc/
H A 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/drivers/usb/dwc2/
H A Ddrd.c100 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
/linux/drivers/usb/mtu3/
H A Dmtu3.h362 unsigned test_mode:1; member
H A Dmtu3_gadget_ep0.c304 mtu->test_mode = true; in handle_test_mode()
671 if (mtu->test_mode) { in ep0_handle_setup()
H A Dmtu3_gadget.c644 mtu->test_mode = false; in mtu3_state_reset()
/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc.h442 u8 test_mode; member
H A Dbdc_udc.c153 bdc->test_mode = false; in bdc_uspc_disconnected()
/linux/drivers/accel/ivpu/
H A Divpu_drv.c46 module_param_named_unsafe(test_mode, ivpu_test_mode, int, 0644);
47 MODULE_PARM_DESC(test_mode, "Test mode mask. See IVPU_TEST_MODE_* macros.");
/linux/drivers/usb/musb/
H A Dmusb_core.h399 unsigned test_mode:1; member
/linux/drivers/usb/chipidea/
H A Dudc.c1239 if (ci->test_mode) in isr_setup_status_complete()
1240 hw_port_test_set(ci, ci->test_mode); in isr_setup_status_complete()
1432 ci->test_mode = tmode; in isr_setup_packet_handler()

12