Lines Matching refs:wd
505 #define DECLARE_DPM_WATCHDOG_ON_STACK(wd) \ argument
506 struct dpm_watchdog wd
518 struct dpm_watchdog *wd = from_timer(wd, t, timer); in dpm_watchdog_handler() local
520 dev_emerg(wd->dev, "**** DPM device timeout ****\n"); in dpm_watchdog_handler()
521 show_stack(wd->tsk, NULL, KERN_EMERG); in dpm_watchdog_handler()
523 dev_driver_string(wd->dev), dev_name(wd->dev)); in dpm_watchdog_handler()
531 static void dpm_watchdog_set(struct dpm_watchdog *wd, struct device *dev) in dpm_watchdog_set() argument
533 struct timer_list *timer = &wd->timer; in dpm_watchdog_set()
535 wd->dev = dev; in dpm_watchdog_set()
536 wd->tsk = current; in dpm_watchdog_set()
548 static void dpm_watchdog_clear(struct dpm_watchdog *wd) in dpm_watchdog_clear() argument
550 struct timer_list *timer = &wd->timer; in dpm_watchdog_clear()
556 #define DECLARE_DPM_WATCHDOG_ON_STACK(wd) argument
901 DECLARE_DPM_WATCHDOG_ON_STACK(wd); in device_resume()
918 dpm_watchdog_set(&wd, dev); in device_resume()
971 dpm_watchdog_clear(&wd); in device_resume()
1595 DECLARE_DPM_WATCHDOG_ON_STACK(wd); in __device_suspend()
1649 dpm_watchdog_set(&wd, dev); in __device_suspend()
1701 dpm_watchdog_clear(&wd); in __device_suspend()