Home
last modified time | relevance | path

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

/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.c167 ack_ts, st_ts->tstamp, st_ts->dur, in ath_dynack_compute_to()
170 if (ack_ts > st_ts->tstamp + st_ts->dur) { in ath_dynack_compute_to()
171 ackto = ack_ts - st_ts->tstamp - st_ts->dur; in ath_dynack_compute_to()
215 u32 dur = ts->duration; in ath_dynack_sample_tx_ts() local
265 dur -= ath_dynack_get_sifs(ah, phy); in ath_dynack_sample_tx_ts()
267 da->st_rbf.ts[da->st_rbf.t_rb].dur = dur; in ath_dynack_sample_tx_ts()
274 hdr->addr1, ts->ts_tstamp, dur, da->st_rbf.h_rb, in ath_dynack_sample_tx_ts()
Ddynack.h38 u32 dur; member
/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()
/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()
/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()
/drivers/staging/wlan-ng/
Dp80211hdr.h153 u16 dur; member
162 u16 dur; member
Dp80211conv.c226 p80211_hdr->a3.dur = 0; in skb_ether_to_p80211()
/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()
/drivers/net/wireless/ath/
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()
Ddfs_pri_detector.h38 u32 dur; member
/drivers/net/wireless/admtek/
Dadm8211.c1569 static void adm8211_calc_durations(int *dur, int *plcp, size_t payload_len, int len, in adm8211_calc_durations() argument
1588 *dur = (80 * (24 + payload_len) + plcp_signal - 1) in adm8211_calc_durations()
1593 *dur += 3 * (IEEE80211_DUR_DS_SIFS + in adm8211_calc_durations()
1599 *dur += 3 * (IEEE80211_DUR_DS_SIFS + in adm8211_calc_durations()
1606 *dur += 3 * (IEEE80211_DUR_DS_LONG_PREAMBLE - in adm8211_calc_durations()
1679 int plcp, dur, len, plcp_signal, short_preamble; in adm8211_tx() local
1706 adm8211_calc_durations(&dur, &plcp, payload_len, in adm8211_tx()
1710 txhdr->dur_frag_head = cpu_to_le16(dur); in adm8211_tx()
1711 txhdr->dur_frag_tail = cpu_to_le16(dur); in adm8211_tx()
/drivers/staging/vt6655/
Drxtx.c458 __le16 dur = cpu_to_le16(pDevice->current_aid | BIT(14) | BIT(15)); in s_uFillDataHead() local
460 buf->duration_a = dur; in s_uFillDataHead()
461 buf->duration_b = dur; in s_uFillDataHead()
529 __le16 dur = cpu_to_le16(pDevice->current_aid | BIT(14) | BIT(15)); in s_uFillDataHead() local
531 buf->duration = dur; in s_uFillDataHead()
551 __le16 dur = cpu_to_le16(pDevice->current_aid | BIT(14) | BIT(15)); in s_uFillDataHead() local
553 buf->duration = dur; in s_uFillDataHead()
/drivers/staging/rtl8712/
Dwifi.h251 #define SetDuration(pbuf, dur) ({ \ argument
253 cpu_to_le16(0xffff & (dur)); \
/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
/drivers/staging/rtl8188eu/include/
Dwifi.h199 #define SetDuration(pbuf, dur) \ argument
200 *(__le16 *)((size_t)(pbuf) + 2) = cpu_to_le16(0xffff & (dur))
/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()
3621 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
3631 freq, dur); in ath6kl_wmi_remain_on_chnl_cmd()
3634 p->duration = cpu_to_le32(dur); in ath6kl_wmi_remain_on_chnl_cmd()
Dwmi.h2701 u32 dur);
/drivers/char/tpm/
Dtpm_tis_core.c471 unsigned long dur; in tpm_tis_send_main() local
492 dur = tpm_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
494 (chip, TPM_STS_DATA_AVAIL | TPM_STS_VALID, dur, in tpm_tis_send_main()
/drivers/staging/rtl8723bs/include/
Dwifi.h307 #define SetDuration(pbuf, dur) \ argument
308 *(__le16 *)((size_t)(pbuf) + 2) = cpu_to_le16(0xffff & (dur))
/drivers/net/wireless/broadcom/b43legacy/
Dmain.c1025 __le16 dur; in b43legacy_write_probe_resp_plcp() local
1029 dur = ieee80211_generic_frame_duration(dev->wl->hw, in b43legacy_write_probe_resp_plcp()
1041 le16_to_cpu(dur)); in b43legacy_write_probe_resp_plcp()
1057 __le16 dur; in b43legacy_generate_probe_resp() local
1095 dur = ieee80211_generic_frame_duration(dev->wl->hw, in b43legacy_generate_probe_resp()
1100 hdr->duration_id = dur; in b43legacy_generate_probe_resp()
/drivers/net/wireless/ath/ath10k/
Dpci.c2236 unsigned long dur; in ath10k_pci_bmi_wait() local
2254 dur = jiffies - started; in ath10k_pci_bmi_wait()
2255 if (dur > HZ) in ath10k_pci_bmi_wait()
2258 dur, HZ, ret); in ath10k_pci_bmi_wait()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac80211.c2391 u32 dur = (11 * vif->bss_conf.beacon_int) / 10; in iwl_mvm_bss_info_changed_station() local
2392 iwl_mvm_protect_session(mvm, vif, dur, dur, in iwl_mvm_bss_info_changed_station()
2393 5 * dur, false); in iwl_mvm_bss_info_changed_station()