Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dsmb347-charger.c289 static int current_to_hw(const unsigned int *tbl, size_t size, unsigned int val) in current_to_hw() function
424 ret = current_to_hw(fcc_tbl[id], ARRAY_SIZE(fcc_tbl[id]), in smb347_set_charge_current()
437 ret = current_to_hw(pcc_tbl[id], ARRAY_SIZE(pcc_tbl[id]), in smb347_set_charge_current()
450 ret = current_to_hw(tc_tbl[id], ARRAY_SIZE(tc_tbl[id]), in smb347_set_charge_current()
470 ret = current_to_hw(icl_tbl[id], ARRAY_SIZE(icl_tbl[id]), in smb347_set_current_limits()
483 ret = current_to_hw(icl_tbl[id], ARRAY_SIZE(icl_tbl[id]), in smb347_set_current_limits()
658 val = current_to_hw(ccc_tbl[id], ARRAY_SIZE(ccc_tbl[id]), in smb347_set_temp_limits()