Searched refs:SAMPLE_RES_20MR (Results 1 – 5 of 5) sorted by relevance
123 #define SAMPLE_RES_20MR 20 macro982 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()
55 #define SAMPLE_RES_20MR 20 macro1620 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()
66 #define SAMPLE_RES_20MR 20 macro
136 #define SAMPLE_RES_20MR 20 macro1468 battery->res_div = (battery->pdata->sample_res == SAMPLE_RES_20MR) ? in rk817_bat_init_info()
75 #define SAMPLE_RES_20MR 20 macro3126 di->res_div = (di->pdata->sample_res == SAMPLE_RES_20MR) ? in rk818_bat_init_info()