Searched refs:wddev (Results 1 – 2 of 2) sorted by relevance
61 struct watchdog_device wddev; member250 static int watchdog_set_timeout(struct watchdog_device *wddev, in watchdog_set_timeout() argument253 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_set_timeout()289 wddev->timeout = data->watchdog_preset * resolution; in watchdog_set_timeout()294 static int watchdog_start(struct watchdog_device *wddev) in watchdog_start() argument296 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_start()346 static int watchdog_trigger(struct watchdog_device *wddev) in watchdog_trigger() argument348 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_trigger()360 static int watchdog_stop(struct watchdog_device *wddev) in watchdog_stop() argument362 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_stop()[all …]
87 struct watchdog_device wddev; member433 set_bit(WDOG_HW_RUNNING, &p->wddev.status); in iTCO_wdt_set_running()565 p->wddev.info = &ident, in iTCO_wdt_probe()566 p->wddev.ops = &iTCO_wdt_ops, in iTCO_wdt_probe()567 p->wddev.bootstatus = 0; in iTCO_wdt_probe()568 p->wddev.timeout = WATCHDOG_TIMEOUT; in iTCO_wdt_probe()569 watchdog_set_nowayout(&p->wddev, nowayout); in iTCO_wdt_probe()570 p->wddev.parent = dev; in iTCO_wdt_probe()572 watchdog_set_drvdata(&p->wddev, p); in iTCO_wdt_probe()579 if (iTCO_wdt_set_timeout(&p->wddev, heartbeat)) { in iTCO_wdt_probe()[all …]