Lines Matching refs:wd
502 #define DECLARE_DPM_WATCHDOG_ON_STACK(wd) \ argument
503 struct dpm_watchdog wd
515 struct dpm_watchdog *wd = from_timer(wd, t, timer); in dpm_watchdog_handler() local
517 dev_emerg(wd->dev, "**** DPM device timeout ****\n"); in dpm_watchdog_handler()
518 show_stack(wd->tsk, NULL, KERN_EMERG); in dpm_watchdog_handler()
520 dev_driver_string(wd->dev), dev_name(wd->dev)); in dpm_watchdog_handler()
528 static void dpm_watchdog_set(struct dpm_watchdog *wd, struct device *dev) in dpm_watchdog_set() argument
530 struct timer_list *timer = &wd->timer; in dpm_watchdog_set()
532 wd->dev = dev; in dpm_watchdog_set()
533 wd->tsk = current; in dpm_watchdog_set()
545 static void dpm_watchdog_clear(struct dpm_watchdog *wd) in dpm_watchdog_clear() argument
547 struct timer_list *timer = &wd->timer; in dpm_watchdog_clear()
553 #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()
1611 DECLARE_DPM_WATCHDOG_ON_STACK(wd); in __device_suspend()
1665 dpm_watchdog_set(&wd, dev); in __device_suspend()
1717 dpm_watchdog_clear(&wd); in __device_suspend()