Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/watchdog/
Dhpwdt.c59 static struct watchdog_device hpwdt_dev; variable
190 unsigned int val = max((unsigned int)kdumptimeout, hpwdt_dev.timeout); in hpwdt_pretimeout()
226 static struct watchdog_device hpwdt_dev = { variable
327 set_bit(WDOG_HW_RUNNING, &hpwdt_dev.status); in hpwdt_init_one()
335 watchdog_stop_on_unregister(&hpwdt_dev); in hpwdt_init_one()
336 watchdog_set_nowayout(&hpwdt_dev, nowayout); in hpwdt_init_one()
337 watchdog_init_timeout(&hpwdt_dev, soft_margin, NULL); in hpwdt_init_one()
344 if (pretimeout && hpwdt_dev.timeout <= PRETIMEOUT_SEC) { in hpwdt_init_one()
348 hpwdt_dev.pretimeout = pretimeout ? PRETIMEOUT_SEC : 0; in hpwdt_init_one()
351 hpwdt_dev.parent = &dev->dev; in hpwdt_init_one()
[all …]