Searched refs:filter_thres (Results 1 – 2 of 2) sorted by relevance
864 int enter_thres, filter_thres; in rk817_bat_set_relax_sample() local867 filter_thres = pdata->sleep_filter_current * 1000 / 1506; in rk817_bat_set_relax_sample()871 filter_thres = CURRENT_TO_ADC(pdata->sleep_filter_current, in rk817_bat_set_relax_sample()880 buf = (filter_thres >> 8) & 0xff; in rk817_bat_set_relax_sample()882 buf = filter_thres & 0xff; in rk817_bat_set_relax_sample()
917 int enter_thres, exit_thres, filter_thres; in rk816_bat_set_relax_sample() local920 filter_thres = pdata->sleep_filter_current * 1000 / 1506; in rk816_bat_set_relax_sample()946 buf = filter_thres & 0xff; in rk816_bat_set_relax_sample()