Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Ducs1002_power.c232 static const u32 ucs1002_current_limit_uA[] = { variable
251 val->intval = ucs1002_current_limit_uA[reg & UCS1002_ILIM_SW_MASK]; in ucs1002_get_max_current()
267 for (idx = 0; idx < ARRAY_SIZE(ucs1002_current_limit_uA); idx++) { in ucs1002_set_max_current()
268 if (val == ucs1002_current_limit_uA[idx]) in ucs1002_set_max_current()
272 if (idx == ARRAY_SIZE(ucs1002_current_limit_uA)) in ucs1002_set_max_current()