Searched refs:to_jiffies (Results 1 – 3 of 3) sorted by relevance
669 long to_jiffies; in lp_set_timeout() local686 to_jiffies = MAX_JIFFY_OFFSET; in lp_set_timeout()688 to_jiffies = DIV_ROUND_UP(tv_usec, 1000000/HZ); in lp_set_timeout()689 to_jiffies += tv_sec * (long) HZ; in lp_set_timeout()692 if (to_jiffies <= 0) { in lp_set_timeout()695 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()
1960 unsigned long to_jiffies = msecs_to_jiffies(WAIT_FOR_HALP_VOTE_MS); in wil_halp_vote() local1975 rc = wait_for_completion_timeout(&wil->halp.comp, to_jiffies); in wil_halp_vote()1984 jiffies_to_msecs(to_jiffies - rc)); in wil_halp_vote()