Lines Matching full:tmo
112 unsigned long tmo) in cw1200_pm_stay_awake() argument
117 if (!timer_pending(&pm->stay_awake) || cur_tmo < (long)tmo) in cw1200_pm_stay_awake()
118 mod_timer(&pm->stay_awake, jiffies + tmo); in cw1200_pm_stay_awake()
125 long tmo; in cw1200_suspend_work() local
128 tmo = work->timer.expires - jiffies; in cw1200_suspend_work()
129 if (tmo < 0) in cw1200_suspend_work()
130 tmo = 0; in cw1200_suspend_work()
132 tmo = -1; in cw1200_suspend_work()
134 return tmo; in cw1200_suspend_work()
139 unsigned long tmo) in cw1200_resume_work() argument
141 if ((long)tmo < 0) in cw1200_resume_work()
144 return queue_delayed_work(priv->workqueue, work, tmo); in cw1200_resume_work()