Home
last modified time | relevance | path

Searched refs:testmode (Results 1 – 25 of 36) sorted by relevance

12

/linux/drivers/net/wireless/ath/ath10k/
H A Dtestmode.c102 ar->testmode.expected_seq = 0; in ath10k_tm_event_segmented()
103 ar->testmode.data_pos = 0; in ath10k_tm_event_segmented()
106 data_pos = ar->testmode.data_pos; in ath10k_tm_event_segmented()
115 memcpy(&ar->testmode.eventdata[data_pos], buf_pos, datalen); in ath10k_tm_event_segmented()
118 if (++ar->testmode.expected_seq != total_segments) { in ath10k_tm_event_segmented()
119 ar->testmode.data_pos = data_pos; in ath10k_tm_event_segmented()
149 ret = nla_put(nl_skb, ATH10K_TM_ATTR_DATA, data_pos, &ar->testmode.eventdata[0]); in ath10k_tm_event_segmented()
174 if (!ar->testmode.utf_monitor) { in ath10k_tm_event_wmi()
185 if (ar->testmode.expected_seq != ATH10K_FTM_SEG_NONE) in ath10k_tm_event_wmi()
290 &ar->testmode.utf_mode_fw.fw_file); in ath10k_tm_fetch_firmware()
[all …]
H A DMakefile19 ath10k_core-$(CONFIG_NL80211_TESTMODE) += testmode.o
/linux/drivers/net/wireless/ath/ath11k/
H A Dtestmode.c137 ab->testmode.expected_seq = 0; in ath11k_tm_process_event()
138 ab->testmode.data_pos = 0; in ath11k_tm_process_event()
141 data_pos = ab->testmode.data_pos; in ath11k_tm_process_event()
150 memcpy(&ab->testmode.eventdata[data_pos], buf_pos, datalen); in ath11k_tm_process_event()
153 if (++ab->testmode.expected_seq != total_segments) { in ath11k_tm_process_event()
154 ab->testmode.data_pos = data_pos; in ath11k_tm_process_event()
179 &ab->testmode.eventdata[0])) { in ath11k_tm_process_event()
280 ar->ab->testmode.eventdata = kzalloc(ATH_FTM_EVENT_MAX_BUF_LENGTH, in ath11k_tm_cmd_testmode_start()
282 if (!ar->ab->testmode.eventdata) { in ath11k_tm_cmd_testmode_start()
H A DMakefile25 ath11k-$(CONFIG_NL80211_TESTMODE) += testmode.o
/linux/drivers/watchdog/
H A Dw83977f_wdt.c45 static int testmode; variable
53 module_param(testmode, int, 0);
54 MODULE_PARM_DESC(testmode, "Watchdog testmode (1 = no reboot), default=0");
104 if (!testmode) { in wdt_start()
170 if (!testmode) { in wdt_stop()
499 timeout, nowayout, testmode); in w83977f_wdt_init()
H A Dit87_wdt.c103 static int testmode = DEFAULT_TESTMODE; variable
109 module_param(testmode, int, 0);
110 MODULE_PARM_DESC(testmode, "Watchdog test mode (1 = no reboot), default="
174 if (testmode) in _wdt_update_timeout()
409 chip_type, chip_rev, timeout, nowayout, testmode); in it87_wdt_init()
H A Dwdt977.c56 static int testmode; variable
63 module_param(testmode, int, 0);
64 MODULE_PARM_DESC(testmode, "Watchdog testmode (1 = no reboot), default=0");
106 if (!testmode) { in wdt977_start()
479 timeout, nowayout, testmode); in wd977_init()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dtestmode.c41 bool testmode = false, normal = false; in mt7921_tm_set() local
52 testmode = true; in mt7921_tm_set()
55 if (testmode) { in mt7921_tm_set()
H A DMakefile9 mt7921-common-$(CONFIG_NL80211_TESTMODE) += testmode.o
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dtestmode.c39 bool testmode = false, normal = false; in mt7925_tm_set() local
53 testmode = true; in mt7925_tm_set()
56 if (testmode) { in mt7925_tm_set()
H A DMakefile8 mt7925-common-$(CONFIG_NL80211_TESTMODE) += testmode.o
/linux/drivers/net/wireless/ath/ath6kl/
H A Dcore.c36 static unsigned int testmode; variable
46 module_param(testmode, uint, 0644);
120 ar->testmode = testmode; in ath6kl_core_init()
H A DMakefile39 ath6kl_core-$(CONFIG_NL80211_TESTMODE) += testmode.o
H A Dinit.c817 if (ar->testmode == 0) in ath6kl_fetch_testmode_file()
820 ath6kl_dbg(ATH6KL_DBG_BOOT, "testmode %d\n", ar->testmode); in ath6kl_fetch_testmode_file()
822 if (ar->testmode == 2) { in ath6kl_fetch_testmode_file()
845 ar->testmode, filename, ret); in ath6kl_fetch_testmode_file()
907 if (ar->testmode != 2) in ath6kl_fetch_testscript_file()
1413 if (ar->testmode != 2) in ath6kl_upload_testscript()
/linux/drivers/usb/dwc2/
H A Ddebugfs.c33 u32 testmode = 0; in testmode_write() local
40 testmode = USB_TEST_J; in testmode_write()
42 testmode = USB_TEST_K; in testmode_write()
44 testmode = USB_TEST_SE0_NAK; in testmode_write()
46 testmode = USB_TEST_PACKET; in testmode_write()
48 testmode = USB_TEST_FORCE_ENABLE; in testmode_write()
50 testmode = 0; in testmode_write()
53 dwc2_hsotg_set_test_mode(hsotg, testmode); in testmode_write()
/linux/drivers/usb/dwc3/
H A Ddebugfs.c525 u32 testmode = 0; in dwc3_testmode_write() local
533 testmode = USB_TEST_J; in dwc3_testmode_write()
535 testmode = USB_TEST_K; in dwc3_testmode_write()
537 testmode = USB_TEST_SE0_NAK; in dwc3_testmode_write()
539 testmode = USB_TEST_PACKET; in dwc3_testmode_write()
541 testmode = USB_TEST_FORCE_ENABLE; in dwc3_testmode_write()
543 testmode = 0; in dwc3_testmode_write()
550 dwc3_gadget_set_test_mode(dwc, testmode); in dwc3_testmode_write()
/linux/drivers/net/wireless/ath/wcn36xx/
H A DMakefile11 wcn36xx-$(CONFIG_NL80211_TESTMODE) += testmode.o
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A DMakefile8 mt7915e-$(CONFIG_NL80211_TESTMODE) += testmode.o
/linux/drivers/net/wireless/ti/wlcore/
H A DMakefile8 wlcore-$(CONFIG_NL80211_TESTMODE) += testmode.o
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A DMakefile13 mt7615-common-$(CONFIG_NL80211_TESTMODE) += testmode.o
/linux/Documentation/watchdog/
H A Dwatchdog-parameters.rst270 testmode:
671 testmode:
672 Watchdog testmode (1 = no reboot), default=0
697 testmode:
698 Watchdog testmode (1 = no reboot), default=0
/linux/drivers/net/wireless/ath/ath12k/
H A DMakefile34 ath12k-$(CONFIG_NL80211_TESTMODE) += testmode.o
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.sh28 testmode=""
111 testmode="$OPTARG"
346 if [ -n "$testmode" ]; then
347 extra_args+=" -m $testmode"
/linux/drivers/net/wireless/mediatek/mt76/
H A DMakefile17 mt76-$(CONFIG_NL80211_TESTMODE) += testmode.o
/linux/net/wireless/
H A DKconfig39 bool "nl80211 testmode command"
41 The nl80211 testmode command helps implementing things like

12