Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-recheck-rcu.sh34 dur=`grep -v '^#' $i/qemu-cmd | sed -e 's/^.* rcutorture.shutdown_secs=//' -e 's/ .*$//'`
35 if test -z "$dur"
39 ngpsps=`awk -v ngps=$ngps -v dur=$dur '
68 …nclosecalls10=`awk -v nclosecalls=$nclosecalls -v dur=$dur 'BEGIN { print int(nclosecalls * 36000 …
71 print_bug $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $i
73 print_warning $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $i
75 …echo $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $i > $i/console.log.rcu.d…
H A Dkvm-recheck-scf.sh28dur="`grep -v '^#' $i/qemu-cmd | sed -e 's/^.* scftorture.shutdown_secs=//' -e 's/ .*$//' 2> /dev/…
29 if test -z "$dur"
33 nscfss=`awk -v nscfs=$nscfs -v dur=$dur '
H A Dkvm-recheck-lock.sh28dur=`grep -v '^#' $i/qemu-cmd | sed -e 's/^.* locktorture.shutdown_secs=//' -e 's/ .*$//' 2> /dev/…
29 if test -z "$dur"
33 ncsps=`awk -v ncs=$ncs -v dur=$dur '
H A Dkvm-again.sh55 dur=
120 dur=$(($ts*mult))
196 …kvm-transform.sh "$kernel_dir/bzImage" "$qemu_cmd_dir/console.log" "$jitter_dir" "$dur" "$bootargs…
H A Dkvm.sh25 dur=$((30*60))
175 dur=$(($ts*mult))
485 print "TORTURE_JITTER_START=\". jitterstart.sh " njitter " " rd " " dur " " ja[2] " " ja[3] "\"; export TORTURE_JITTER_START";
512 print "kvm-test-1-run.sh " CONFIGDIR cf[j], rd cfr[jn], dur " \"" TORTURE_QEMU_ARG "\" \"" TORTURE_BOOTARGS "\" > " rd cfr[jn] "/kvm-test-1-run.sh.out 2>&1 &"
598 -v dur=$dur \
/linux/samples/bpf/
H A Ddo_hbm_test.sh77 dur=5
106 echo "./hbm $dir -n $id -r $rate -t $dur $flags $dbg $prog" > hbm.out
108 ./hbm $dir -n $id -r $rate -t $dur $flags $dbg $prog >> hbm.out 2>&1 &
185 dur="${i#*=}"
247 m=$[$dur * 5]
288 …( ./netperf -H $np_server -l $dur -f m -j -t TCP_RR -- -r $reqSize,$replySize $np_cc -k P50_lATEN…
291 …( ./netperf -H $np_server -l $dur -f m -j -t TCP_RR -- -r 1,10M $np_cc -k P50_LATENCY,P90_LATENCY,…
293 …( ./netperf -H $np_server -l $dur -f m -j -t TCP_STREAM -- $np_cc -k P50_lATENCY,P90_LATENCY,LOCAL…
300 n=$[dur+2]
346 iperf3 -c $host -p $port -i 0 -P $flows -f m -t $dur > iperf.$id
[all …]
H A Dhbm.c56 int dur = 1; variable
239 if (delta_ms > dur * 1000) in run_bpf_prog()
304 sleep(dur); in run_bpf_prog()
490 dur = atoi(optarg); in main()
/linux/drivers/net/wireless/ath/ath9k/
H A Ddfs.c183 static u32 dur_to_usecs(struct ath_hw *ah, u32 dur) in dur_to_usecs() argument
190 nsecs = dur * AR93X_NSECS_PER_DUR_FAST; in dur_to_usecs()
192 nsecs = dur * AR93X_NSECS_PER_DUR; in dur_to_usecs()
205 u16 dur; in ath9k_postprocess_radar_event() local
216 dur = ard->pulse_length_pri; in ath9k_postprocess_radar_event()
226 dur = ard->pulse_length_ext; in ath9k_postprocess_radar_event()
243 dur = ard->pulse_length_ext; in ath9k_postprocess_radar_event()
245 dur = ard->pulse_length_pri; in ath9k_postprocess_radar_event()
266 pe->width = dur_to_usecs(sc->sc_ah, dur); in ath9k_postprocess_radar_event()
H A Ddynack.c166 ack_ts, st_ts->tstamp, st_ts->dur, in ath_dynack_compute_to()
169 if (ack_ts > st_ts->tstamp + st_ts->dur) { in ath_dynack_compute_to()
170 ackto = ack_ts - st_ts->tstamp - st_ts->dur; in ath_dynack_compute_to()
214 u32 dur = ts->duration; in ath_dynack_sample_tx_ts() local
268 dur -= ath_dynack_get_sifs(ah, phy); in ath_dynack_sample_tx_ts()
270 da->st_rbf.ts[da->st_rbf.t_rb].dur = dur; in ath_dynack_sample_tx_ts()
277 hdr->addr1, ts->ts_tstamp, dur, da->st_rbf.h_rb, in ath_dynack_sample_tx_ts()
H A Ddynack.h38 u32 dur; member
/linux/drivers/input/misc/
H A Dbma150.c226 u8 enable, u8 hyst, u8 dur, u8 thres) in bma150_set_low_g_interrupt() argument
236 error = bma150_write_byte(bma150->client, BMA150_LOW_G_DUR_REG, dur); in bma150_set_low_g_interrupt()
250 u8 enable, u8 hyst, u8 dur, u8 thres) in bma150_set_high_g_interrupt() argument
261 BMA150_HIGH_G_DUR_REG, dur); in bma150_set_high_g_interrupt()
277 u8 enable, u8 dur, u8 thres) in bma150_set_any_motion_interrupt() argument
281 error = bma150_set_reg_bits(bma150->client, dur, in bma150_set_any_motion_interrupt()
/linux/drivers/net/wireless/ath/ath5k/
H A Dpcu.c119 int dur; in ath5k_hw_get_frame_duration() local
127 dur = le16_to_cpu(raw_dur); in ath5k_hw_get_frame_duration()
129 dur -= 96; in ath5k_hw_get_frame_duration()
131 return dur; in ath5k_hw_get_frame_duration()
166 dur = sifs + preamble + (sym_time * symbols); in ath5k_hw_get_frame_duration()
168 return dur; in ath5k_hw_get_frame_duration()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcoex.h335 btc->dm.slot.v1[sid].dur = dura; in _slot_set_le()
339 btc->dm.slot.v7[sid].dur = dura; in _slot_set_le()
355 btc->dm.slot.v1[sid].dur = cpu_to_le16(dura); in _slot_set_dur()
357 btc->dm.slot.v7[sid].dur = cpu_to_le16(dura); in _slot_set_dur()
H A Dchan.c1278 u16 dur; member
1291 p->parm[ordered_idx].dur = mcc_role->duration; in rtw89_mcc_mod_dur_get_iterator()
1298 p->parm[ordered_idx].room = max_t(s32, p->parm[ordered_idx].dur - min, 0); in rtw89_mcc_mod_dur_get_iterator()
1302 ordered_idx, p->parm[ordered_idx].dur, min, in rtw89_mcc_mod_dur_get_iterator()
1316 mcc_role->duration = p->parm[ordered_idx].dur; in rtw89_mcc_mod_dur_put_iterator()
1320 ordered_idx, p->parm[ordered_idx].dur); in rtw89_mcc_mod_dur_put_iterator()
1343 data.parm[0].dur -= min_t(u16, bt_dur / 2, data.parm[0].room); in rtw89_mcc_mod_duration_dual_2ghz_with_bt()
1344 data.parm[1].dur = wifi_dur - data.parm[0].dur; in rtw89_mcc_mod_duration_dual_2ghz_with_bt()
1346 data.parm[1].dur -= min_t(u16, bt_dur / 2, data.parm[1].room); in rtw89_mcc_mod_duration_dual_2ghz_with_bt()
1347 data.parm[0].dur = wifi_dur - data.parm[1].dur; in rtw89_mcc_mod_duration_dual_2ghz_with_bt()
H A Dcoex.c77 { .dur = cpu_to_le16(__dur), .cxtbl = cpu_to_le32(__cxtbl), \
871 btc->dm.slot.v7[i].dur = s_def[i].dur; in _reset_btc_var()
1813 wl_slot_set = le16_to_cpu(dm->slot_now.v1[CXST_E2G].dur); in _chk_btc_report()
1815 wl_slot_set = le16_to_cpu(dm->slot_now.v7[CXST_E2G].dur); in _chk_btc_report()
1818 wl_slot_set = le16_to_cpu(dm->slot_now.v1[CXST_W1].dur); in _chk_btc_report()
1820 wl_slot_set = le16_to_cpu(dm->slot_now.v7[CXST_W1].dur); in _chk_btc_report()
1852 wl_slot_set = le16_to_cpu(dm->slot_now.v1[CXST_W1].dur); in _chk_btc_report()
1854 wl_slot_set = le16_to_cpu(dm->slot_now.v7[CXST_W1].dur); in _chk_btc_report()
1896 wl_slot_set = le16_to_cpu(dm->slot_now.v1[CXST_W1].dur); in _chk_btc_report()
1898 wl_slot_set = le16_to_cpu(dm->slot_now.v7[CXST_W1].dur); in _chk_btc_report()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmain.c611 uint nsyms, dur = 0, Ndps, kNdps; in brcms_c_calc_frame_time() local
624 dur = PREN_PREAMBLE + (tot_streams * PREN_PREAMBLE_EXT); in brcms_c_calc_frame_time()
626 dur += PREN_MM_EXT; in brcms_c_calc_frame_time()
642 dur += APHY_SYMBOL_TIME * nsyms; in brcms_c_calc_frame_time()
644 dur += DOT11_OFDM_SIGNAL_EXTENSION; in brcms_c_calc_frame_time()
646 dur = APHY_PREAMBLE_TIME; in brcms_c_calc_frame_time()
647 dur += APHY_SIGNAL_TIME; in brcms_c_calc_frame_time()
654 dur += APHY_SYMBOL_TIME * nsyms; in brcms_c_calc_frame_time()
656 dur += DOT11_OFDM_SIGNAL_EXTENSION; in brcms_c_calc_frame_time()
664 dur = (mac_len + rate - 1) / rate; in brcms_c_calc_frame_time()
[all …]
H A Dampdu.c137 u8 dur; member
146 static void brcms_c_scb_ampdu_update_max_txlen(struct ampdu_info *ampdu, u8 dur) in brcms_c_scb_ampdu_update_max_txlen() argument
154 ampdu->max_txlen[mcs][0][0] = (rate * dur) >> 3; in brcms_c_scb_ampdu_update_max_txlen()
157 ampdu->max_txlen[mcs][1][0] = (rate * dur) >> 3; in brcms_c_scb_ampdu_update_max_txlen()
160 ampdu->max_txlen[mcs][0][1] = (rate * dur) >> 3; in brcms_c_scb_ampdu_update_max_txlen()
163 ampdu->max_txlen[mcs][1][1] = (rate * dur) >> 3; in brcms_c_scb_ampdu_update_max_txlen()
242 ampdu->dur = AMPDU_MAX_DUR; in brcms_c_ampdu_attach()
261 brcms_c_scb_ampdu_update_max_txlen(ampdu, ampdu->dur); in brcms_c_ampdu_attach()
/linux/drivers/net/wireless/ath/
H A Ddfs_pri_detector.c250 ps.dur = ps.pri * (pde->rs->ppb - 1) in pseq_handler_create_sequences()
255 min_valid_ts = ts - ps.dur; in pseq_handler_create_sequences()
284 ps.deadline_ts = ps.first_ts + ps.dur; in pseq_handler_create_sequences()
H A Ddfs_pri_detector.h38 u32 dur; member
/linux/drivers/iio/chemical/
H A Dbme680_core.c554 static u8 bme680_calc_heater_dur(u16 dur) in bme680_calc_heater_dur() argument
558 if (dur >= 0xfc0) { in bme680_calc_heater_dur()
561 while (dur > 0x3F) { in bme680_calc_heater_dur()
562 dur = dur / 4; in bme680_calc_heater_dur()
565 durval = dur + (factor * 64); in bme680_calc_heater_dur()
/linux/net/mac80211/
H A Dutil.c120 int dur; in ieee80211_frame_duration() local
145 dur = 16; /* SIFS + signal ext */ in ieee80211_frame_duration()
146 dur += 16; /* IEEE 802.11-2012 18.3.2.4: T_PREAMBLE = 16 usec */ in ieee80211_frame_duration()
147 dur += 4; /* IEEE 802.11-2012 18.3.2.4: T_SIGNAL = 4 usec */ in ieee80211_frame_duration()
152 dur += 4 * DIV_ROUND_UP((16 + 8 * (len + 4) + 6) * 10, in ieee80211_frame_duration()
165 dur = 10; /* aSIFSTime = 10 usec */ in ieee80211_frame_duration()
166 dur += short_preamble ? (72 + 24) : (144 + 48); in ieee80211_frame_duration()
168 dur += DIV_ROUND_UP(8 * (len + 4) * 10, rate); in ieee80211_frame_duration()
171 return dur; in ieee80211_frame_duration()
182 u16 dur; in ieee80211_generic_frame_duration() local
[all …]
/linux/drivers/net/wireless/admtek/
H A Dadm8211.c1568 static void adm8211_calc_durations(int *dur, int *plcp, size_t payload_len, int len, in adm8211_calc_durations() argument
1587 *dur = (80 * (24 + payload_len) + plcp_signal - 1) in adm8211_calc_durations()
1592 *dur += 3 * (IEEE80211_DUR_DS_SIFS + in adm8211_calc_durations()
1598 *dur += 3 * (IEEE80211_DUR_DS_SIFS + in adm8211_calc_durations()
1605 *dur += 3 * (IEEE80211_DUR_DS_LONG_PREAMBLE - in adm8211_calc_durations()
1678 int plcp, dur, len, plcp_signal, short_preamble; in adm8211_tx() local
1705 adm8211_calc_durations(&dur, &plcp, payload_len, in adm8211_tx()
1709 txhdr->dur_frag_head = cpu_to_le16(dur); in adm8211_tx()
1710 txhdr->dur_frag_tail = cpu_to_le16(dur); in adm8211_tx()
/linux/drivers/staging/rtl8723bs/include/
H A Dwifi.h163 #define SetDuration(pbuf, dur) \ argument
164 (*(__le16 *)((size_t)(pbuf) + 2) = cpu_to_le16(0xffff & (dur)))
/linux/drivers/net/wireless/marvell/libertas/
H A DREADME200 dur=[scan time] time to scan for each channel in milliseconds
204 line. If dur tokens are absent, the driver default setting will be used.
211 echo "dur=20" > setuserscan
/linux/drivers/net/phy/
H A Dair_en8811h.c747 static int air_leds_init(struct phy_device *phydev, int num, int dur, int mode) in air_leds_init() argument
753 dur); in air_leds_init()
758 dur >> 1); in air_leds_init()

12