Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dwdat_wdt.c216 dev_err(&wdat->pdev->dev, in wdat_wdt_enable_reboot()
317 struct wdat_wdt *wdat; in wdat_wdt_probe() local
328 wdat = devm_kzalloc(dev, sizeof(*wdat), GFP_KERNEL); in wdat_wdt_probe()
329 if (!wdat) in wdat_wdt_probe()
344 wdat->wdd.min_timeout = DIV_ROUND_UP(wdat->period * tbl->min_count, 1000); in wdat_wdt_probe()
345 wdat->wdd.max_timeout = wdat->period * tbl->max_count / 1000; in wdat_wdt_probe()
349 wdat->pdev = pdev; in wdat_wdt_probe()
485 wdat->stopped = false; in wdat_wdt_suspend_noirq()
490 wdat->stopped = true; in wdat_wdt_suspend_noirq()
506 if (!wdat->stopped) { in wdat_wdt_resume_noirq()
[all …]
/openbmc/linux/drivers/acpi/
H A Dacpi_watchdog.c34 for (i = 0; i < wdat->entries; i++) { in acpi_watchdog_uses_rtc()
69 (struct acpi_table_header **)&wdat); in acpi_watchdog_get_wdat()
75 if (acpi_watchdog_uses_rtc(wdat)) { in acpi_watchdog_get_wdat()
81 return wdat; in acpi_watchdog_get_wdat()
105 const struct acpi_table_wdat *wdat; in acpi_watchdog_init() local
113 wdat = acpi_watchdog_get_wdat(); in acpi_watchdog_init()
114 if (!wdat) { in acpi_watchdog_init()
120 if (!(wdat->flags & ACPI_WDAT_ENABLED)) in acpi_watchdog_init()
124 if (wdat->pci_segment != 0xff || wdat->pci_bus != 0xff || in acpi_watchdog_init()
125 wdat->pci_device != 0xff || wdat->pci_function != 0xff) in acpi_watchdog_init()
[all …]