Searched refs:therm_ma (Results 1 – 1 of 1) sorted by relevance
222 u32 therm_ma, avail_ma, thrsh[3], min_thrsh, sts; in update_allowed_flash_current() local294 therm_ma = FLASH_TOTAL_CURRENT_MAX_UA / 1000; in update_allowed_flash_current()297 therm_ma = OTST3_MAX_CURRENT_MA; in update_allowed_flash_current()299 therm_ma = OTST2_MAX_CURRENT_MA; in update_allowed_flash_current()301 therm_ma = OTST1_MAX_CURRENT_MA; in update_allowed_flash_current()304 therm_ma = OTST2_MAX_CURRENT_MA; in update_allowed_flash_current()306 therm_ma = OTST1_MAX_CURRENT_MA; in update_allowed_flash_current()310 if (therm_ma <= flash_data->total_ma) in update_allowed_flash_current()313 avail_ma = therm_ma - flash_data->total_ma; in update_allowed_flash_current()