Home
last modified time | relevance | path

Searched refs:rf_gain_limit (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/media/dvb-frontends/
Ddib0090.c135 s16 rf_gain_limit; /* take-over-point: where to split between bb and rf gain */ member
932 if (top_delta >= ((s16) (state->rf_ramp[0] << WBD_ALPHA) - state->rf_gain_limit)) /* overflow */ in dib0090_gain_apply()
933 state->rf_gain_limit = state->rf_ramp[0] << WBD_ALPHA; in dib0090_gain_apply()
935 state->rf_gain_limit += top_delta; in dib0090_gain_apply()
937 if (state->rf_gain_limit < 0) /*underflow */ in dib0090_gain_apply()
938 state->rf_gain_limit = 0; in dib0090_gain_apply()
941 gain = ((state->rf_gain_limit >> WBD_ALPHA) + state->bb_ramp[0]) << GAIN_ALPHA; in dib0090_gain_apply()
954 if (gain > (state->rf_gain_limit >> WBD_ALPHA)) { in dib0090_gain_apply()
955 rf = state->rf_gain_limit >> WBD_ALPHA; in dib0090_gain_apply()
1195 state->rf_gain_limit = state->rf_ramp[0] << WBD_ALPHA; in dib0090_gain_control()
[all …]
Ddib0090.h85 …090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_limit, u16 * rflt);
146 …0090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_limit, u16 * rflt) in dib0090_get_current_gain() argument
/linux-6.12.1/drivers/media/usb/dvb-usb/
Ddib0700_devices.c1655 u16 target, ltgain, rf_gain_limit; in dib8096_set_param_override() local
1717 dib0090_get_current_gain(fe, NULL, NULL, &rf_gain_limit, &ltgain); in dib8096_set_param_override()
1718 … if (rf_gain_limit < 2000) /* activate the external attenuator in case of very high input power */ in dib8096_set_param_override()