Home
last modified time | relevance | path

Searched refs:if_gain (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/media/tuners/
Dmsi001.c40 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()
450 dev->if_gain = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops, in msi001_probe()
De4000.c452 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()
677 dev->if_gain = v4l2_ctrl_new_std(&dev->hdl, &e4000_ctrl_ops, in e4000_probe()
De4000_priv.h36 struct v4l2_ctrl *if_gain; member
/Linux-v5.4/drivers/media/usb/airspy/
Dairspy.c140 struct v4l2_ctrl *if_gain; member
921 dev_dbg(s->dev, "val=%d->%d\n", s->if_gain->cur.val, s->if_gain->val); in airspy_set_if_gain()
923 ret = airspy_ctrl_msg(s, CMD_SET_VGA_GAIN, 0, s->if_gain->val, in airspy_set_if_gain()
1040 s->if_gain = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops, in airspy_probe()
/Linux-v5.4/drivers/media/i2c/
Dmax2175.c270 struct v4l2_ctrl *if_gain; /* I/F gain value */ member
1352 ctx->if_gain = v4l2_ctrl_new_std(hdl, &max2175_ctrl_ops, in max2175_probe()
1355 ctx->if_gain->flags |= (V4L2_CTRL_FLAG_VOLATILE | in max2175_probe()
/Linux-v5.4/drivers/media/usb/dvb-usb/
Daf9005-fe.c502 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-v5.4/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c9381 u16 if_gain = 0; in get_sig_strength() local
9387 rc = drxj_dap_read_reg16(dev_addr, IQM_AF_AGC_IF__A, &if_gain, 0); in get_sig_strength()
9392 if_gain &= IQM_AF_AGC_IF__M; in get_sig_strength()
9405 if (if_gain > if_agc_top) { in get_sig_strength()
9418 } else if (if_gain > if_agc_sns) { in get_sig_strength()
9424 20 + 55 * (if_gain - if_agc_sns) / (if_agc_top - if_agc_sns); in get_sig_strength()
9430 *sig_strength = (20 * if_gain / if_agc_sns); in get_sig_strength()