Searched refs:current_gain (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/media/dvb-frontends/
H A Ddib0090.c136 s16 current_gain; /* keeps the currently programmed gain */ member in struct:dib0090_state
940 /* use gain as a temporary variable and correct current_gain */
942 if (gain_delta >= ((s16) gain - state->current_gain)) /* overflow */
943 state->current_gain = gain;
945 state->current_gain += gain_delta;
946 /* cannot be less than 0 (only if gain_delta is less than 0 we can have current_gain < 0) */
947 if (state->current_gain < 0)
948 state->current_gain = 0;
951 gain = state->current_gain >> GAIN_ALPHA;
1196 state->current_gain
[all...]
/linux-master/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_cmd.h235 * @current_gain: Current backlight reduction (u16.16).
237 uint32_t current_gain; member in struct:abm_save_restore

Completed in 125 milliseconds