Searched refs:if_gain (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/media/tuners/ |
H A D | msi001.c | 40 struct v4l2_ctrl *if_gain; member 57 int if_gain) in msi001_set_gain() argument 64 lna_gain, mixer_gain, if_gain); in msi001_set_gain() 67 reg |= (59 - if_gain) << 4; in msi001_set_gain() 268 dev->mixer_gain->cur.val, dev->if_gain->cur.val); in msi001_set_tuner() 398 dev->if_gain->cur.val); in msi001_s_ctrl() 403 dev->if_gain->cur.val); in msi001_s_ctrl() 408 dev->if_gain->val); in msi001_s_ctrl() 457 dev->if_gain = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops, in msi001_probe()
|
H A D | e4000.c | 452 dev->if_gain->cur.val, dev->if_gain->val); in e4000_set_if_gain() 468 buf[0] = e4000_if_gain_lut[dev->if_gain->val].reg16_val; in e4000_set_if_gain() 469 buf[1] = e4000_if_gain_lut[dev->if_gain->val].reg17_val; in e4000_set_if_gain() 676 dev->if_gain = v4l2_ctrl_new_std(&dev->hdl, &e4000_ctrl_ops, in e4000_probe()
|
H A D | e4000_priv.h | 36 struct v4l2_ctrl *if_gain; member
|
/linux/drivers/media/usb/airspy/ |
H A D | airspy.c | 140 struct v4l2_ctrl *if_gain; member 923 dev_dbg(s->dev, "val=%d->%d\n", s->if_gain->cur.val, s->if_gain->val); in airspy_set_if_gain() 925 ret = airspy_ctrl_msg(s, CMD_SET_VGA_GAIN, 0, s->if_gain->val, in airspy_set_if_gain() 1052 s->if_gain = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops, in airspy_probe()
|
/linux/drivers/media/i2c/ |
H A D | max2175.c | 270 struct v4l2_ctrl *if_gain; /* I/F gain value */ member 1351 ctx->if_gain = v4l2_ctrl_new_std(hdl, &max2175_ctrl_ops, in max2175_probe() 1354 ctx->if_gain->flags |= (V4L2_CTRL_FLAG_VOLATILE | in max2175_probe()
|
/linux/drivers/media/usb/dvb-usb/ |
H A D | af9005-fe.c | 502 u8 if_gain, rf_gain; in af9005_fe_read_signal_strength() local 513 &if_gain); in af9005_fe_read_signal_strength() 518 *strength = (512 - rf_gain - if_gain) << 7; in af9005_fe_read_signal_strength()
|
/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.c | 9378 u16 if_gain = 0; in get_sig_strength() local 9384 rc = drxj_dap_read_reg16(dev_addr, IQM_AF_AGC_IF__A, &if_gain, 0); in get_sig_strength() 9389 if_gain &= IQM_AF_AGC_IF__M; in get_sig_strength() 9402 if (if_gain > if_agc_top) { in get_sig_strength() 9415 } else if (if_gain > if_agc_sns) { in get_sig_strength() 9421 20 + 55 * (if_gain - if_agc_sns) / (if_agc_top - if_agc_sns); in get_sig_strength() 9427 *sig_strength = (20 * if_gain / if_agc_sns); in get_sig_strength()
|