Home
last modified time | relevance | path

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

12

/Linux-v4.19/tools/testing/selftests/rcutorture/bin/
Dkvm-recheck-rcu.sh46 dur=`sed -e 's/^.* rcutorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null`
47 if test -z "$dur"
51 ngpsps=`awk -v ngps=$ngps -v dur=$dur '
66 …nclosecalls10=`awk -v nclosecalls=$nclosecalls -v dur=$dur 'BEGIN { print int(nclosecalls * 36000 …
69 print_bug $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $i
71 print_warning $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $i
73 …echo $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $i > $i/console.log.rcu.d…
Dkvm-recheck-lock.sh41 dur=`sed -e 's/^.* locktorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null`
42 if test -z "$dur"
46 ncsps=`awk -v ncs=$ncs -v dur=$dur '
Dkvm.sh36 dur=$((30*60))
124 dur=$(($2*60))
330 -v dur=$dur \
/Linux-v4.19/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.c133 ack_ts, st_ts->tstamp, st_ts->dur, in ath_dynack_compute_to()
136 if (ack_ts > st_ts->tstamp + st_ts->dur) { in ath_dynack_compute_to()
137 ackto = ack_ts - st_ts->tstamp - st_ts->dur; in ath_dynack_compute_to()
205 da->st_rbf.ts[da->st_rbf.t_rb].dur = ts->duration; in ath_dynack_sample_tx_ts()
222 da->st_rbf.ts[da->st_rbf.t_rb].dur -= sifs; in ath_dynack_sample_tx_ts()
227 da->st_rbf.ts[da->st_rbf.t_rb].dur, da->st_rbf.h_rb, in ath_dynack_sample_tx_ts()
Ddynack.h38 u32 dur; member
/Linux-v4.19/drivers/net/wireless/ath/ath5k/
Dpcu.c118 int dur; in ath5k_hw_get_frame_duration() local
126 dur = le16_to_cpu(raw_dur); in ath5k_hw_get_frame_duration()
128 dur -= 96; in ath5k_hw_get_frame_duration()
130 return dur; in ath5k_hw_get_frame_duration()
165 dur = sifs + preamble + (sym_time * symbols); in ath5k_hw_get_frame_duration()
167 return dur; in ath5k_hw_get_frame_duration()
/Linux-v4.19/drivers/input/misc/
Dbma150.c241 u8 enable, u8 hyst, u8 dur, u8 thres) in bma150_set_low_g_interrupt() argument
251 error = bma150_write_byte(bma150->client, BMA150_LOW_G_DUR_REG, dur); in bma150_set_low_g_interrupt()
265 u8 enable, u8 hyst, u8 dur, u8 thres) in bma150_set_high_g_interrupt() argument
276 BMA150_HIGH_G_DUR_REG, dur); in bma150_set_high_g_interrupt()
292 u8 enable, u8 dur, u8 thres) in bma150_set_any_motion_interrupt() argument
296 error = bma150_set_reg_bits(bma150->client, dur, in bma150_set_any_motion_interrupt()
/Linux-v4.19/drivers/staging/wlan-ng/
Dp80211hdr.h153 u16 dur; member
162 u16 dur; member
/Linux-v4.19/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-v4.19/drivers/net/wireless/ath/
Ddfs_pri_detector.h38 u32 dur; member
Ddfs_pri_detector.c251 ps.dur = ps.pri * (pde->rs->ppb - 1) in pseq_handler_create_sequences()
256 min_valid_ts = ts - ps.dur; in pseq_handler_create_sequences()
285 ps.deadline_ts = ps.first_ts + ps.dur; in pseq_handler_create_sequences()
/Linux-v4.19/net/mac80211/
Dutil.c67 int dur; in ieee80211_frame_duration() local
95 dur = 16; /* SIFS + signal ext */ in ieee80211_frame_duration()
96 dur += 16; /* IEEE 802.11-2012 18.3.2.4: T_PREAMBLE = 16 usec */ in ieee80211_frame_duration()
97 dur += 4; /* IEEE 802.11-2012 18.3.2.4: T_SIGNAL = 4 usec */ in ieee80211_frame_duration()
103 dur *= 1 << shift; in ieee80211_frame_duration()
108 dur += 4 * DIV_ROUND_UP((16 + 8 * (len + 4) + 6) * 10, in ieee80211_frame_duration()
121 dur = 10; /* aSIFSTime = 10 usec */ in ieee80211_frame_duration()
122 dur += short_preamble ? (72 + 24) : (144 + 48); in ieee80211_frame_duration()
124 dur += DIV_ROUND_UP(8 * (len + 4) * 10, rate); in ieee80211_frame_duration()
127 return dur; in ieee80211_frame_duration()
[all …]
Doffchannel.c244 long dur = ieee80211_end_finished_rocs(local, now); in ieee80211_recalc_sw_work() local
246 if (dur == LONG_MAX) in ieee80211_recalc_sw_work()
249 mod_delayed_work(local->workqueue, &local->roc_work, dur); in ieee80211_recalc_sw_work()
/Linux-v4.19/drivers/iio/chemical/
Dbme680_core.c482 static u8 bme680_calc_heater_dur(u16 dur) in bme680_calc_heater_dur() argument
486 if (dur >= 0xfc0) { in bme680_calc_heater_dur()
489 while (dur > 0x3F) { in bme680_calc_heater_dur()
490 dur = dur / 4; in bme680_calc_heater_dur()
493 durval = dur + (factor * 64); in bme680_calc_heater_dur()
/Linux-v4.19/drivers/net/wireless/admtek/
Dadm8211.c1576 static void adm8211_calc_durations(int *dur, int *plcp, size_t payload_len, int len, in adm8211_calc_durations() argument
1595 *dur = (80 * (24 + payload_len) + plcp_signal - 1) in adm8211_calc_durations()
1600 *dur += 3 * (IEEE80211_DUR_DS_SIFS + in adm8211_calc_durations()
1606 *dur += 3 * (IEEE80211_DUR_DS_SIFS + in adm8211_calc_durations()
1613 *dur += 3 * (IEEE80211_DUR_DS_LONG_PREAMBLE - in adm8211_calc_durations()
1686 int plcp, dur, len, plcp_signal, short_preamble; in adm8211_tx() local
1713 adm8211_calc_durations(&dur, &plcp, payload_len, in adm8211_tx()
1717 txhdr->dur_frag_head = cpu_to_le16(dur); in adm8211_tx()
1718 txhdr->dur_frag_tail = cpu_to_le16(dur); in adm8211_tx()
/Linux-v4.19/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-v4.19/drivers/staging/vt6655/
Drxtx.c507 __le16 dur = cpu_to_le16(pDevice->current_aid | BIT(14) | BIT(15)); in s_uFillDataHead() local
509 buf->duration_a = dur; in s_uFillDataHead()
510 buf->duration_b = dur; in s_uFillDataHead()
578 __le16 dur = cpu_to_le16(pDevice->current_aid | BIT(14) | BIT(15)); in s_uFillDataHead() local
580 buf->duration = dur; in s_uFillDataHead()
600 __le16 dur = cpu_to_le16(pDevice->current_aid | BIT(14) | BIT(15)); in s_uFillDataHead() local
602 buf->duration = dur; in s_uFillDataHead()
/Linux-v4.19/drivers/staging/rtl8712/
Dwifi.h263 #define SetDuration(pbuf, dur) ({ \ argument
265 cpu_to_le16(0xffff & (dur)); \
/Linux-v4.19/drivers/char/tpm/
Dtpm_tis_core.c462 unsigned long dur; in tpm_tis_send_main() local
477 dur = tpm2_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
479 dur = tpm_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
482 (chip, TPM_STS_DATA_AVAIL | TPM_STS_VALID, dur, in tpm_tis_send_main()
/Linux-v4.19/drivers/staging/vt6656/
Drxtx.c282 __le16 dur = cpu_to_le16(priv->current_aid | BIT(14) | BIT(15)); in vnt_rxtx_datahead_g() local
284 buf->duration_a = dur; in vnt_rxtx_datahead_g()
285 buf->duration_b = dur; in vnt_rxtx_datahead_g()
375 __le16 dur = cpu_to_le16(priv->current_aid | BIT(14) | BIT(15)); in vnt_rxtx_datahead_ab() local
377 buf->duration = dur; in vnt_rxtx_datahead_ab()
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Dwifi.h231 #define SetDuration(pbuf, dur) \ argument
232 *(__le16 *)((size_t)(pbuf) + 2) = cpu_to_le16(0xffff & (dur))
/Linux-v4.19/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()
3615 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
3625 freq, dur); in ath6kl_wmi_remain_on_chnl_cmd()
3628 p->duration = cpu_to_le32(dur); in ath6kl_wmi_remain_on_chnl_cmd()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dwifi.h307 #define SetDuration(pbuf, dur) \ argument
308 *(__le16 *)((size_t)(pbuf) + 2) = cpu_to_le16(0xffff & (dur))

12