Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dar9003_phy.c388 int freq_offset, in ar9003_hw_spur_ofdm() argument
426 mask_index = (freq_offset << 4) / 5; in ar9003_hw_spur_ofdm()
455 int freq_offset) in ar9003_hw_spur_ofdm_9565() argument
459 mask_index = (freq_offset << 4) / 5; in ar9003_hw_spur_ofdm_9565()
489 int freq_offset, in ar9003_hw_spur_ofdm_work() argument
498 if (freq_offset < 0) { in ar9003_hw_spur_ofdm_work()
505 spur_freq_sd = ((freq_offset + 10) << 9) / 11; in ar9003_hw_spur_ofdm_work()
514 spur_freq_sd = ((freq_offset - 10) << 9) / 11; in ar9003_hw_spur_ofdm_work()
518 spur_delta_phase = (freq_offset << 17) / 5; in ar9003_hw_spur_ofdm_work()
522 spur_freq_sd = (freq_offset << 9) /11; in ar9003_hw_spur_ofdm_work()
[all …]
/Linux-v4.19/drivers/media/tuners/
Dxc5000.c55 u32 freq_hz, freq_offset; member
755 priv->freq_offset = 1750000; in xc5000_set_digital_params()
761 priv->freq_offset = 1750000; in xc5000_set_digital_params()
777 priv->freq_offset = 1750000; in xc5000_set_digital_params()
781 priv->freq_offset = 2250000; in xc5000_set_digital_params()
785 priv->freq_offset = 2750000; in xc5000_set_digital_params()
799 priv->freq_offset = 1750000; in xc5000_set_digital_params()
803 priv->freq_offset = 2250000; in xc5000_set_digital_params()
807 priv->freq_offset = 2750000; in xc5000_set_digital_params()
818 priv->freq_hz = freq - priv->freq_offset; in xc5000_set_digital_params()
[all …]
Dxc4000.c88 u32 freq_hz, freq_offset; member
1165 priv->freq_offset = 1750000; in xc4000_set_params()
1172 priv->freq_offset = 1750000; in xc4000_set_params()
1181 priv->freq_offset = 2250000; in xc4000_set_params()
1183 priv->freq_offset = 2750000; in xc4000_set_params()
1189 priv->freq_offset = 1750000; in xc4000_set_params()
1193 priv->freq_offset = 2250000; in xc4000_set_params()
1197 priv->freq_offset = 2750000; in xc4000_set_params()
1208 priv->freq_hz = c->frequency - priv->freq_offset; in xc4000_set_params()
1530 *freq = priv->freq_hz + priv->freq_offset; in xc4000_get_frequency()
/Linux-v4.19/drivers/media/dvb-frontends/
Dsp887x.c310 int freq_offset = actual_freq - p->frequency; in sp887x_correct_offsets() local
330 freq = ifreq - freq_offset; in sp887x_correct_offsets()
332 freq = ifreq + freq_offset; in sp887x_correct_offsets()
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c2076 u8 freq_offset, prev_freq_offset; in rt2800_freq_cal_mode1() local
2079 freq_offset = rt2x00_get_field8(rt2x00dev->freq_offset, RFCSR17_CODE); in rt2800_freq_cal_mode1()
2080 freq_offset = min_t(u8, freq_offset, FREQ_OFFSET_BOUND); in rt2800_freq_cal_mode1()
2085 rt2x00_set_field8(&rfcsr, RFCSR17_CODE, freq_offset); in rt2800_freq_cal_mode1()
2091 freq_offset, prev_rfcsr); in rt2800_freq_cal_mode1()
2096 while (prev_freq_offset != freq_offset) { in rt2800_freq_cal_mode1()
2097 if (prev_freq_offset < freq_offset) in rt2800_freq_cal_mode1()
2114 rt2x00_set_field32(&rf->rf4, RF4_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf2xxx()
2214 rt2x00_set_field8(&rfcsr, RFCSR23_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf3xxx()
2347 rt2x00_set_field8(&rfcsr, RFCSR23_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf3052()
[all …]
Drt2x00.h914 u8 freq_offset; member
Drt73usb.c764 rt2x00_set_field32(&rf->rf4, RF4_FREQ_OFFSET, rt2x00dev->freq_offset); in rt73usb_config_channel()
1911 rt2x00dev->freq_offset = rt2x00_get_field16(eeprom, EEPROM_FREQ_OFFSET); in rt73usb_init_eeprom()
Drt61pci.c877 rt2x00_set_field32(&rf->rf4, RF4_FREQ_OFFSET, rt2x00dev->freq_offset); in rt61pci_config_channel()
2559 rt2x00dev->freq_offset = rt2x00_get_field16(eeprom, EEPROM_FREQ_OFFSET); in rt61pci_init_eeprom()