lna_gain           55 drivers/media/dvb-frontends/cx24113.c 	u8 lna_gain:2;
lna_gain          144 drivers/media/dvb-frontends/cx24113.c 		r |= state->lna_gain;
lna_gain          442 drivers/media/dvb-frontends/cx24113.c 	state->lna_gain = LNA_MAX_GAIN;
lna_gain          269 drivers/media/i2c/max2175.c 	struct v4l2_ctrl *lna_gain;	/* LNA gain value */
lna_gain         1347 drivers/media/i2c/max2175.c 	ctx->lna_gain = v4l2_ctrl_new_std(hdl, &max2175_ctrl_ops,
lna_gain         1350 drivers/media/i2c/max2175.c 	ctx->lna_gain->flags |= (V4L2_CTRL_FLAG_VOLATILE |
lna_gain          383 drivers/media/tuners/e4000.c 		dev->lna_gain->cur.val, dev->lna_gain->val);
lna_gain          399 drivers/media/tuners/e4000.c 		ret = regmap_write(dev->regmap, 0x14, dev->lna_gain->val);
lna_gain          667 drivers/media/tuners/e4000.c 	dev->lna_gain = v4l2_ctrl_new_std(&dev->hdl, &e4000_ctrl_ops,
lna_gain           32 drivers/media/tuners/e4000_priv.h 	struct v4l2_ctrl *lna_gain;
lna_gain          344 drivers/media/tuners/fc0012.c 	int int_temp, lna_gain, int_lna, tot_agc_gain, power;
lna_gain          372 drivers/media/tuners/fc0012.c 	lna_gain = tmp & 0x1f;
lna_gain          377 drivers/media/tuners/fc0012.c 	if (lna_gain < ARRAY_SIZE(fc0012_lna_gain_table)) {
lna_gain          378 drivers/media/tuners/fc0012.c 		int_lna = fc0012_lna_gain_table[lna_gain];
lna_gain          503 drivers/media/tuners/fc0013.c 	int int_temp, lna_gain, int_lna, tot_agc_gain, power;
lna_gain          531 drivers/media/tuners/fc0013.c 	lna_gain = tmp & 0x1f;
lna_gain          536 drivers/media/tuners/fc0013.c 	if (lna_gain < ARRAY_SIZE(fc0013_lna_gain_table)) {
lna_gain          537 drivers/media/tuners/fc0013.c 		int_lna = fc0013_lna_gain_table[lna_gain];
lna_gain           38 drivers/media/tuners/msi001.c 	struct v4l2_ctrl *lna_gain;
lna_gain           56 drivers/media/tuners/msi001.c static int msi001_set_gain(struct msi001_dev *dev, int lna_gain, int mixer_gain,
lna_gain           64 drivers/media/tuners/msi001.c 		lna_gain, mixer_gain, if_gain);
lna_gain           70 drivers/media/tuners/msi001.c 	reg |= (1 - lna_gain) << 13;
lna_gain          267 drivers/media/tuners/msi001.c 	ret = msi001_set_gain(dev, dev->lna_gain->cur.val,
lna_gain          396 drivers/media/tuners/msi001.c 		ret = msi001_set_gain(dev, dev->lna_gain->val,
lna_gain          401 drivers/media/tuners/msi001.c 		ret = msi001_set_gain(dev, dev->lna_gain->cur.val,
lna_gain          406 drivers/media/tuners/msi001.c 		ret = msi001_set_gain(dev, dev->lna_gain->cur.val,
lna_gain          446 drivers/media/tuners/msi001.c 	dev->lna_gain = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops,
lna_gain          137 drivers/media/usb/airspy/airspy.c 	struct v4l2_ctrl *lna_gain;
lna_gain          869 drivers/media/usb/airspy/airspy.c 			s->lna_gain->cur.val, s->lna_gain->val);
lna_gain          877 drivers/media/usb/airspy/airspy.c 		ret = airspy_ctrl_msg(s, CMD_SET_LNA_GAIN, 0, s->lna_gain->val,
lna_gain         1032 drivers/media/usb/airspy/airspy.c 	s->lna_gain = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops,
lna_gain          310 drivers/net/wireless/broadcom/b43/lo.c 			gphy->lna_gain = 2;
lna_gain          312 drivers/net/wireless/broadcom/b43/lo.c 			gphy->lna_gain = 0;
lna_gain          314 drivers/net/wireless/broadcom/b43/lo.c 		gphy->lna_gain = 0;
lna_gain          618 drivers/net/wireless/broadcom/b43/lo.c 			feedth = lo_measure_feedthrough(dev, gphy->lna_gain,
lna_gain          666 drivers/net/wireless/broadcom/b43/lo.c 		feedth = lo_measure_feedthrough(dev, gphy->lna_gain,
lna_gain          674 drivers/net/wireless/broadcom/b43/lo.c 			feedth = lo_measure_feedthrough(dev, gphy->lna_gain,
lna_gain          162 drivers/net/wireless/broadcom/b43/phy_g.h 	s16 lna_gain;		/* LNA */
lna_gain          585 drivers/net/wireless/broadcom/b43/phy_n.c 	static const u16 lna_gain[4] = { -2, 10, 19, 25 };
lna_gain          612 drivers/net/wireless/broadcom/b43/phy_n.c 			data[0] = lna_gain[0] + gain[i];
lna_gain          613 drivers/net/wireless/broadcom/b43/phy_n.c 			data[1] = lna_gain[1] + gain[i];
lna_gain          614 drivers/net/wireless/broadcom/b43/phy_n.c 			data[2] = lna_gain[2] + gain[i];
lna_gain          615 drivers/net/wireless/broadcom/b43/phy_n.c 			data[3] = lna_gain[3] + gain[i];
lna_gain          459 drivers/net/wireless/broadcom/b43legacy/b43legacy.h 	s16 lna_gain;		/* LNA */
lna_gain          119 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c 	caldata->lna_gain = mt76x02_get_lna_gain(dev, &lna_2g, lna_5g, chan);
lna_gain          416 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 			gain -= dev->cal.rx.lna_gain * 2;
lna_gain           28 drivers/net/wireless/mediatek/mt76/mt76x02.h 	s8 lna_gain;
lna_gain          702 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	rssi -= cal->lna_gain;
lna_gain          274 drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c 	dev->cal.rx.lna_gain = mt76x02_sign_extend(lna, 8);
lna_gain          101 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, "LNA gain: %hhx\n", dev->ee->lna_gain);
lna_gain          382 drivers/net/wireless/mediatek/mt7601u/eeprom.c 	dev->ee->lna_gain = eeprom[MT_EE_LNA_GAIN];
lna_gain           98 drivers/net/wireless/mediatek/mt7601u/eeprom.h 	s8 lna_gain;
lna_gain          257 drivers/net/wireless/mediatek/mt7601u/phy.c 	val -= dev->ee->lna_gain;
lna_gain          366 drivers/net/wireless/mediatek/mt7601u/phy.c 		{ 62, 0x37 - dev->ee->lna_gain },
lna_gain          367 drivers/net/wireless/mediatek/mt7601u/phy.c 		{ 63, 0x37 - dev->ee->lna_gain },
lna_gain          368 drivers/net/wireless/mediatek/mt7601u/phy.c 		{ 64, 0x37 - dev->ee->lna_gain },
lna_gain          947 drivers/net/wireless/mediatek/mt7601u/phy.c 	return (dev->ee->lna_gain - 8) * 2 + 0x34;
lna_gain          863 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rssi0 = (rssi0) ? (-12 - offset0 - rt2x00dev->lna_gain - rssi0) : -128;
lna_gain          864 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rssi1 = (rssi1) ? (-12 - offset1 - rt2x00dev->lna_gain - rssi1) : -128;
lna_gain          865 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rssi2 = (rssi2) ? (-12 - offset2 - rt2x00dev->lna_gain - rssi2) : -128;
lna_gain         2274 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	short lna_gain;
lna_gain         2278 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_BG);
lna_gain         2281 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		lna_gain = rt2x00_get_field16(eeprom, EEPROM_LNA_A0);
lna_gain         2286 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			lna_gain = rt2x00_get_field16(eeprom,
lna_gain         2290 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			lna_gain = rt2x00_get_field16(eeprom,
lna_gain         2297 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			lna_gain = rt2x00_get_field16(eeprom,
lna_gain         2301 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			lna_gain = rt2x00_get_field16(eeprom,
lna_gain         2306 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00dev->lna_gain = lna_gain;
lna_gain         3605 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_bbp_write(rt2x00dev, 62, 0x37 - rt2x00dev->lna_gain);
lna_gain         3606 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_bbp_write(rt2x00dev, 63, 0x37 - rt2x00dev->lna_gain);
lna_gain         3607 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_bbp_write(rt2x00dev, 64, 0x37 - rt2x00dev->lna_gain);
lna_gain         4117 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 62, 0x37 - rt2x00dev->lna_gain);
lna_gain         4118 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 63, 0x37 - rt2x00dev->lna_gain);
lna_gain         4119 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 64, 0x37 - rt2x00dev->lna_gain);
lna_gain         4122 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 66, 0x26 + rt2x00dev->lna_gain);
lna_gain         4124 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 66, 0x26 + rt2x00dev->lna_gain);
lna_gain         4140 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 62, 0x37 - rt2x00dev->lna_gain);
lna_gain         4141 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 63, 0x37 - rt2x00dev->lna_gain);
lna_gain         4142 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 64, 0x37 - rt2x00dev->lna_gain);
lna_gain         4145 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 62, 0x37 - rt2x00dev->lna_gain);
lna_gain         4146 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 63, 0x37 - rt2x00dev->lna_gain);
lna_gain         4147 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 64, 0x37 - rt2x00dev->lna_gain);
lna_gain         4154 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 62, 0x37 - rt2x00dev->lna_gain);
lna_gain         4155 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 63, 0x37 - rt2x00dev->lna_gain);
lna_gain         4156 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		rt2800_bbp_write(rt2x00dev, 64, 0x37 - rt2x00dev->lna_gain);
lna_gain         4270 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			reg = 0x1c + (2 * rt2x00dev->lna_gain);
lna_gain         4272 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			reg = 0x22 + ((rt2x00dev->lna_gain * 5) / 3);
lna_gain         4311 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			reg = 0x1c + 2 * rt2x00dev->lna_gain;
lna_gain         4313 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			reg = 0x22 + ((rt2x00dev->lna_gain * 5) / 3);
lna_gain         4328 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			reg = 0x2e + rt2x00dev->lna_gain;
lna_gain         4330 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			reg = 0x20 + ((rt2x00dev->lna_gain * 5) / 3);
lna_gain         4355 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		reg = (rf->channel <= 14 ? 0x1c : 0x24) + 2*rt2x00dev->lna_gain;
lna_gain         5605 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			vgc = 0x1c + (2 * rt2x00dev->lna_gain);
lna_gain         5607 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			vgc = 0x2e + rt2x00dev->lna_gain;
lna_gain         5611 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			vgc = 0x20 + (rt2x00dev->lna_gain * 5) / 3;
lna_gain         5613 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			vgc = 0x24 + (2 * rt2x00dev->lna_gain);
lna_gain         5616 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 				vgc = 0x32 + (rt2x00dev->lna_gain * 5) / 3;
lna_gain         5618 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 				vgc = 0x3a + (rt2x00dev->lna_gain * 5) / 3;
lna_gain          886 drivers/net/wireless/ralink/rt2x00/rt2x00.h 	short lna_gain;
lna_gain          754 drivers/net/wireless/ralink/rt2x00/rt61pci.c 	short lna_gain = 0;
lna_gain          758 drivers/net/wireless/ralink/rt2x00/rt61pci.c 			lna_gain += 14;
lna_gain          761 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_BG_1);
lna_gain          764 drivers/net/wireless/ralink/rt2x00/rt61pci.c 			lna_gain += 14;
lna_gain          767 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_A_1);
lna_gain          770 drivers/net/wireless/ralink/rt2x00/rt61pci.c 	rt2x00dev->lna_gain = lna_gain;
lna_gain         1968 drivers/net/wireless/ralink/rt2x00/rt61pci.c 	u8 offset = rt2x00dev->lna_gain;
lna_gain          729 drivers/net/wireless/ralink/rt2x00/rt73usb.c 	short lna_gain = 0;
lna_gain          733 drivers/net/wireless/ralink/rt2x00/rt73usb.c 			lna_gain += 14;
lna_gain          736 drivers/net/wireless/ralink/rt2x00/rt73usb.c 		lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_BG_1);
lna_gain          739 drivers/net/wireless/ralink/rt2x00/rt73usb.c 		lna_gain -= rt2x00_get_field16(eeprom, EEPROM_RSSI_OFFSET_A_1);
lna_gain          742 drivers/net/wireless/ralink/rt2x00/rt73usb.c 	rt2x00dev->lna_gain = lna_gain;
lna_gain         1634 drivers/net/wireless/ralink/rt2x00/rt73usb.c 	u8 offset = rt2x00dev->lna_gain;
lna_gain          113 drivers/staging/pi433/pi433_if.h 	enum lna_gain		lna_gain;
lna_gain          441 drivers/staging/pi433/rf69.c int rf69_set_lna_gain(struct spi_device *spi, enum lna_gain lna_gain)
lna_gain          453 drivers/staging/pi433/rf69.c 	if (unlikely(lna_gain >= ARRAY_SIZE(lna_gain_map))) {
lna_gain          459 drivers/staging/pi433/rf69.c 				   lna_gain_map[lna_gain]);
lna_gain           34 drivers/staging/pi433/rf69.h int rf69_set_lna_gain(struct spi_device *spi, enum lna_gain lna_gain);