Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/watchdog/
Dar7_wdt.c48 struct ar7_wdt { struct
69 static struct ar7_wdt *ar7_wdt; argument
75 WRITE_REG(ar7_wdt->kick_lock, 0x5555); in ar7_wdt_kick()
76 if ((READ_REG(ar7_wdt->kick_lock) & 3) == 1) { in ar7_wdt_kick()
77 WRITE_REG(ar7_wdt->kick_lock, 0xaaaa); in ar7_wdt_kick()
78 if ((READ_REG(ar7_wdt->kick_lock) & 3) == 3) { in ar7_wdt_kick()
79 WRITE_REG(ar7_wdt->kick, value); in ar7_wdt_kick()
88 WRITE_REG(ar7_wdt->prescale_lock, 0x5a5a); in ar7_wdt_prescale()
89 if ((READ_REG(ar7_wdt->prescale_lock) & 3) == 1) { in ar7_wdt_prescale()
90 WRITE_REG(ar7_wdt->prescale_lock, 0xa5a5); in ar7_wdt_prescale()
[all …]
DMakefile166 obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
/kernel/linux/linux-5.10/arch/mips/ar7/
Dplatform.c540 static struct platform_device ar7_wdt = { variable
715 res = platform_device_register(&ar7_wdt); in ar7_register_devices()
/kernel/linux/linux-5.10/Documentation/watchdog/
Dwatchdog-parameters.rst72 ar7_wdt: