Searched refs:to_jiffies (Results 1 – 3 of 3) sorted by relevance
664 long to_jiffies; in lp_set_timeout() local681 to_jiffies = MAX_JIFFY_OFFSET; in lp_set_timeout()683 to_jiffies = DIV_ROUND_UP(tv_usec, 1000000/HZ); in lp_set_timeout()684 to_jiffies += tv_sec * (long) HZ; in lp_set_timeout()687 if (to_jiffies <= 0) { in lp_set_timeout()690 lp_table[minor].timeout = to_jiffies; in lp_set_timeout()
342 long to_jiffies; in pp_set_timeout() local347 to_jiffies = usecs_to_jiffies(tv_usec); in pp_set_timeout()348 to_jiffies += tv_sec * HZ; in pp_set_timeout()349 if (to_jiffies <= 0) in pp_set_timeout()352 pdev->timeout = to_jiffies; in pp_set_timeout()
1797 unsigned long to_jiffies = msecs_to_jiffies(WAIT_FOR_HALP_VOTE_MS); in wil_halp_vote() local1807 rc = wait_for_completion_timeout(&wil->halp.comp, to_jiffies); in wil_halp_vote()1815 jiffies_to_msecs(to_jiffies - rc)); in wil_halp_vote()