Home
last modified time | relevance | path

Searched refs:test_mode (Results 1 – 25 of 35) 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"
188 if [ "$arch" = "s390" ] && ([ "$llvm" = "1" ] || [ "$test_mode" = "user" ]); then
196 if [ "$arch" = "x32" ] && [ "$test_mode" = "user" ]; then
/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.h65 enum test_mode { enum
142 enum test_mode mode;
179 enum test_mode mode;
H A Dxskxceiver.c116 static enum test_mode opt_mode = TEST_MODE_ALL;
180 static u32 mode_to_xdp_flags(enum test_mode mode) in mode_to_xdp_flags()
539 struct ifobject *ifobj_rx, enum test_mode mode, in test_spec_init()
1882 struct bpf_map *xskmap, enum test_mode mode) in xsk_reattach_xdp()
/linux/drivers/usb/host/
H A Dxhci-hub.c679 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
731 test_mode, wIndex + 1); in xhci_enter_test_mode()
732 xhci_port_set_test_mode(xhci, test_mode, wIndex); in xhci_enter_test_mode()
740 if (!xhci->test_mode) { in xhci_exit_test_mode()
744 if (xhci->test_mode == USB_TEST_FORCE_ENABLE && in xhci_exit_test_mode()
751 xhci->test_mode = 0; in xhci_exit_test_mode()
[all …]
/linux/tools/testing/vsock/
H A Dutil.h41 enum test_mode { enum
51 enum test_mode mode;
/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 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/drivers/usb/gadget/udc/bdc/
H A 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()
H A Dbdc.h442 u8 test_mode; member
H A Dbdc_udc.c153 bdc->test_mode = false; in bdc_uspc_disconnected()
/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()
H A Dgadget.c1810 hsotg->test_mode = wIndex >> 8; in dwc2_hsotg_process_req_feature()
2708 if (hsotg->test_mode) { in dwc2_hsotg_complete_in()
2711 ret = dwc2_hsotg_set_test_mode(hsotg, hsotg->test_mode); in dwc2_hsotg_complete_in()
2714 hsotg->test_mode); in dwc2_hsotg_complete_in()
3323 hsotg->test_mode = 0; in dwc2_hsotg_disconnect()
/linux/drivers/usb/mtu3/
H A Dmtu3.h354 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()
/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/mmc/host/
H A Drtsx_pci_sdmmc.c910 u8 test_mode; in sd_power_on() local
954 rtsx_pci_read_register(pcr, RTS5261_FW_CFG_INFO0, &test_mode); in sd_power_on()
955 if (test_mode & RTS5261_FW_EXPRESS_TEST_MASK) { in sd_power_on()
/linux/drivers/usb/dwc3/
H A Dep0.c468 dwc->test_mode = true; in dwc3_ep0_handle_test()
938 if (dwc->test_mode) { in dwc3_ep0_complete_status()
/linux/drivers/usb/musb/
H A Dmusb_core.h399 unsigned test_mode:1; member
/linux/drivers/usb/chipidea/
H A Dudc.c1232 if (ci->test_mode) in isr_setup_status_complete()
1233 hw_port_test_set(ci, ci->test_mode); in isr_setup_status_complete()
1425 ci->test_mode = tmode; in isr_setup_packet_handler()

12