Home
last modified time | relevance | path

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

/linux/drivers/media/i2c/
H A Dov4689.c608 static int ov4689_map_gain(struct ov4689 *ov4689, int logical_gain, int *result) in ov4689_map_gain() argument
614 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()