/linux-6.3-rc2/drivers/media/tuners/ |
A D | msi001.c | 38 struct v4l2_ctrl *lna_gain; member 56 static int msi001_set_gain(struct msi001_dev *dev, int lna_gain, int mixer_gain, in msi001_set_gain() argument 64 lna_gain, mixer_gain, if_gain); in msi001_set_gain() 70 reg |= (1 - lna_gain) << 13; in msi001_set_gain() 267 ret = msi001_set_gain(dev, dev->lna_gain->cur.val, in msi001_set_tuner() 396 ret = msi001_set_gain(dev, dev->lna_gain->val, in msi001_s_ctrl() 401 ret = msi001_set_gain(dev, dev->lna_gain->cur.val, in msi001_s_ctrl() 406 ret = msi001_set_gain(dev, dev->lna_gain->cur.val, in msi001_s_ctrl() 453 dev->lna_gain = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops, in msi001_probe()
|
A D | fc0012.c | 344 int int_temp, lna_gain, int_lna, tot_agc_gain, power; in fc0012_get_rf_strength() local 372 lna_gain = tmp & 0x1f; in fc0012_get_rf_strength() 377 if (lna_gain < ARRAY_SIZE(fc0012_lna_gain_table)) { in fc0012_get_rf_strength() 378 int_lna = fc0012_lna_gain_table[lna_gain]; in fc0012_get_rf_strength()
|
A D | fc0013.c | 503 int int_temp, lna_gain, int_lna, tot_agc_gain, power; in fc0013_get_rf_strength() local 531 lna_gain = tmp & 0x1f; in fc0013_get_rf_strength() 536 if (lna_gain < ARRAY_SIZE(fc0013_lna_gain_table)) { in fc0013_get_rf_strength() 537 int_lna = fc0013_lna_gain_table[lna_gain]; in fc0013_get_rf_strength()
|
A D | e4000_priv.h | 32 struct v4l2_ctrl *lna_gain; member
|
A D | e4000.c | 383 dev->lna_gain->cur.val, dev->lna_gain->val); in e4000_set_lna_gain() 399 ret = regmap_write(dev->regmap, 0x14, dev->lna_gain->val); in e4000_set_lna_gain() 666 dev->lna_gain = v4l2_ctrl_new_std(&dev->hdl, &e4000_ctrl_ops, in e4000_probe()
|
/linux-6.3-rc2/drivers/staging/pi433/ |
A D | pi433_if.h | 110 enum lna_gain lna_gain; member
|
A D | rf69.h | 36 int rf69_set_lna_gain(struct spi_device *spi, enum lna_gain lna_gain);
|
A D | rf69.c | 426 int rf69_set_lna_gain(struct spi_device *spi, enum lna_gain lna_gain) in rf69_set_lna_gain() argument 438 if (unlikely(lna_gain >= ARRAY_SIZE(lna_gain_map))) { in rf69_set_lna_gain() 439 dev_dbg(&spi->dev, "set: illegal lna gain %u\n", lna_gain); in rf69_set_lna_gain() 444 lna_gain_map[lna_gain]); in rf69_set_lna_gain()
|
A D | rf69_enum.h | 59 enum lna_gain { enum
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43/ |
A D | lo.c | 310 gphy->lna_gain = 2; in lo_measure_gain_values() 312 gphy->lna_gain = 0; in lo_measure_gain_values() 314 gphy->lna_gain = 0; in lo_measure_gain_values() 618 feedth = lo_measure_feedthrough(dev, gphy->lna_gain, in lo_probe_possible_loctls() 666 feedth = lo_measure_feedthrough(dev, gphy->lna_gain, in lo_probe_loctls_statemachine() 674 feedth = lo_measure_feedthrough(dev, gphy->lna_gain, in lo_probe_loctls_statemachine()
|
A D | phy_g.h | 162 s16 lna_gain; /* LNA */ member
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt7601u/ |
A D | eeprom.h | 98 s8 lna_gain; member
|
A D | phy.c | 257 val -= dev->ee->lna_gain; in mt7601u_phy_get_rssi() 366 { 62, 0x37 - dev->ee->lna_gain }, in __mt7601u_phy_set_channel() 367 { 63, 0x37 - dev->ee->lna_gain }, in __mt7601u_phy_set_channel() 368 { 64, 0x37 - dev->ee->lna_gain }, in __mt7601u_phy_set_channel() 950 return (dev->ee->lna_gain - 8) * 2 + 0x34; in mt7601u_agc_default()
|
A D | debugfs.c | 90 seq_printf(file, "LNA gain: %hhx\n", dev->ee->lna_gain); in mt7601u_eeprom_param_show()
|
A D | eeprom.c | 382 dev->ee->lna_gain = eeprom[MT_EE_LNA_GAIN]; in mt7601u_eeprom_init()
|
/linux-6.3-rc2/drivers/media/dvb-frontends/ |
A D | cx24113.c | 55 u8 lna_gain:2; member 144 r |= state->lna_gain; in cx24113_set_parameters() 442 state->lna_gain = LNA_MAX_GAIN; in cx24113_init()
|
/linux-6.3-rc2/drivers/media/usb/airspy/ |
A D | airspy.c | 137 struct v4l2_ctrl *lna_gain; member 870 s->lna_gain->cur.val, s->lna_gain->val); in airspy_set_lna_gain() 878 ret = airspy_ctrl_msg(s, CMD_SET_LNA_GAIN, 0, s->lna_gain->val, in airspy_set_lna_gain() 1043 s->lna_gain = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops, in airspy_probe()
|
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2800lib.c | 2346 short lna_gain; in rt2800_config_lna_gain() local 2358 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain() 2362 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain() 2369 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain() 2373 lna_gain = rt2x00_get_field16(eeprom, in rt2800_config_lna_gain() 2378 rt2x00dev->lna_gain = lna_gain; in rt2800_config_lna_gain() 4344 reg = 0x1c + (2 * rt2x00dev->lna_gain); in rt2800_config_channel() 4385 reg = 0x1c + 2 * rt2x00dev->lna_gain; in rt2800_config_channel() 4402 reg = 0x2e + rt2x00dev->lna_gain; in rt2800_config_channel() 5723 vgc = 0x1c + (2 * rt2x00dev->lna_gain); in rt2800_get_default_vgc() [all …]
|
A D | rt73usb.c | 729 short lna_gain = 0; in rt73usb_config_lna_gain() local 733 lna_gain += 14; in rt73usb_config_lna_gain() 736 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_BG_1); in rt73usb_config_lna_gain() 739 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_A_1); in rt73usb_config_lna_gain() 742 rt2x00dev->lna_gain = lna_gain; in rt73usb_config_lna_gain() 1634 u8 offset = rt2x00dev->lna_gain; in rt73usb_agc_to_rssi()
|
A D | rt61pci.c | 754 short lna_gain = 0; in rt61pci_config_lna_gain() local 758 lna_gain += 14; in rt61pci_config_lna_gain() 761 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_BG_1); in rt61pci_config_lna_gain() 764 lna_gain += 14; in rt61pci_config_lna_gain() 767 lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_A_1); in rt61pci_config_lna_gain() 770 rt2x00dev->lna_gain = lna_gain; in rt61pci_config_lna_gain() 1968 u8 offset = rt2x00dev->lna_gain; in rt61pci_agc_to_rssi()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtl8xxxu/ |
A D | rtl8xxxu_8192e.c | 1752 s8 lna_gain = 0; in rtl8192e_cck_rssi() local 1758 lna_gain = lna_gain_table_0[lna_idx]; in rtl8192e_cck_rssi() 1760 lna_gain = lna_gain_table_1[lna_idx]; in rtl8192e_cck_rssi() 1762 rx_pwr_all = lna_gain - (2 * vga_idx); in rtl8192e_cck_rssi()
|
A D | rtl8xxxu_8188e.c | 1338 s8 lna_gain = 0; in rtl8188e_cck_rssi() local 1344 lna_gain = lna_gain_table_0[lna_idx]; in rtl8188e_cck_rssi() 1346 lna_gain = lna_gain_table_1[lna_idx]; in rtl8188e_cck_rssi() 1348 rx_pwr_all = lna_gain - (2 * vga_idx); in rtl8188e_cck_rssi()
|
/linux-6.3-rc2/drivers/media/i2c/ |
A D | max2175.c | 269 struct v4l2_ctrl *lna_gain; /* LNA gain value */ member 1346 ctx->lna_gain = v4l2_ctrl_new_std(hdl, &max2175_ctrl_ops, in max2175_probe() 1349 ctx->lna_gain->flags |= (V4L2_CTRL_FLAG_VOLATILE | in max2175_probe()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/ |
A D | mt76x02.h | 31 s8 lna_gain; member
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt76x0/ |
A D | eeprom.c | 119 caldata->lna_gain = mt76x02_get_lna_gain(dev, &lna_2g, lna_5g, chan); in mt76x0_read_rx_gain()
|