Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/hwmon/
Dsch56xx-common.c61 struct watchdog_device wddev; member
250 static int watchdog_set_timeout(struct watchdog_device *wddev, in watchdog_set_timeout() argument
253 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() argument
296 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_start()
346 static int watchdog_trigger(struct watchdog_device *wddev) in watchdog_trigger() argument
348 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_trigger()
360 static int watchdog_stop(struct watchdog_device *wddev) in watchdog_stop() argument
362 struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); in watchdog_stop()
[all …]
/linux-5.19.10/drivers/watchdog/
DiTCO_wdt.c87 struct watchdog_device wddev; member
433 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 …]