Searched refs:torch_clamp (Results 1 – 1 of 1) sorted by relevance
178 u8 torch_clamp; member725 u8 torch_clamp; in qcom_flash_register_led_device() local775 torch_clamp = (current_ua / led->chan_count) / TORCH_IRES_UA; in qcom_flash_register_led_device()776 if (torch_clamp != 0) in qcom_flash_register_led_device()777 torch_clamp--; in qcom_flash_register_led_device()779 flash_data->torch_clamp = max_t(u8, flash_data->torch_clamp, torch_clamp); in qcom_flash_register_led_device()954 return regmap_field_write(flash_data->r_fields[REG_TORCH_CLAMP], flash_data->torch_clamp); in qcom_flash_led_probe()