Searched refs:logical_gain (Results 1 – 1 of 1) sorted by relevance
608 static int ov4689_map_gain(struct ov4689 *ov4689, int logical_gain, int *result) in ov4689_map_gain() argument614 if (logical_gain >= ov4689_gain_ranges[n].logical_min && in ov4689_map_gain()615 logical_gain <= ov4689_gain_ranges[n].logical_max) in ov4689_map_gain()622 logical_gain); in ov4689_map_gain()628 *result = clamp(range->offset + (logical_gain) / range->divider, in ov4689_map_gain()