Home
last modified time | relevance | path

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

/drivers/media/tuners/
Dfc0012.c358 int int_temp, lna_gain, int_lna, tot_agc_gain, power; in fc0012_get_rf_strength() local
386 lna_gain = tmp & 0x1f; in fc0012_get_rf_strength()
391 if (lna_gain < ARRAY_SIZE(fc0012_lna_gain_table)) { in fc0012_get_rf_strength()
392 int_lna = fc0012_lna_gain_table[lna_gain]; in fc0012_get_rf_strength()
Dfc0013.c520 int int_temp, lna_gain, int_lna, tot_agc_gain, power; in fc0013_get_rf_strength() local
548 lna_gain = tmp & 0x1f; in fc0013_get_rf_strength()
553 if (lna_gain < ARRAY_SIZE(fc0013_lna_gain_table)) { in fc0013_get_rf_strength()
554 int_lna = fc0013_lna_gain_table[lna_gain]; in fc0013_get_rf_strength()
/drivers/net/wireless/b43/
Dlo.c323 gphy->lna_gain = 2; in lo_measure_gain_values()
325 gphy->lna_gain = 0; in lo_measure_gain_values()
327 gphy->lna_gain = 0; in lo_measure_gain_values()
631 feedth = lo_measure_feedthrough(dev, gphy->lna_gain, in lo_probe_possible_loctls()
679 feedth = lo_measure_feedthrough(dev, gphy->lna_gain, in lo_probe_loctls_statemachine()
687 feedth = lo_measure_feedthrough(dev, gphy->lna_gain, in lo_probe_loctls_statemachine()
Dphy_g.h161 s16 lna_gain; /* LNA */ member
Dphy_n.c444 static const u16 lna_gain[4] = { -2, 10, 19, 25 }; in b43_nphy_adjust_lna_gain_table() local
471 data[0] = lna_gain[0] + gain[i]; in b43_nphy_adjust_lna_gain_table()
472 data[1] = lna_gain[1] + gain[i]; in b43_nphy_adjust_lna_gain_table()
473 data[2] = lna_gain[2] + gain[i]; in b43_nphy_adjust_lna_gain_table()
474 data[3] = lna_gain[3] + gain[i]; in b43_nphy_adjust_lna_gain_table()
/drivers/media/dvb-frontends/
Dcx24113.c69 u8 lna_gain:2; member
158 r |= state->lna_gain; in cx24113_set_parameters()
456 state->lna_gain = LNA_MAX_GAIN; in cx24113_init()
/drivers/net/wireless/rt2x00/
Drt2800lib.c630 rssi0 = (rssi0) ? (-12 - offset0 - rt2x00dev->lna_gain - rssi0) : -128; in rt2800_agc_to_rssi()
631 rssi1 = (rssi1) ? (-12 - offset1 - rt2x00dev->lna_gain - rssi1) : -128; in rt2800_agc_to_rssi()
632 rssi2 = (rssi2) ? (-12 - offset2 - rt2x00dev->lna_gain - rssi2) : -128; in rt2800_agc_to_rssi()
1659 short lna_gain; in rt2800_config_lna_gain() local
1663 lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_BG); in rt2800_config_lna_gain()
1666 lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_A0); in rt2800_config_lna_gain()
1669 lna_gain = rt2x00_get_field16(eeprom, EEPROM_RSSI_BG2_LNA_A1); in rt2800_config_lna_gain()
1672 lna_gain = rt2x00_get_field16(eeprom, EEPROM_RSSI_A2_LNA_A2); in rt2800_config_lna_gain()
1675 rt2x00dev->lna_gain = lna_gain; in rt2800_config_lna_gain()
2441 rt2800_bbp_write(rt2x00dev, 62, 0x37 - rt2x00dev->lna_gain); in rt2800_config_channel_rf55xx()
[all …]
Drt73usb.c740 short lna_gain = 0; in rt73usb_config_lna_gain() local
744 lna_gain += 14; in rt73usb_config_lna_gain()
747 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_BG_1); in rt73usb_config_lna_gain()
750 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_A_1); in rt73usb_config_lna_gain()
753 rt2x00dev->lna_gain = lna_gain; in rt73usb_config_lna_gain()
1645 u8 offset = rt2x00dev->lna_gain; in rt73usb_agc_to_rssi()
Drt61pci.c850 short lna_gain = 0; in rt61pci_config_lna_gain() local
854 lna_gain += 14; in rt61pci_config_lna_gain()
857 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_BG_1); in rt61pci_config_lna_gain()
860 lna_gain += 14; in rt61pci_config_lna_gain()
863 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_A_1); in rt61pci_config_lna_gain()
866 rt2x00dev->lna_gain = lna_gain; in rt61pci_config_lna_gain()
2065 u8 offset = rt2x00dev->lna_gain; in rt61pci_agc_to_rssi()
Drt2x00.h894 short lna_gain; member
/drivers/net/wireless/b43legacy/
Db43legacy.h458 s16 lna_gain; /* LNA */ member