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