Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/
A Dar9003_phy.c370 int freq_offset, in ar9003_hw_spur_ofdm() argument
437 int freq_offset) in ar9003_hw_spur_ofdm_9565() argument
471 int freq_offset, in ar9003_hw_spur_ofdm_work() argument
480 if (freq_offset < 0) { in ar9003_hw_spur_ofdm_work()
512 freq_offset, in ar9003_hw_spur_ofdm_work()
525 int freq_offset = 0; in ar9003_hw_spur_mitigate_ofdm() local
549 freq_offset -= synth_freq; in ar9003_hw_spur_mitigate_ofdm()
550 if (abs(freq_offset) < range) { in ar9003_hw_spur_mitigate_ofdm()
555 freq_offset = in ar9003_hw_spur_mitigate_ofdm()
558 freq_offset -= synth_freq; in ar9003_hw_spur_mitigate_ofdm()
[all …]
/linux-6.3-rc2/drivers/media/tuners/
A Dxc5000.c45 u32 freq_hz, freq_offset; member
745 priv->freq_offset = 1750000; in xc5000_set_digital_params()
751 priv->freq_offset = 1750000; in xc5000_set_digital_params()
767 priv->freq_offset = 1750000; in xc5000_set_digital_params()
771 priv->freq_offset = 2250000; in xc5000_set_digital_params()
775 priv->freq_offset = 2750000; in xc5000_set_digital_params()
789 priv->freq_offset = 1750000; in xc5000_set_digital_params()
793 priv->freq_offset = 2250000; in xc5000_set_digital_params()
797 priv->freq_offset = 2750000; in xc5000_set_digital_params()
808 priv->freq_hz = freq - priv->freq_offset; in xc5000_set_digital_params()
[all …]
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()
1518 *freq = priv->freq_hz + priv->freq_offset; in xc4000_get_frequency()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7915/
A Dtestmode.h16 __le32 freq_offset; member
A Dtestmode.c81 .param.freq.freq_offset = cpu_to_le32(val), in mt7915_tm_set_freq_offset()
642 mt7915_tm_set_freq_offset(phy, en, en ? td->freq_offset : 0); in mt7915_tm_update_params()
/linux-6.3-rc2/drivers/media/dvb-frontends/
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-6.3-rc2/net/mac80211/
A Dtrace.h41 __field(u32, freq_offset) \
48 __entry->freq_offset = (c) ? ((c)->chan ? (c)->chan->freq_offset : 0) : 0; \
67 __entry->min_freq_offset = (c)->chan ? (c)->chan->freq_offset : 0; \
1276 __field(int, freq_offset)
1285 __entry->freq_offset = chan->freq_offset;
1293 __entry->center_freq, __entry->freq_offset,
1623 u32 freq_offset; member
1678 SWITCH_ENTRY_ASSIGN(old_chandef.freq_offset,
1679 old_ctx->def.chan->freq_offset);
1690 SWITCH_ENTRY_ASSIGN(new_chandef.freq_offset,
[all …]
A Dmain.c110 chandef.freq1_offset = chandef.chan->freq_offset; in ieee80211_hw_conf_chan()
116 chandef.chan->center_freq, chandef.chan->freq_offset, in ieee80211_hw_conf_chan()
A Doffchannel.c542 if (channel->freq_offset) in ieee80211_start_roc_work()
A Dscan.c953 local->scan_chandef.freq1_offset = chan->freq_offset; in ieee80211_scan_state_set_channel()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt76x0/
A Deeprom.c101 caldata->freq_offset = val; in mt76x0_set_freq_offset()
107 caldata->freq_offset -= mt76x02_sign_extend(val, 8); in mt76x0_set_freq_offset()
A Dphy.c1191 min_t(u8, dev->cal.rx.freq_offset, 0xbf)); in mt76x0_phy_rf_init()
/linux-6.3-rc2/sound/soc/kirkwood/
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-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dmt76x02.h34 u8 freq_offset; member
A Dtestmode.c476 td->freq_offset = nla_get_u32(tb[MT76_TM_ATTR_FREQ_OFFSET]); in mt76_testmode_cmd()
641 nla_put_u8(msg, MT76_TM_ATTR_FREQ_OFFSET, td->freq_offset))) in mt76_testmode_dump()
/linux-6.3-rc2/net/wireless/
A Dtrace.h116 __field(u16, freq_offset)
122 __entry->freq_offset = chan->freq_offset; \
126 __entry->freq_offset = 0; \
130 #define CHAN_PR_ARG __entry->band, __entry->center_freq, __entry->freq_offset
134 __field(u32, freq_offset) \
145 __entry->freq_offset = \
146 (chandef)->chan->freq_offset; \
154 __entry->freq_offset = 0; \
164 __entry->freq_offset, __entry->width, \
A Dreg.c2014 chan->center_freq, chan->freq_offset); in handle_channel()
2019 chan->center_freq, chan->freq_offset); in handle_channel()
2540 chan->center_freq, chan->freq_offset); in handle_channel_custom()
3664 beacon_chan->center_freq, beacon_chan->freq_offset, in regulatory_hint_found_beacon()
A Dchan.c31 chandef->freq1_offset = chan->freq_offset; in cfg80211_chandef_create()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7615/
A Dtestmode.c253 en, en ? td->freq_offset : 0); in mt7615_tm_update_params()
/linux-6.3-rc2/include/net/
A Dcfg80211.h178 u16 freq_offset; member
5964 a->freq_offset == b->freq_offset); in ieee80211_channel_equal()
5975 return MHZ_TO_KHZ(chan->center_freq) + chan->freq_offset; in ieee80211_channel_to_khz()
A Dmac80211.h1535 u16 freq: 13, freq_offset: 1; member
1566 (rx_status->freq_offset ? 500 : 0); in ieee80211_rx_status_to_khz()
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/
A Drt2800lib.c2390 u8 freq_offset, prev_freq_offset; in rt2800_freq_cal_mode1() local
2393 freq_offset = rt2x00_get_field8(rt2x00dev->freq_offset, RFCSR17_CODE); in rt2800_freq_cal_mode1()
2394 freq_offset = min_t(u8, freq_offset, FREQ_OFFSET_BOUND); in rt2800_freq_cal_mode1()
2399 rt2x00_set_field8(&rfcsr, RFCSR17_CODE, freq_offset); in rt2800_freq_cal_mode1()
2405 freq_offset, prev_rfcsr); in rt2800_freq_cal_mode1()
2410 while (prev_freq_offset != freq_offset) { in rt2800_freq_cal_mode1()
2411 if (prev_freq_offset < freq_offset) in rt2800_freq_cal_mode1()
2428 rt2x00_set_field32(&rf->rf4, RF4_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf2xxx()
2528 rt2x00_set_field8(&rfcsr, RFCSR23_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf3xxx()
2663 rt2x00_set_field8(&rfcsr, RFCSR23_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf3052()
[all …]
A Drt2x00.h917 u8 freq_offset; member
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()
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()

Completed in 120 milliseconds

12