Lines Matching refs:wd
466 #define DECLARE_DPM_WATCHDOG_ON_STACK(wd) \ argument
467 struct dpm_watchdog wd
479 struct dpm_watchdog *wd = from_timer(wd, t, timer); in dpm_watchdog_handler() local
481 dev_emerg(wd->dev, "**** DPM device timeout ****\n"); in dpm_watchdog_handler()
482 show_stack(wd->tsk, NULL); in dpm_watchdog_handler()
484 dev_driver_string(wd->dev), dev_name(wd->dev)); in dpm_watchdog_handler()
492 static void dpm_watchdog_set(struct dpm_watchdog *wd, struct device *dev) in dpm_watchdog_set() argument
494 struct timer_list *timer = &wd->timer; in dpm_watchdog_set()
496 wd->dev = dev; in dpm_watchdog_set()
497 wd->tsk = current; in dpm_watchdog_set()
509 static void dpm_watchdog_clear(struct dpm_watchdog *wd) in dpm_watchdog_clear() argument
511 struct timer_list *timer = &wd->timer; in dpm_watchdog_clear()
517 #define DECLARE_DPM_WATCHDOG_ON_STACK(wd) argument
938 DECLARE_DPM_WATCHDOG_ON_STACK(wd); in device_resume()
953 dpm_watchdog_set(&wd, dev); in device_resume()
1006 dpm_watchdog_clear(&wd); in device_resume()
1709 DECLARE_DPM_WATCHDOG_ON_STACK(wd); in __device_suspend()
1753 dpm_watchdog_set(&wd, dev); in __device_suspend()
1805 dpm_watchdog_clear(&wd); in __device_suspend()