Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/ath/ath9k/
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-v5.4/drivers/media/tuners/
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 …]
Dxc4000.c79 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()
/Linux-v5.4/drivers/media/dvb-frontends/
Dsp887x.c311 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()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt76x0/
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()
Dphy.c1191 min_t(u8, dev->cal.rx.freq_offset, 0xbf)); in mt76x0_phy_rf_init()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/
Dmt76x02.h31 u8 freq_offset; member
/Linux-v5.4/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c2318 u8 freq_offset, prev_freq_offset; in rt2800_freq_cal_mode1() local
2321 freq_offset = rt2x00_get_field8(rt2x00dev->freq_offset, RFCSR17_CODE); in rt2800_freq_cal_mode1()
2322 freq_offset = min_t(u8, freq_offset, FREQ_OFFSET_BOUND); in rt2800_freq_cal_mode1()
2327 rt2x00_set_field8(&rfcsr, RFCSR17_CODE, freq_offset); in rt2800_freq_cal_mode1()
2333 freq_offset, prev_rfcsr); in rt2800_freq_cal_mode1()
2338 while (prev_freq_offset != freq_offset) { in rt2800_freq_cal_mode1()
2339 if (prev_freq_offset < freq_offset) in rt2800_freq_cal_mode1()
2356 rt2x00_set_field32(&rf->rf4, RF4_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf2xxx()
2456 rt2x00_set_field8(&rfcsr, RFCSR23_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf3xxx()
2591 rt2x00_set_field8(&rfcsr, RFCSR23_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf3052()
[all …]
Drt2x00.h907 u8 freq_offset; member
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()
Drt61pci.c781 rt2x00_set_field32(&rf->rf4, RF4_FREQ_OFFSET, rt2x00dev->freq_offset); in rt61pci_config_channel()
2463 rt2x00dev->freq_offset = rt2x00_get_field16(eeprom, EEPROM_FREQ_OFFSET); in rt61pci_init_eeprom()