Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/testing/selftests/rcutorture/bin/
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…
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 '
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 '
Dkvm-again.sh55 dur=
120 dur=$(($ts*mult))
196 …kvm-transform.sh "$kernel_dir/bzImage" "$qemu_cmd_dir/console.log" "$jitter_dir" "$dur" "$bootargs…
Dkvm.sh25 dur=$((30*60))
162 dur=$(($ts*mult))
468 …print "TORTURE_JITTER_START=\". jitterstart.sh " njitter " " rd " " dur " " ja[2] " " ja[3] "\"; e…
495 …print "kvm-test-1-run.sh " CONFIGDIR cf[j], rd cfr[jn], dur " \"" TORTURE_QEMU_ARG "\" \"" TORTURE…
581 -v dur=$dur \
/linux-6.6.21/samples/bpf/
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 …]
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-6.6.21/drivers/net/wireless/ath/ath9k/
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()
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()
Ddynack.h38 u32 dur; member
/linux-6.6.21/drivers/input/misc/
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-6.6.21/drivers/net/wireless/ath/ath5k/
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-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.c618 uint nsyms, dur = 0, Ndps, kNdps; in brcms_c_calc_frame_time() local
631 dur = PREN_PREAMBLE + (tot_streams * PREN_PREAMBLE_EXT); in brcms_c_calc_frame_time()
633 dur += PREN_MM_EXT; in brcms_c_calc_frame_time()
649 dur += APHY_SYMBOL_TIME * nsyms; in brcms_c_calc_frame_time()
651 dur += DOT11_OFDM_SIGNAL_EXTENSION; in brcms_c_calc_frame_time()
653 dur = APHY_PREAMBLE_TIME; in brcms_c_calc_frame_time()
654 dur += APHY_SIGNAL_TIME; in brcms_c_calc_frame_time()
661 dur += APHY_SYMBOL_TIME * nsyms; in brcms_c_calc_frame_time()
663 dur += DOT11_OFDM_SIGNAL_EXTENSION; in brcms_c_calc_frame_time()
671 dur = (mac_len + rate - 1) / rate; in brcms_c_calc_frame_time()
[all …]
Dampdu.c137 u8 dur; member
152 static void brcms_c_scb_ampdu_update_max_txlen(struct ampdu_info *ampdu, u8 dur) in brcms_c_scb_ampdu_update_max_txlen() argument
160 ampdu->max_txlen[mcs][0][0] = (rate * dur) >> 3; in brcms_c_scb_ampdu_update_max_txlen()
163 ampdu->max_txlen[mcs][1][0] = (rate * dur) >> 3; in brcms_c_scb_ampdu_update_max_txlen()
166 ampdu->max_txlen[mcs][0][1] = (rate * dur) >> 3; in brcms_c_scb_ampdu_update_max_txlen()
169 ampdu->max_txlen[mcs][1][1] = (rate * dur) >> 3; in brcms_c_scb_ampdu_update_max_txlen()
248 ampdu->dur = AMPDU_MAX_DUR; in brcms_c_ampdu_attach()
267 brcms_c_scb_ampdu_update_max_txlen(ampdu, ampdu->dur); in brcms_c_ampdu_attach()
/linux-6.6.21/drivers/iio/chemical/
Dbme680_core.c491 static u8 bme680_calc_heater_dur(u16 dur) in bme680_calc_heater_dur() argument
495 if (dur >= 0xfc0) { in bme680_calc_heater_dur()
498 while (dur > 0x3F) { in bme680_calc_heater_dur()
499 dur = dur / 4; in bme680_calc_heater_dur()
502 durval = dur + (factor * 64); in bme680_calc_heater_dur()
/linux-6.6.21/drivers/net/wireless/ath/
Ddfs_pri_detector.h38 u32 dur; member
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()
/linux-6.6.21/net/mac80211/
Dutil.c115 int dur; in ieee80211_frame_duration() local
143 dur = 16; /* SIFS + signal ext */ in ieee80211_frame_duration()
144 dur += 16; /* IEEE 802.11-2012 18.3.2.4: T_PREAMBLE = 16 usec */ in ieee80211_frame_duration()
145 dur += 4; /* IEEE 802.11-2012 18.3.2.4: T_SIGNAL = 4 usec */ in ieee80211_frame_duration()
151 dur *= 1 << shift; in ieee80211_frame_duration()
156 dur += 4 * DIV_ROUND_UP((16 + 8 * (len + 4) + 6) * 10, in ieee80211_frame_duration()
169 dur = 10; /* aSIFSTime = 10 usec */ in ieee80211_frame_duration()
170 dur += short_preamble ? (72 + 24) : (144 + 48); in ieee80211_frame_duration()
172 dur += DIV_ROUND_UP(8 * (len + 4) * 10, rate); in ieee80211_frame_duration()
175 return dur; in ieee80211_frame_duration()
[all …]
Doffchannel.c228 long dur = ieee80211_end_finished_rocs(local, now); in ieee80211_recalc_sw_work() local
230 if (dur == LONG_MAX) in ieee80211_recalc_sw_work()
233 wiphy_delayed_work_queue(local->hw.wiphy, &local->roc_work, dur); in ieee80211_recalc_sw_work()
/linux-6.6.21/drivers/net/wireless/admtek/
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-6.6.21/drivers/staging/vt6655/
Drxtx.c461 __le16 dur = cpu_to_le16(pDevice->current_aid | BIT(14) | BIT(15)); in s_uFillDataHead() local
463 buf->duration_a = dur; in s_uFillDataHead()
464 buf->duration_b = dur; in s_uFillDataHead()
533 __le16 dur = cpu_to_le16(pDevice->current_aid | BIT(14) | BIT(15)); in s_uFillDataHead() local
535 buf->duration = dur; in s_uFillDataHead()
554 __le16 dur = cpu_to_le16(pDevice->current_aid | BIT(14) | BIT(15)); in s_uFillDataHead() local
556 buf->duration = dur; in s_uFillDataHead()
/linux-6.6.21/drivers/net/wireless/marvell/libertas/
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-6.6.21/drivers/staging/rtl8723bs/include/
Dwifi.h185 #define SetDuration(pbuf, dur) \ argument
186 (*(__le16 *)((size_t)(pbuf) + 2) = cpu_to_le16(0xffff & (dur)))
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/
Dwmi.c508 u32 dur; in ath6kl_wmi_remain_on_chnl_event_rx() local
518 dur = le32_to_cpu(ev->duration); in ath6kl_wmi_remain_on_chnl_event_rx()
520 freq, dur); in ath6kl_wmi_remain_on_chnl_event_rx()
530 dur, GFP_ATOMIC); in ath6kl_wmi_remain_on_chnl_event_rx()
541 u32 dur; in ath6kl_wmi_cancel_remain_on_chnl_event_rx() local
551 dur = le32_to_cpu(ev->duration); in ath6kl_wmi_cancel_remain_on_chnl_event_rx()
554 freq, dur, ev->status); in ath6kl_wmi_cancel_remain_on_chnl_event_rx()
3607 int ath6kl_wmi_remain_on_chnl_cmd(struct wmi *wmi, u8 if_idx, u32 freq, u32 dur) in ath6kl_wmi_remain_on_chnl_cmd() argument
3617 freq, dur); in ath6kl_wmi_remain_on_chnl_cmd()
3620 p->duration = cpu_to_le32(dur); in ath6kl_wmi_remain_on_chnl_cmd()
/linux-6.6.21/drivers/char/tpm/
Dtpm_tis_core.c541 unsigned long dur; in tpm_tis_send_main() local
562 dur = tpm_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
564 (chip, TPM_STS_DATA_AVAIL | TPM_STS_VALID, dur, in tpm_tis_send_main()

12