Searched refs:max_torch_current_ma (Results 1 – 1 of 1) sorted by relevance
142 u32 max_torch_current_ma; member420 u32 current_ma = brightness * led->max_torch_current_ma / LED_FULL; in qcom_flash_led_brightness_set()480 current_ma = min_t(u32, current_ma, led->max_torch_current_ma); in qcom_flash_intensity_to_led_brightness()484 return (current_ma * LED_FULL) / led->max_torch_current_ma; in qcom_flash_intensity_to_led_brightness()493 return (brightness * led->max_torch_current_ma * UA_PER_MA) / LED_FULL; in qcom_flash_brightness_to_led_intensity()514 intensity->max = led->max_torch_current_ma * UA_PER_MA; in qcom_flash_v4l2_init()599 led->max_torch_current_ma = current_ua / UA_PER_MA; in qcom_flash_register_led_device()