Home
last modified time | relevance | path

Searched refs:wd_dev (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/misc/mei/
Dwd.c199 static int mei_wd_ops_start(struct watchdog_device *wd_dev) in mei_wd_ops_start() argument
205 dev = watchdog_get_drvdata(wd_dev); in mei_wd_ops_start()
239 static int mei_wd_ops_stop(struct watchdog_device *wd_dev) in mei_wd_ops_stop() argument
243 dev = watchdog_get_drvdata(wd_dev); in mei_wd_ops_stop()
261 static int mei_wd_ops_ping(struct watchdog_device *wd_dev) in mei_wd_ops_ping() argument
267 dev = watchdog_get_drvdata(wd_dev); in mei_wd_ops_ping()
312 static int mei_wd_ops_set_timeout(struct watchdog_device *wd_dev, in mei_wd_ops_set_timeout() argument
317 dev = watchdog_get_drvdata(wd_dev); in mei_wd_ops_set_timeout()
328 wd_dev->timeout = timeout; in mei_wd_ops_set_timeout()
/linux-4.4.14/drivers/watchdog/
DiTCO_wdt.c211 static int iTCO_wdt_start(struct watchdog_device *wd_dev) in iTCO_wdt_start() argument
217 iTCO_vendor_pre_start(iTCO_wdt_private.smi_res, wd_dev->timeout); in iTCO_wdt_start()
245 static int iTCO_wdt_stop(struct watchdog_device *wd_dev) in iTCO_wdt_stop() argument
269 static int iTCO_wdt_ping(struct watchdog_device *wd_dev) in iTCO_wdt_ping() argument
273 iTCO_vendor_pre_keepalive(iTCO_wdt_private.smi_res, wd_dev->timeout); in iTCO_wdt_ping()
290 static int iTCO_wdt_set_timeout(struct watchdog_device *wd_dev, unsigned int t) in iTCO_wdt_set_timeout() argument
337 wd_dev->timeout = t; in iTCO_wdt_set_timeout()
341 static unsigned int iTCO_wdt_get_timeleft(struct watchdog_device *wd_dev) in iTCO_wdt_get_timeleft() argument