Lines Matching refs:wd_dev
270 static int iTCO_wdt_start(struct watchdog_device *wd_dev) in iTCO_wdt_start() argument
272 struct iTCO_wdt_private *p = watchdog_get_drvdata(wd_dev); in iTCO_wdt_start()
277 iTCO_vendor_pre_start(p->smi_res, wd_dev->timeout); in iTCO_wdt_start()
305 static int iTCO_wdt_stop(struct watchdog_device *wd_dev) in iTCO_wdt_stop() argument
307 struct iTCO_wdt_private *p = watchdog_get_drvdata(wd_dev); in iTCO_wdt_stop()
330 static int iTCO_wdt_ping(struct watchdog_device *wd_dev) in iTCO_wdt_ping() argument
332 struct iTCO_wdt_private *p = watchdog_get_drvdata(wd_dev); in iTCO_wdt_ping()
351 static int iTCO_wdt_set_timeout(struct watchdog_device *wd_dev, unsigned int t) in iTCO_wdt_set_timeout() argument
353 struct iTCO_wdt_private *p = watchdog_get_drvdata(wd_dev); in iTCO_wdt_set_timeout()
397 wd_dev->timeout = t; in iTCO_wdt_set_timeout()
401 static unsigned int iTCO_wdt_get_timeleft(struct watchdog_device *wd_dev) in iTCO_wdt_get_timeleft() argument
403 struct iTCO_wdt_private *p = watchdog_get_drvdata(wd_dev); in iTCO_wdt_get_timeleft()