Searched refs:to_jiffies (Results 1 – 3 of 3) sorted by relevance
670 long to_jiffies; in lp_set_timeout() local687 to_jiffies = MAX_JIFFY_OFFSET; in lp_set_timeout()689 to_jiffies = DIV_ROUND_UP(tv_usec, 1000000/HZ); in lp_set_timeout()690 to_jiffies += tv_sec * (long) HZ; in lp_set_timeout()693 if (to_jiffies <= 0) { in lp_set_timeout()696 lp_table[minor].timeout = to_jiffies; in lp_set_timeout()
345 long to_jiffies; in pp_set_timeout() local350 to_jiffies = usecs_to_jiffies(tv_usec); in pp_set_timeout()351 to_jiffies += tv_sec * HZ; in pp_set_timeout()352 if (to_jiffies <= 0) in pp_set_timeout()355 pdev->timeout = to_jiffies; in pp_set_timeout()
1951 unsigned long to_jiffies = msecs_to_jiffies(WAIT_FOR_HALP_VOTE_MS); in wil_halp_vote() local1966 rc = wait_for_completion_timeout(&wil->halp.comp, to_jiffies); in wil_halp_vote()1975 jiffies_to_msecs(to_jiffies - rc)); in wil_halp_vote()