Searched refs:ar7_wdt (Results 1 – 4 of 4) sorted by relevance
48 struct ar7_wdt { struct69 static struct ar7_wdt *ar7_wdt; argument75 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 …]
166 obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
540 static struct platform_device ar7_wdt = { variable715 res = platform_device_register(&ar7_wdt); in ar7_register_devices()
72 ar7_wdt: