/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
D | ar9003_phy.c | 370 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 …]
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
D | xc5000.c | 45 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 …]
|
D | xc4000.c | 79 u32 freq_hz, freq_offset; member 1155 priv->freq_offset = 1750000; in xc4000_set_params() 1162 priv->freq_offset = 1750000; in xc4000_set_params() 1171 priv->freq_offset = 2250000; in xc4000_set_params() 1173 priv->freq_offset = 2750000; in xc4000_set_params() 1179 priv->freq_offset = 1750000; in xc4000_set_params() 1183 priv->freq_offset = 2250000; in xc4000_set_params() 1187 priv->freq_offset = 2750000; in xc4000_set_params() 1198 priv->freq_hz = c->frequency - priv->freq_offset; in xc4000_set_params() 1520 *freq = priv->freq_hz + priv->freq_offset; in xc4000_get_frequency()
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | trace.h | 41 __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; \ 1239 __field(int, freq_offset) 1248 __entry->freq_offset = chan->freq_offset; 1256 __entry->center_freq, __entry->freq_offset, 1565 u32 freq_offset; member 1618 SWITCH_ENTRY_ASSIGN(old_chandef.freq_offset, 1619 old_ctx->def.chan->freq_offset); [all …]
|
D | main.c | 110 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()
|
D | offchannel.c | 540 if (channel->freq_offset) in ieee80211_start_roc_work()
|
D | scan.c | 947 local->scan_chandef.freq1_offset = chan->freq_offset; in ieee80211_scan_state_set_channel()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | sp887x.c | 311 int freq_offset = actual_freq - p->frequency; in sp887x_correct_offsets() local 331 freq = ifreq - freq_offset; in sp887x_correct_offsets() 333 freq = ifreq + freq_offset; in sp887x_correct_offsets()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | eeprom.c | 101 caldata->freq_offset = val; in mt76x0_set_freq_offset() 107 caldata->freq_offset -= mt76x02_sign_extend(val, 8); in mt76x0_set_freq_offset()
|
D | phy.c | 1189 min_t(u8, dev->cal.rx.freq_offset, 0xbf)); in mt76x0_phy_rf_init()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
D | testmode.c | 346 td->freq_offset = nla_get_u32(tb[MT76_TM_ATTR_FREQ_OFFSET]); in mt76_testmode_cmd() 480 nla_put_u8(msg, MT76_TM_ATTR_FREQ_OFFSET, td->freq_offset))) in mt76_testmode_dump()
|
D | mt76x02.h | 34 u8 freq_offset; member
|
D | mt76.h | 534 u32 freq_offset; member
|
/kernel/linux/linux-5.10/net/wireless/ |
D | trace.h | 118 __field(u16, freq_offset) 124 __entry->freq_offset = chan->freq_offset; \ 128 __entry->freq_offset = 0; \ 132 #define CHAN_PR_ARG __entry->band, __entry->center_freq, __entry->freq_offset 136 __field(u32, freq_offset) \ 147 __entry->freq_offset = \ 148 (chandef)->chan->freq_offset; \ 156 __entry->freq_offset = 0; \ 166 __entry->freq_offset, __entry->width, \
|
D | reg.c | 2006 chan->center_freq, chan->freq_offset); in handle_channel() 2011 chan->center_freq, chan->freq_offset); in handle_channel() 2499 chan->center_freq, chan->freq_offset); in handle_channel_custom() 3592 beacon_chan->center_freq, beacon_chan->freq_offset, in regulatory_hint_found_beacon()
|
D | chan.c | 31 chandef->freq1_offset = chan->freq_offset; in cfg80211_chandef_create()
|
D | core.c | 850 if (WARN_ON(sband->channels[i].freq_offset >= 1000)) in wiphy_register()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | testmode.c | 257 en, en ? td->freq_offset : 0); in mt7615_tm_update_params()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 2315 u8 freq_offset, prev_freq_offset; in rt2800_freq_cal_mode1() local 2318 freq_offset = rt2x00_get_field8(rt2x00dev->freq_offset, RFCSR17_CODE); in rt2800_freq_cal_mode1() 2319 freq_offset = min_t(u8, freq_offset, FREQ_OFFSET_BOUND); in rt2800_freq_cal_mode1() 2324 rt2x00_set_field8(&rfcsr, RFCSR17_CODE, freq_offset); in rt2800_freq_cal_mode1() 2330 freq_offset, prev_rfcsr); in rt2800_freq_cal_mode1() 2335 while (prev_freq_offset != freq_offset) { in rt2800_freq_cal_mode1() 2336 if (prev_freq_offset < freq_offset) in rt2800_freq_cal_mode1() 2353 rt2x00_set_field32(&rf->rf4, RF4_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf2xxx() 2453 rt2x00_set_field8(&rfcsr, RFCSR23_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf3xxx() 2588 rt2x00_set_field8(&rfcsr, RFCSR23_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf3052() [all …]
|
D | rt2x00.h | 907 u8 freq_offset; member
|
D | rt73usb.c | 753 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()
|
D | rt61pci.c | 781 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()
|
/kernel/linux/linux-5.10/include/net/ |
D | cfg80211.h | 168 u16 freq_offset; member 5363 a->freq_offset == b->freq_offset); in ieee80211_channel_equal() 5374 return MHZ_TO_KHZ(chan->center_freq) + chan->freq_offset; in ieee80211_channel_to_khz()
|
D | mac80211.h | 1409 u16 freq: 13, freq_offset: 1; member 1429 (rx_status->freq_offset ? 500 : 0); in ieee80211_rx_status_to_khz()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ |
D | mac80211_hwsim.c | 418 channels[ch].freq_offset = freq % 1000; in hwsim_init_s1g_channels() 1396 rx_status.freq_offset = chan->freq_offset ? 1 : 0; in mac80211_hwsim_tx_frame_no_nl()
|