rf_gain_limit 135 drivers/media/dvb-frontends/dib0090.c s16 rf_gain_limit; /* take-over-point: where to split between bb and rf gain */ rf_gain_limit 932 drivers/media/dvb-frontends/dib0090.c if (top_delta >= ((s16) (state->rf_ramp[0] << WBD_ALPHA) - state->rf_gain_limit)) /* overflow */ rf_gain_limit 933 drivers/media/dvb-frontends/dib0090.c state->rf_gain_limit = state->rf_ramp[0] << WBD_ALPHA; rf_gain_limit 935 drivers/media/dvb-frontends/dib0090.c state->rf_gain_limit += top_delta; rf_gain_limit 937 drivers/media/dvb-frontends/dib0090.c if (state->rf_gain_limit < 0) /*underflow */ rf_gain_limit 938 drivers/media/dvb-frontends/dib0090.c state->rf_gain_limit = 0; rf_gain_limit 941 drivers/media/dvb-frontends/dib0090.c gain = ((state->rf_gain_limit >> WBD_ALPHA) + state->bb_ramp[0]) << GAIN_ALPHA; rf_gain_limit 954 drivers/media/dvb-frontends/dib0090.c if (gain > (state->rf_gain_limit >> WBD_ALPHA)) { rf_gain_limit 955 drivers/media/dvb-frontends/dib0090.c rf = state->rf_gain_limit >> WBD_ALPHA; rf_gain_limit 1195 drivers/media/dvb-frontends/dib0090.c state->rf_gain_limit = state->rf_ramp[0] << WBD_ALPHA; rf_gain_limit 1218 drivers/media/dvb-frontends/dib0090.c if (wbd_error < 0 && state->rf_gain_limit > 0 && !state->identity.p1g) { rf_gain_limit 1301 drivers/media/dvb-frontends/dib0090.c (u32) state->rf_gain_limit >> WBD_ALPHA, (s32) 200 + adc - (state->current_gain >> GAIN_ALPHA)); rf_gain_limit 1313 drivers/media/dvb-frontends/dib0090.c void dib0090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_limit, u16 * rflt) rf_gain_limit 1320 drivers/media/dvb-frontends/dib0090.c if (rf_gain_limit) rf_gain_limit 1321 drivers/media/dvb-frontends/dib0090.c *rf_gain_limit = state->rf_gain_limit; rf_gain_limit 85 drivers/media/dvb-frontends/dib0090.h extern void dib0090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_limit, u16 * rflt); rf_gain_limit 146 drivers/media/dvb-frontends/dib0090.h static inline void dib0090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_limit, u16 * rflt) rf_gain_limit 1655 drivers/media/usb/dvb-usb/dib0700_devices.c u16 target, ltgain, rf_gain_limit; rf_gain_limit 1717 drivers/media/usb/dvb-usb/dib0700_devices.c dib0090_get_current_gain(fe, NULL, NULL, &rf_gain_limit, <gain); rf_gain_limit 1718 drivers/media/usb/dvb-usb/dib0700_devices.c if (rf_gain_limit < 2000) /* activate the external attenuator in case of very high input power */