Home
last modified time | relevance | path

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

/linux/drivers/media/tuners/
H A 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()
457 dev->if_gain = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops, in msi001_probe()
H A 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()
676 dev->if_gain = v4l2_ctrl_new_std(&dev->hdl, &e4000_ctrl_ops, in e4000_probe()
H A De4000_priv.h36 struct v4l2_ctrl *if_gain; member
/linux/drivers/media/i2c/
H A Dmax2175.c270 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 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/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c9378 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()