Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/power/fuel_gauge/
H A Dfg_rk816.c123 #define SAMPLE_RES_20MR 20 macro
982 if (di->sample_res == SAMPLE_RES_20MR) { in rk816_bat_select_sample_res()
985 } else if (di->sample_res > SAMPLE_RES_20MR) { in rk816_bat_select_sample_res()
987 di->res_fac = di->sample_res * 10 / SAMPLE_RES_20MR; in rk816_bat_select_sample_res()
990 di->res_fac = SAMPLE_RES_20MR * 10 / di->sample_res; in rk816_bat_select_sample_res()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Drk818_charger.c55 #define SAMPLE_RES_20MR 20 macro
1620 pdata->sample_res = SAMPLE_RES_20MR; in rk818_cg_parse_dt()
1637 cg->res_div = (cg->pdata->sample_res == SAMPLE_RES_20MR) ? in rk818_cg_parse_dt()
H A Drk817_charger.c66 #define SAMPLE_RES_20MR 20 macro
H A Drk817_battery.c136 #define SAMPLE_RES_20MR 20 macro
1468 battery->res_div = (battery->pdata->sample_res == SAMPLE_RES_20MR) ? in rk817_bat_init_info()
H A Drk818_battery.c75 #define SAMPLE_RES_20MR 20 macro
3126 di->res_div = (di->pdata->sample_res == SAMPLE_RES_20MR) ? in rk818_bat_init_info()