/linux/drivers/net/wireless/ath/ath9k/ |
H A 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 …]
|
/linux/drivers/media/tuners/ |
H A 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 …]
|
H A D | xc4000.c | 79 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 D | sp887x.c | 309 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/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | testmode.h | 16 __le32 freq_offset; member
|
H A D | testmode.c | 81 .param.freq.freq_offset = cpu_to_le32(val), in mt7915_tm_set_freq_offset() 644 mt7915_tm_set_freq_offset(phy, en, en ? td->freq_offset : 0); in mt7915_tm_update_params()
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A 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()
|
/linux/sound/soc/kirkwood/ |
H A D | kirkwood-i2s.c | 91 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/net/wireless/mediatek/mt76/ |
H A D | testmode.c | 477 td->freq_offset = nla_get_u32(tb[MT76_TM_ATTR_FREQ_OFFSET]); in mt76_testmode_cmd() 642 nla_put_u8(msg, MT76_TM_ATTR_FREQ_OFFSET, td->freq_offset))) in mt76_testmode_dump()
|
H A D | mt76x02.h | 34 u8 freq_offset; member
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | testmode.c | 253 en, en ? td->freq_offset : 0); in mt7615_tm_update_params()
|
/linux/net/wireless/ |
H A D | reg.c | 2042 chan->center_freq, chan->freq_offset); in handle_channel() 2047 chan->center_freq, chan->freq_offset); in handle_channel() 2564 chan->center_freq, chan->freq_offset); in handle_channel_custom() 3691 beacon_chan->center_freq, beacon_chan->freq_offset, in regulatory_hint_found_beacon()
|
H A D | core.c | 919 if (WARN_ON(sband->channels[i].freq_offset >= 1000)) in wiphy_register()
|
H A D | nl80211.c | 1129 if (!large && chan->freq_offset) in nl80211_msg_put_channel() 1136 if (nla_put_u32(msg, NL80211_FREQUENCY_ATTR_OFFSET, chan->freq_offset)) in nl80211_msg_put_channel() 3931 chandef->chan->freq_offset)) in nl80211_send_chandef() 10511 res->channel->freq_offset) || in nl80211_send_bss() 10686 if (survey->channel && survey->channel->freq_offset && in nl80211_send_survey() 10688 survey->channel->freq_offset)) in nl80211_send_survey()
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00.h | 907 u8 freq_offset; member
|
H A 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()
|
H A 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()
|
/linux/net/mac80211/ |
H A D | offchannel.c | 574 if (channel->freq_offset) in ieee80211_start_roc_work()
|
H A D | scan.c | 974 local->scan_chandef.freq1_offset = chan->freq_offset; in ieee80211_scan_state_set_channel()
|
H A D | mlme.c | 175 .freq1_offset = channel->freq_offset, in ieee80211_determine_ap_chan() 1164 chanreq.oper.chan->freq_offset, chanreq.oper.width, in ieee80211_config_bw() 2651 csa_ie.chanreq.oper.chan->freq_offset, in ieee80211_sta_process_chanswitch()
|
H A D | cfg.c | 4066 if (params->chandef.chan->freq_offset) { in __ieee80211_channel_switch()
|
/linux/include/net/ |
H A D | mac80211.h | 1649 u16 freq: 13, freq_offset: 1; member 1679 (rx_status->freq_offset ? 500 : 0); in ieee80211_rx_status_to_khz()
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | wmi.h | 4297 a_sle32 freq_offset; member
|
H A D | wmi.c | 6994 ev->freq_offset, ev->sidx); in ath12k_wmi_pdev_dfs_radar_detected_event()
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | wmi.h | 4858 s32 freq_offset; member
|