Searched refs:wddev (Results 1 – 2 of 2) sorted by relevance
56 struct watchdog_device wddev; member245 static int watchdog_set_timeout(struct watchdog_device *wddev, in watchdog_set_timeout() argument248 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() argument291 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_start()341 static int watchdog_trigger(struct watchdog_device *wddev) in watchdog_trigger() argument343 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_trigger()355 static int watchdog_stop(struct watchdog_device *wddev) in watchdog_stop() argument357 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_stop()[all …]
89 struct watchdog_device wddev; member561 p->wddev.info = &ident, in iTCO_wdt_probe()562 p->wddev.ops = &iTCO_wdt_ops, in iTCO_wdt_probe()563 p->wddev.bootstatus = 0; in iTCO_wdt_probe()564 p->wddev.timeout = WATCHDOG_TIMEOUT; in iTCO_wdt_probe()565 watchdog_set_nowayout(&p->wddev, nowayout); in iTCO_wdt_probe()566 p->wddev.parent = dev; in iTCO_wdt_probe()568 watchdog_set_drvdata(&p->wddev, p); in iTCO_wdt_probe()572 iTCO_wdt_stop(&p->wddev); in iTCO_wdt_probe()576 if (iTCO_wdt_set_timeout(&p->wddev, heartbeat)) { in iTCO_wdt_probe()[all …]