Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/kernel/trace/
H A Dpreemptirq_delay_test.c22 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()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/tools/testing/selftests/clone3/
H A Dclone3.c23 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() argument
114 ret = call_clone3(flags, size, test_mode); in test_clone3()
/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Dsandbox_i2c.c20 bool test_mode; member
61 void sandbox_i2c_set_test_mode(struct udevice *bus, bool test_mode) in sandbox_i2c_set_test_mode() argument
65 priv->test_mode = test_mode; in sandbox_i2c_set_test_mode()
79 if (priv->test_mode && msg->addr == SANDBOX_I2C_TEST_ADDR) in sandbox_i2c_xfer()
90 if (priv->test_mode) { in sandbox_i2c_xfer()
/OK3568_Linux_fs/u-boot/drivers/misc/
H A Di2c_eeprom_emul.c25 enum sandbox_i2c_eeprom_test_mode test_mode; member
40 plat->test_mode = mode; in sandbox_i2c_eeprom_set_test_mode()
76 if (plat->test_mode == SIE_TEST_MODE_SINGLE_BYTE) in sandbox_i2c_eeprom_xfer()
90 if (plat->test_mode == SIE_TEST_MODE_SINGLE_BYTE) in sandbox_i2c_eeprom_xfer()
124 plat->test_mode = SIE_TEST_MODE_NONE; in sandbox_i2c_eeprom_ofdata_to_platdata()
/OK3568_Linux_fs/kernel/tools/testing/vsock/
H A Dutil.h9 enum test_mode { enum
17 enum test_mode mode;
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci-hub.c610 u16 test_mode, u16 wIndex) in xhci_port_set_test_mode() argument
618 temp |= test_mode << PORT_TEST_MODE_SHIFT; in xhci_port_set_test_mode()
620 xhci->test_mode = test_mode; in xhci_port_set_test_mode()
621 if (test_mode == USB_TEST_FORCE_ENABLE) in xhci_port_set_test_mode()
626 u16 test_mode, u16 wIndex, unsigned long *flags) in xhci_enter_test_mode() argument
663 test_mode, wIndex + 1); in xhci_enter_test_mode()
664 xhci_port_set_test_mode(xhci, test_mode, wIndex); in xhci_enter_test_mode()
672 if (!xhci->test_mode) { in xhci_exit_test_mode()
676 if (xhci->test_mode == USB_TEST_FORCE_ENABLE && in xhci_exit_test_mode()
683 xhci->test_mode = 0; in xhci_exit_test_mode()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_test_def.h130 u8 test_mode);
145 …hl_test_add_new_test_obj(phl_com, name, priv, lvl, ctrl_intf, total_time_ms, objid, test_mode) true argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_test_def.h130 u8 test_mode);
145 …hl_test_add_new_test_obj(phl_com, name, priv, lvl, ctrl_intf, total_time_ms, objid, test_mode) true argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/custom/
H A Dphl_custom_fb.c60 fb_ctx->init.test_mode = 0; in _custom_fb_feature_enable()
101 fb_ctx->init.test_mode = *(u32*)(cmd + 1); in _custom_fb_testmode_param()
103 fb_ctx->init.test_mode); in _custom_fb_testmode_param()
127 if (!(fb_ctx->init.test_mode & FB_TEST_MODE_USE_STA_MAC)) in _custom_fb_set_wifi_role()
H A Dphl_custom_fb.h36 u32 test_mode; member
/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H A Dmv_udc.h201 unsigned int test_mode; member
244 unsigned int test_mode; member
H A Dmv_udc_core.c1430 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()
H A Dgr_udc.h208 u8 test_mode; member
H A Datmel_usba_udc.h351 u16 test_mode; member
H A Datmel_usba_udc.c1212 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()
/OK3568_Linux_fs/u-boot/arch/sandbox/include/asm/
H A Dtest.h38 void sandbox_i2c_set_test_mode(struct udevice *bus, bool test_mode);
/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Datmel_usba_udc.c625 int test_mode; in do_test_mode() local
627 test_mode = udc->test_mode; in do_test_mode()
632 switch (test_mode) { in do_test_mode()
685 DBG(DBG_ERR, "Invalid test mode: 0x%04x\n", test_mode); in do_test_mode()
787 udc->test_mode = le16_to_cpu(crq->wIndex); in handle_ep0_setup()
H A Datmel_usba_udc.h299 u16 test_mode; member
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drockchip_tve.c137 int test_mode; member
209 if (tve->test_mode) in tve_set_mode()
460 tve->test_mode = dev_read_u32_default(tve->dev, "test_mode", 0); in tve_parse_dt_legacy()
535 TVEDBG("tve->test_mode = 0x%x\n", tve->test_mode); in tve_parse_dt_legacy()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A Ddrd.c86 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/test/
H A Dtrx_test.h26 enum test_mode { enum
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/test/
H A Dtrx_test.h26 enum test_mode { enum
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_tve.h265 u32 test_mode; member

123