Searched refs:exit_thres (Results 1 – 2 of 2) sorted by relevance
760 int enter_thres, exit_thres; in rk818_bat_set_relax_sample() local764 exit_thres = pdata->sleep_exit_current * 1000 / 1506 / DIV(di->res_div); in rk818_bat_set_relax_sample()772 buf = exit_thres & 0xff; in rk818_bat_set_relax_sample()774 buf = (exit_thres >> 8) & 0xff; in rk818_bat_set_relax_sample()
917 int enter_thres, exit_thres, filter_thres; in rk816_bat_set_relax_sample() local925 exit_thres = RES_FAC_DIV(pdata->sleep_exit_current * 1000, in rk816_bat_set_relax_sample()930 exit_thres = RES_FAC_MUX(pdata->sleep_exit_current * 1000, in rk816_bat_set_relax_sample()940 buf = exit_thres & 0xff; in rk816_bat_set_relax_sample()942 buf = (exit_thres >> 8) & 0xff; in rk816_bat_set_relax_sample()