Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/power/fuel_gauge/
H A Dfg_rk816.c146 int sample_res; member
466 if (di->sample_res < 20) { in rk816_bat_finish_ma()
472 } else if (di->sample_res > 20) { in rk816_bat_finish_ma()
491 if (di->sample_res < 20) { in rk816_bat_select_chrg_cv()
496 } else if (di->sample_res > 20) { in rk816_bat_select_chrg_cv()
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()
1261 rk816_bat_get_ocv_voltage(di), di->sample_res, in rk816_bat_debug_info()
[all …]
H A Dfg_rk818.c204 int sample_res; member
473 if (di->sample_res == SAMPLE_RES_10mR) { in rk818_bat_select_chrg_cv()
1362 di->pwr_rsoc, di->pwr_vol, di->sample_res, in rk818_bat_debug_info()
1818 di->sample_res = dev_read_u32_default(dev, "sample_res", SAMPLE_RES_20mR); in rk818_fg_ofdata_to_platdata()
1821 di->res_div = (di->sample_res == SAMPLE_RES_20mR) ? in rk818_fg_ofdata_to_platdata()
1878 DBG("sample_res:%d\n", di->sample_res); in rk818_fg_ofdata_to_platdata()
/rk3399_rockchip-uboot/arch/arm/dts/
H A Drk3128-evb.dts302 sample_res = <20>;
H A Drk3326-evb.dts352 sample_res = <10>;
H A Dpx30-evb.dts367 sample_res = <10>;