Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/
H A Dleds-wm8350.c18 static const int isink_cur[] = { variable
165 BUG_ON(uA >= ARRAY_SIZE(isink_cur)); in wm8350_led_set()
167 ret = regulator_set_current_limit(led->isink, isink_cur[uA], in wm8350_led_set()
168 isink_cur[uA]); in wm8350_led_set()
171 isink_cur[uA], ret); in wm8350_led_set()
198 if (pdata->max_uA < isink_cur[0]) { in wm8350_led_probe()
228 for (i = 0; i < ARRAY_SIZE(isink_cur) - 1; i++) in wm8350_led_probe()
229 if (isink_cur[i] >= pdata->max_uA) in wm8350_led_probe()
232 if (pdata->max_uA != isink_cur[i]) in wm8350_led_probe()
/openbmc/linux/drivers/regulator/
H A Dwm8350-regulator.c26 static const unsigned int isink_cur[] = { variable
1069 .curr_table = isink_cur,
1070 .n_current_limits = ARRAY_SIZE(isink_cur),
1081 .curr_table = isink_cur,
1082 .n_current_limits = ARRAY_SIZE(isink_cur),