Home
last modified time | relevance | path

Searched refs:freq_offset (Results 1 – 25 of 25) 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/tuners/
H A Dxc4000.c79 u32 freq_hz, freq_offset; member
1153 priv->freq_offset = 1750000; in xc4000_set_params()
1160 priv->freq_offset = 1750000; in xc4000_set_params()
1169 priv->freq_offset = 2250000; in xc4000_set_params()
1171 priv->freq_offset = 2750000; in xc4000_set_params()
1177 priv->freq_offset = 1750000; in xc4000_set_params()
1181 priv->freq_offset = 2250000; in xc4000_set_params()
1185 priv->freq_offset = 2750000; in xc4000_set_params()
1196 priv->freq_hz = c->frequency - priv->freq_offset; in xc4000_set_params()
1519 *freq = priv->freq_hz + priv->freq_offset; in xc4000_get_frequency()
/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; global() member
[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 Doffchannel.c575 if (channel->freq_offset) in ieee80211_start_roc_work()
H A Dscan.c1005 local->scan_chandef.freq1_offset = chan->freq_offset; in ieee80211_scan_state_set_channel()
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.c179 .freq1_offset = channel->freq_offset, in ieee80211_determine_ap_chan()
1400 chanreq.oper.chan->freq_offset, chanreq.oper.width, in ieee80211_config_bw()
3003 csa_ie.chanreq.oper.chan->freq_offset, in ieee80211_sta_process_chanswitch()
H A Dcfg.c4402 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.c58 s64 freq_offset; member
202 *ffo = pin->freq_offset; in zl3073x_dpll_input_pin_ffo_get()
1796 if (pin->freq_offset != ref->ffo) { in zl3073x_dpll_pin_ffo_check()
1798 pin->label, pin->freq_offset, ref->ffo); in zl3073x_dpll_pin_ffo_check()
1799 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, __entr
[all...]
H A Dreg.c2014 chan->center_freq, chan->freq_offset); in handle_channel()
2019 chan->center_freq, chan->freq_offset); in handle_channel()
2545 chan->center_freq, chan->freq_offset); in handle_channel_custom()
3672 beacon_chan->center_freq, beacon_chan->freq_offset, in regulatory_hint_found_beacon()
H A Dcore.c921 if (WARN_ON(sband->channels[i].freq_offset >= 1000)) in wiphy_register()
H A Dscan.c1461 return (b->channel->center_freq * 1000 + b->channel->freq_offset) - in cmp_bss()
1462 (a->channel->center_freq * 1000 + a->channel->freq_offset); in cmp_bss()
H A Dnl80211.c1224 if (!large && chan->freq_offset) in nl80211_msg_put_channel()
1231 if (nla_put_u32(msg, NL80211_FREQUENCY_ATTR_OFFSET, chan->freq_offset)) in nl80211_msg_put_channel()
4214 chandef->chan->freq_offset)) in nl80211_send_chandef()
11687 res->channel->freq_offset) || in nl80211_send_bss()
11862 if (survey->channel && survey->channel->freq_offset && in nl80211_send_survey()
11864 survey->channel->freq_offset)) in nl80211_send_survey()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2800lib.c2449 u8 freq_offset, prev_freq_offset; in rt2800_freq_cal_mode1() local
2452 freq_offset = rt2x00_get_field8(rt2x00dev->freq_offset, RFCSR17_CODE); in rt2800_freq_cal_mode1()
2453 freq_offset = min_t(u8, freq_offset, FREQ_OFFSET_BOUND); in rt2800_freq_cal_mode1()
2458 rt2x00_set_field8(&rfcsr, RFCSR17_CODE, freq_offset); in rt2800_freq_cal_mode1()
2464 freq_offset, prev_rfcsr); in rt2800_freq_cal_mode1()
2469 while (prev_freq_offset != freq_offset) { in rt2800_freq_cal_mode1()
2470 if (prev_freq_offset < freq_offset) in rt2800_freq_cal_mode1()
2487 rt2x00_set_field32(&rf->rf4, RF4_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf2xxx()
2587 rt2x00_set_field8(&rfcsr, RFCSR23_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf3xxx()
2722 rt2x00_set_field8(&rfcsr, RFCSR23_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf3052()
[all …]
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/include/net/
H A Dcfg80211.h198 u16 freq_offset; member
6954 a->freq_offset == b->freq_offset); in ieee80211_channel_equal()
6965 return MHZ_TO_KHZ(chan->center_freq) + chan->freq_offset; in ieee80211_channel_to_khz()
/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.c8441 ev->freq_offset, ev->sidx); in ath11k_wmi_pdev_dfs_radar_detected_event()
/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c8746 ev->freq_offset, ev->sidx); in ath12k_wmi_pdev_dfs_radar_detected_event()