Searched refs:to_jiffies (Results 1 – 3 of 3) sorted by relevance
503 long to_jiffies; in pp_do_ioctl() local606 to_jiffies = ROUND_UP(par_timeout.tv_usec, 1000000/HZ); in pp_do_ioctl()607 to_jiffies += par_timeout.tv_sec * (long)HZ; in pp_do_ioctl()608 if (to_jiffies <= 0) { in pp_do_ioctl()611 pp->pdev->timeout = to_jiffies; in pp_do_ioctl()615 to_jiffies = pp->pdev->timeout; in pp_do_ioctl()617 par_timeout.tv_sec = to_jiffies / HZ; in pp_do_ioctl()618 par_timeout.tv_usec = (to_jiffies % (long)HZ) * (1000000/HZ); in pp_do_ioctl()
660 long to_jiffies; in lp_set_timeout() local667 to_jiffies = DIV_ROUND_UP(par_timeout->tv_usec, 1000000/HZ); in lp_set_timeout()668 to_jiffies += par_timeout->tv_sec * (long) HZ; in lp_set_timeout()669 if (to_jiffies <= 0) { in lp_set_timeout()672 lp_table[minor].timeout = to_jiffies; in lp_set_timeout()
335 unsigned long to_jiffies; in ttm_fence_object_wait() local353 to_jiffies = fence->timeout_jiffies; in ttm_fence_object_wait()355 timeout = (time_after(to_jiffies, cur_jiffies)) ? in ttm_fence_object_wait()356 to_jiffies - cur_jiffies : 1; in ttm_fence_object_wait()