Lines Matching refs:min
169 u32 val = (brightness - setting->min) / setting->step;
238 ret = _mt6370_flash_brightness_set(fl_cdev, state ? s->val : s->min);
277 u32 val = (timeout - s->min) / s->step;
381 s->min = MT6370_ITORCH_MIN_uA;
383 s->val = s->max = s->min + (lcdev->max_brightness - 1) * s->step;
424 static u32 mt6370_clamp(u32 val, u32 min, u32 max, u32 step)
428 retval = clamp_val(val, min, max);
430 retval = rounddown(retval - min, step) + min;
483 s->min = MT6370_ISTRB_MIN_uA;
488 ret = _mt6370_flash_brightness_set(flash, s->min);
499 s->min = MT6370_STRBTO_MIN_US;