Home
last modified time | relevance | path

Searched refs:freq_offset (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_phy.c370 int freq_offset, in ar9003_hw_spur_ofdm() argument
408 mask_index = (freq_offset << 4) / 5; in ar9003_hw_spur_ofdm()
437 int freq_offset) in ar9003_hw_spur_ofdm_9565() argument
441 mask_index = (freq_offset << 4) / 5; in ar9003_hw_spur_ofdm_9565()
471 int freq_offset, in ar9003_hw_spur_ofdm_work() argument
480 if (freq_offset < 0) { in ar9003_hw_spur_ofdm_work()
487 spur_freq_sd = ((freq_offset + 10) << 9) / 11; in ar9003_hw_spur_ofdm_work()
496 spur_freq_sd = ((freq_offset - 10) << 9) / 11; in ar9003_hw_spur_ofdm_work()
500 spur_delta_phase = (freq_offset << 17) / 5; in ar9003_hw_spur_ofdm_work()
504 spur_freq_sd = (freq_offset << 9) /11; in ar9003_hw_spur_ofdm_work()
[all …]
/linux/drivers/media/dvb-frontends/
H A Dsp887x.c309 int freq_offset = actual_freq - p->frequency; in sp887x_correct_offsets() local
329 freq = ifreq - freq_offset; in sp887x_correct_offsets()
331 freq = ifreq + freq_offset; in sp887x_correct_offsets()
/linux/net/mac80211/
H A Dtrace.h41 __field(u32, freq_offset) \
48 __entry->freq_offset = (c) ? ((c)->chan ? (c)->chan->freq_offset : 0) : 0; \
54 #define CHANDEF_PR_ARG __entry->control_freq, __entry->freq_offset, __entry->chan_width, \
67 __entry->min_freq_offset = (c)->chan ? (c)->chan->freq_offset : 0; \
88 __entry->ap_freq_offset = (c)->chan ? (c)->chan->freq_offset : 0;\
1402 __field(int, freq_offset)
1411 __entry->freq_offset = chan->freq_offset;
1419 __entry->center_freq, __entry->freq_offset,
1749 u32 freq_offset; member
1804 SWITCH_ENTRY_ASSIGN(old_chandef.freq_offset,
[all …]
H A Dmain.c128 chandef.freq1_offset = chandef.chan->freq_offset; in ieee80211_calc_hw_conf_chan()
138 chandef.chan ? chandef.chan->freq_offset : 0, in ieee80211_calc_hw_conf_chan()
H A Dtdls.c1634 if (chandef->chan->freq_offset) in ieee80211_tdls_channel_switch()
H A Dibss.c1723 if (params->chandef.chan->freq_offset) { in ieee80211_ibss_join()
H A Dmlme.c178 .freq1_offset = channel->freq_offset, in ieee80211_determine_ap_chan()
1333 chanreq.oper.chan->freq_offset, chanreq.oper.width, in ieee80211_config_bw()
2918 csa_ie.chanreq.oper.chan->freq_offset, in ieee80211_sta_process_chanswitch()
H A Dcfg.c4372 if (params->chandef.chan->freq_offset) { in __ieee80211_channel_switch()
/linux/sound/soc/kirkwood/
H A Dkirkwood-i2s.c91 u16 freq_offset = 0x22b0; in armada_38x_set_pll() local
106 freq_offset = 0x735; in armada_38x_set_pll()
133 reg_val |= freq_offset; in armada_38x_set_pll()
/linux/drivers/dpll/zl3073x/
H A Ddpll.c56 s64 freq_offset; member
186 *ffo = pin->freq_offset; in zl3073x_dpll_input_pin_ffo_get()
1722 if (pin->freq_offset != ref->ffo) { in zl3073x_dpll_pin_ffo_check()
1724 pin->label, pin->freq_offset, ref->ffo); in zl3073x_dpll_pin_ffo_check()
1725 pin->freq_offset = ref->ffo; in zl3073x_dpll_pin_ffo_check()
/linux/net/wireless/
H A Dtrace.h121 __field(u16, freq_offset)
127 __entry->freq_offset = chan->freq_offset; \
131 __entry->freq_offset = 0; \
135 #define CHAN_PR_ARG __entry->band, __entry->center_freq, __entry->freq_offset
139 __field(u32, freq_offset) \
151 __entry->freq_offset = \
152 (chandef)->chan->freq_offset; \
161 __entry->freq_offset = 0; \
172 __entry->freq_offset, __entry->width, \
H A Dcore.c923 if (WARN_ON(sband->channels[i].freq_offset >= 1000)) in wiphy_register()
H A Dscan.c1462 return (b->channel->center_freq * 1000 + b->channel->freq_offset) - in cmp_bss()
1463 (a->channel->center_freq * 1000 + a->channel->freq_offset); in cmp_bss()
H A Dnl80211.c1211 if (!large && chan->freq_offset) in nl80211_msg_put_channel()
1218 if (nla_put_u32(msg, NL80211_FREQUENCY_ATTR_OFFSET, chan->freq_offset)) in nl80211_msg_put_channel()
4158 chandef->chan->freq_offset)) in nl80211_send_chandef()
11566 res->channel->freq_offset) || in nl80211_send_bss()
11741 if (survey->channel && survey->channel->freq_offset && in nl80211_send_survey()
11743 survey->channel->freq_offset)) in nl80211_send_survey()
/linux/include/net/
H A Dcfg80211.h196 u16 freq_offset; member
6876 a->freq_offset == b->freq_offset); in ieee80211_channel_equal()
6887 return MHZ_TO_KHZ(chan->center_freq) + chan->freq_offset; in ieee80211_channel_to_khz()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt73usb.c753 rt2x00_set_field32(&rf->rf4, RF4_FREQ_OFFSET, rt2x00dev->freq_offset); in rt73usb_config_channel()
1900 rt2x00dev->freq_offset = rt2x00_get_field16(eeprom, EEPROM_FREQ_OFFSET); in rt73usb_init_eeprom()
H A Drt61pci.c781 rt2x00_set_field32(&rf->rf4, RF4_FREQ_OFFSET, rt2x00dev->freq_offset); in rt61pci_config_channel()
2467 rt2x00dev->freq_offset = rt2x00_get_field16(eeprom, EEPROM_FREQ_OFFSET); in rt61pci_init_eeprom()
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c528 chans[ch].freq_offset = freq % 1000; in hwsim_init_s1g_channels()
1788 rx_status.freq_offset = chan->freq_offset ? 1 : 0; in mac80211_hwsim_tx_frame_no_nl()
/linux/drivers/net/wireless/ath/ath11k/
H A Dwmi.c8390 ev->freq_offset, ev->sidx); in ath11k_wmi_pdev_dfs_radar_detected_event()