Searched refs:to_jiffies (Results 1 – 3 of 3) sorted by relevance
668 long to_jiffies; in lp_set_timeout() local685 to_jiffies = MAX_JIFFY_OFFSET; in lp_set_timeout()687 to_jiffies = DIV_ROUND_UP(tv_usec, 1000000/HZ); in lp_set_timeout()688 to_jiffies += tv_sec * (long) HZ; in lp_set_timeout()691 if (to_jiffies <= 0) { in lp_set_timeout()694 lp_table[minor].timeout = to_jiffies; in lp_set_timeout()
338 long to_jiffies; in pp_set_timeout() local343 to_jiffies = usecs_to_jiffies(tv_usec); in pp_set_timeout()344 to_jiffies += tv_sec * HZ; in pp_set_timeout()345 if (to_jiffies <= 0) in pp_set_timeout()348 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()