Home
last modified time | relevance | path

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

/drivers/hwmon/
Dsch56xx-common.c56 struct watchdog_device wddev; member
245 static int watchdog_set_timeout(struct watchdog_device *wddev, in watchdog_set_timeout() argument
248 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_set_timeout()
284 wddev->timeout = data->watchdog_preset * resolution; in watchdog_set_timeout()
289 static int watchdog_start(struct watchdog_device *wddev) in watchdog_start() argument
291 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_start()
341 static int watchdog_trigger(struct watchdog_device *wddev) in watchdog_trigger() argument
343 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_trigger()
355 static int watchdog_stop(struct watchdog_device *wddev) in watchdog_stop() argument
357 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_stop()
[all …]
/drivers/watchdog/
DiTCO_wdt.c89 struct watchdog_device wddev; member
437 set_bit(WDOG_HW_RUNNING, &p->wddev.status); in iTCO_wdt_set_running()
572 p->wddev.info = &ident, in iTCO_wdt_probe()
573 p->wddev.ops = &iTCO_wdt_ops, in iTCO_wdt_probe()
574 p->wddev.bootstatus = 0; in iTCO_wdt_probe()
575 p->wddev.timeout = WATCHDOG_TIMEOUT; in iTCO_wdt_probe()
576 watchdog_set_nowayout(&p->wddev, nowayout); in iTCO_wdt_probe()
577 p->wddev.parent = dev; in iTCO_wdt_probe()
579 watchdog_set_drvdata(&p->wddev, p); in iTCO_wdt_probe()
592 if (iTCO_wdt_set_timeout(&p->wddev, heartbeat)) { in iTCO_wdt_probe()
[all …]