Searched refs:wdat (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | wdat_wdt.c | 64 static int wdat_wdt_read(struct wdat_wdt *wdat, in wdat_wdt_read() argument 83 dev_dbg(&wdat->pdev->dev, "Read %#x from 0x%08llx\n", *value, in wdat_wdt_read() 89 static int wdat_wdt_write(struct wdat_wdt *wdat, in wdat_wdt_write() argument 108 dev_dbg(&wdat->pdev->dev, "Wrote %#x to 0x%08llx\n", value, in wdat_wdt_write() 114 static int wdat_wdt_run_action(struct wdat_wdt *wdat, unsigned int action, in wdat_wdt_run_action() argument 119 if (action >= ARRAY_SIZE(wdat->instructions)) in wdat_wdt_run_action() 122 if (!wdat->instructions[action]) in wdat_wdt_run_action() 125 dev_dbg(&wdat->pdev->dev, "Running action %#x\n", action); in wdat_wdt_run_action() 128 list_for_each_entry(instr, wdat->instructions[action], node) { in wdat_wdt_run_action() 144 ret = wdat_wdt_read(wdat, inst in wdat_wdt_run_action() 204 wdat_wdt_enable_reboot(struct wdat_wdt *wdat) wdat_wdt_enable_reboot() argument 224 wdat_wdt_boot_status(struct wdat_wdt *wdat) wdat_wdt_boot_status() argument 244 wdat_wdt_set_running(struct wdat_wdt *wdat) wdat_wdt_set_running() argument 278 struct wdat_wdt *wdat = to_wdat_wdt(wdd); wdat_wdt_set_timeout() local 291 struct wdat_wdt *wdat = to_wdat_wdt(wdd); wdat_wdt_get_timeleft() local 317 struct wdat_wdt *wdat; wdat_wdt_probe() local 473 struct wdat_wdt *wdat = dev_get_drvdata(dev); wdat_wdt_suspend_noirq() local 500 struct wdat_wdt *wdat = dev_get_drvdata(dev); wdat_wdt_resume_noirq() local [all...] |
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | wdat_wdt.c | 64 static int wdat_wdt_read(struct wdat_wdt *wdat, in wdat_wdt_read() argument 83 dev_dbg(&wdat->pdev->dev, "Read %#x from 0x%08llx\n", *value, in wdat_wdt_read() 89 static int wdat_wdt_write(struct wdat_wdt *wdat, in wdat_wdt_write() argument 108 dev_dbg(&wdat->pdev->dev, "Wrote %#x to 0x%08llx\n", value, in wdat_wdt_write() 114 static int wdat_wdt_run_action(struct wdat_wdt *wdat, unsigned int action, in wdat_wdt_run_action() argument 119 if (action >= ARRAY_SIZE(wdat->instructions)) in wdat_wdt_run_action() 122 if (!wdat->instructions[action]) in wdat_wdt_run_action() 125 dev_dbg(&wdat->pdev->dev, "Running action %#x\n", action); in wdat_wdt_run_action() 128 list_for_each_entry(instr, wdat->instructions[action], node) { in wdat_wdt_run_action() 144 ret = wdat_wdt_read(wdat, inst in wdat_wdt_run_action() 204 wdat_wdt_enable_reboot(struct wdat_wdt *wdat) wdat_wdt_enable_reboot() argument 224 wdat_wdt_boot_status(struct wdat_wdt *wdat) wdat_wdt_boot_status() argument 244 wdat_wdt_set_running(struct wdat_wdt *wdat) wdat_wdt_set_running() argument 278 struct wdat_wdt *wdat = to_wdat_wdt(wdd); wdat_wdt_set_timeout() local 291 struct wdat_wdt *wdat = to_wdat_wdt(wdd); wdat_wdt_get_timeleft() local 318 struct wdat_wdt *wdat; wdat_wdt_probe() local 472 struct wdat_wdt *wdat = dev_get_drvdata(dev); wdat_wdt_suspend_noirq() local 499 struct wdat_wdt *wdat = dev_get_drvdata(dev); wdat_wdt_resume_noirq() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | acpi_watchdog.c | 28 static bool acpi_watchdog_uses_rtc(const struct acpi_table_wdat *wdat) in acpi_watchdog_uses_rtc() argument 33 entries = (struct acpi_wdat_entry *)(wdat + 1); in acpi_watchdog_uses_rtc() 34 for (i = 0; i < wdat->entries; i++) { in acpi_watchdog_uses_rtc() 52 static bool acpi_watchdog_uses_rtc(const struct acpi_table_wdat *wdat) in acpi_watchdog_uses_rtc() argument 62 const struct acpi_table_wdat *wdat = NULL; in acpi_watchdog_get_wdat() local 69 (struct acpi_table_header **)&wdat); in acpi_watchdog_get_wdat() 75 if (acpi_watchdog_uses_rtc(wdat)) { in acpi_watchdog_get_wdat() 76 acpi_put_table((struct acpi_table_header *)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 [all...] |
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | acpi_watchdog.c | 28 static bool acpi_watchdog_uses_rtc(const struct acpi_table_wdat *wdat) in acpi_watchdog_uses_rtc() argument 33 entries = (struct acpi_wdat_entry *)(wdat + 1); in acpi_watchdog_uses_rtc() 34 for (i = 0; i < wdat->entries; i++) { in acpi_watchdog_uses_rtc() 52 static bool acpi_watchdog_uses_rtc(const struct acpi_table_wdat *wdat) in acpi_watchdog_uses_rtc() argument 62 const struct acpi_table_wdat *wdat = NULL; in acpi_watchdog_get_wdat() local 69 (struct acpi_table_header **)&wdat); in acpi_watchdog_get_wdat() 75 if (acpi_watchdog_uses_rtc(wdat)) { in acpi_watchdog_get_wdat() 76 acpi_put_table((struct acpi_table_header *)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 [all...] |
Completed in 3 milliseconds