Searched refs:enter_thres (Results 1 – 3 of 3) sorted by relevance
864 int enter_thres, filter_thres; in rk817_bat_set_relax_sample() local869 enter_thres = CURRENT_TO_ADC(pdata->sleep_enter_current, in rk817_bat_set_relax_sample()875 buf = (enter_thres >> 8) & 0xff; in rk817_bat_set_relax_sample()877 buf = enter_thres & 0xff; in rk817_bat_set_relax_sample()
760 int enter_thres, exit_thres; in rk818_bat_set_relax_sample() local763 enter_thres = pdata->sleep_enter_current * 1000 / 1506 / DIV(di->res_div); in rk818_bat_set_relax_sample()767 buf = enter_thres & 0xff; in rk818_bat_set_relax_sample()769 buf = (enter_thres >> 8) & 0xff; in rk818_bat_set_relax_sample()
917 int enter_thres, exit_thres, filter_thres; in rk816_bat_set_relax_sample() local923 enter_thres = RES_FAC_DIV(pdata->sleep_enter_current * 1000, in rk816_bat_set_relax_sample()928 enter_thres = RES_FAC_MUX(pdata->sleep_enter_current * 1000, in rk816_bat_set_relax_sample()935 buf = enter_thres & 0xff; in rk816_bat_set_relax_sample()937 buf = (enter_thres >> 8) & 0xff; in rk816_bat_set_relax_sample()