Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/flash/
H A Dleds-qcom-flash.c178 u32 itarg_ua, ires_ua; in set_flash_current() local
186 itarg_ua = (current_ma * UA_PER_MA) / led->chan_count + 1; in set_flash_current()
192 if (itarg_ua > ires_ua) in set_flash_current()
193 itarget = itarg_ua / ires_ua - 1; in set_flash_current()