Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/watchdog/
DiTCO_wdt.c89 struct watchdog_device wddev; member
561 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 …]