Searched refs:sample_res (Results 1 – 5 of 5) sorted by relevance
146 int sample_res; member466 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 …]
204 int sample_res; member473 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()
302 sample_res = <20>;
352 sample_res = <10>;
367 sample_res = <10>;