Lines Matching defs:new_res
90 * Convert interval expressed in htp->hrt_res to new_res.
92 * Calculate: (interval * new_res) / htp->hrt_res rounding off as
101 _hrtnewres(hrtimer_t *htp, ulong_t new_res, long round)
116 if (htp->hrt_res == 0 || new_res == 0 ||
117 new_res > NANOSEC || htp->hrt_rem < 0)
127 htp->hrt_res = new_res;
136 * (interval * new_res) / hrt->hrt_res
139 numerator = interval * new_res;
141 if (numerator / new_res == interval) {
154 * (interval * new_res) % htp->hrt_res
186 htp->hrt_res = new_res;
198 htp->hrt_res = new_res;
202 htp->hrt_res = new_res;
217 dto_res = new_res;
223 * ((interval * new_res) + htp->hrt_res / 2) / htp->hrt_res
227 * ((interval * new_res) + htp->hrt_res - 1) / htp->hrt_res
251 htp->hrt_res = new_res;