Lines Matching defs:max
659 ret = of_property_read_u32(child_node, "led-max-microamp",
663 dev_warn(dev, "led-max-microamp DT property missing\n");
666 ret = of_property_read_u32(child_node, "flash-max-microamp",
671 "flash-max-microamp DT property missing\n");
674 ret = of_property_read_u32(child_node, "flash-max-timeout-us",
679 "flash-max-timeout-us DT property missing\n");
698 static void clamp_align(u32 *v, u32 min, u32 max, u32 step)
700 *v = clamp_val(*v, min, max);
706 u32 *iout, u32 min, u32 max, u32 step)
723 clamp_align(&iout[i], min, max, step);
803 setting->max = led->iout_joint ?
808 setting->val = setting->max;
813 setting->max = led_cfg->flash_timeout_max[fled_id];
815 setting->val = setting->max;
858 s->max = sub_led->fled_cdev.led_cdev.max_brightness * TORCH_IOUT_STEP;
860 s->val = s->max;