Lines Matching defs:wdat
28 static bool acpi_watchdog_uses_rtc(const struct acpi_table_wdat *wdat)
33 entries = (struct acpi_wdat_entry *)(wdat + 1);
34 for (i = 0; i < wdat->entries; i++) {
52 static bool acpi_watchdog_uses_rtc(const struct acpi_table_wdat *wdat)
62 const struct acpi_table_wdat *wdat = NULL;
69 (struct acpi_table_header **)&wdat);
75 if (acpi_watchdog_uses_rtc(wdat)) {
76 acpi_put_table((struct acpi_table_header *)wdat);
81 return wdat;
105 const struct acpi_table_wdat *wdat;
113 wdat = acpi_watchdog_get_wdat();
114 if (!wdat) {
120 if (!(wdat->flags & ACPI_WDAT_ENABLED))
124 if (wdat->pci_segment != 0xff || wdat->pci_bus != 0xff ||
125 wdat->pci_device != 0xff || wdat->pci_function != 0xff)
130 entries = (struct acpi_wdat_entry *)(wdat + 1);
131 for (i = 0; i < wdat->entries; i++) {
193 acpi_put_table((struct acpi_table_header *)wdat);