Home
last modified time | relevance | path

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

/linux-6.15/drivers/leds/flash/
H A Dleds-qcom-flash.c202 u32 therm_ma, avail_ma, thrsh[3], min_thrsh, sts; in update_allowed_flash_current() local
274 therm_ma = FLASH_TOTAL_CURRENT_MAX_UA / 1000; in update_allowed_flash_current()
277 therm_ma = OTST3_MAX_CURRENT_MA; in update_allowed_flash_current()
279 therm_ma = OTST2_MAX_CURRENT_MA; in update_allowed_flash_current()
281 therm_ma = OTST1_MAX_CURRENT_MA; in update_allowed_flash_current()
284 therm_ma = OTST2_MAX_CURRENT_MA; in update_allowed_flash_current()
286 therm_ma = OTST1_MAX_CURRENT_MA; in update_allowed_flash_current()
290 if (therm_ma <= flash_data->total_ma) in update_allowed_flash_current()
293 avail_ma = therm_ma - flash_data->total_ma; in update_allowed_flash_current()