ar7_wdt           540 arch/mips/ar7/platform.c static struct platform_device ar7_wdt = {
ar7_wdt           715 arch/mips/ar7/platform.c 		res = platform_device_register(&ar7_wdt);
ar7_wdt            69 drivers/watchdog/ar7_wdt.c static struct ar7_wdt *ar7_wdt;
ar7_wdt            75 drivers/watchdog/ar7_wdt.c 	WRITE_REG(ar7_wdt->kick_lock, 0x5555);
ar7_wdt            76 drivers/watchdog/ar7_wdt.c 	if ((READ_REG(ar7_wdt->kick_lock) & 3) == 1) {
ar7_wdt            77 drivers/watchdog/ar7_wdt.c 		WRITE_REG(ar7_wdt->kick_lock, 0xaaaa);
ar7_wdt            78 drivers/watchdog/ar7_wdt.c 		if ((READ_REG(ar7_wdt->kick_lock) & 3) == 3) {
ar7_wdt            79 drivers/watchdog/ar7_wdt.c 			WRITE_REG(ar7_wdt->kick, value);
ar7_wdt            88 drivers/watchdog/ar7_wdt.c 	WRITE_REG(ar7_wdt->prescale_lock, 0x5a5a);
ar7_wdt            89 drivers/watchdog/ar7_wdt.c 	if ((READ_REG(ar7_wdt->prescale_lock) & 3) == 1) {
ar7_wdt            90 drivers/watchdog/ar7_wdt.c 		WRITE_REG(ar7_wdt->prescale_lock, 0xa5a5);
ar7_wdt            91 drivers/watchdog/ar7_wdt.c 		if ((READ_REG(ar7_wdt->prescale_lock) & 3) == 3) {
ar7_wdt            92 drivers/watchdog/ar7_wdt.c 			WRITE_REG(ar7_wdt->prescale, value);
ar7_wdt           101 drivers/watchdog/ar7_wdt.c 	WRITE_REG(ar7_wdt->change_lock, 0x6666);
ar7_wdt           102 drivers/watchdog/ar7_wdt.c 	if ((READ_REG(ar7_wdt->change_lock) & 3) == 1) {
ar7_wdt           103 drivers/watchdog/ar7_wdt.c 		WRITE_REG(ar7_wdt->change_lock, 0xbbbb);
ar7_wdt           104 drivers/watchdog/ar7_wdt.c 		if ((READ_REG(ar7_wdt->change_lock) & 3) == 3) {
ar7_wdt           105 drivers/watchdog/ar7_wdt.c 			WRITE_REG(ar7_wdt->change, value);
ar7_wdt           114 drivers/watchdog/ar7_wdt.c 	WRITE_REG(ar7_wdt->disable_lock, 0x7777);
ar7_wdt           115 drivers/watchdog/ar7_wdt.c 	if ((READ_REG(ar7_wdt->disable_lock) & 3) == 1) {
ar7_wdt           116 drivers/watchdog/ar7_wdt.c 		WRITE_REG(ar7_wdt->disable_lock, 0xcccc);
ar7_wdt           117 drivers/watchdog/ar7_wdt.c 		if ((READ_REG(ar7_wdt->disable_lock) & 3) == 2) {
ar7_wdt           118 drivers/watchdog/ar7_wdt.c 			WRITE_REG(ar7_wdt->disable_lock, 0xdddd);
ar7_wdt           119 drivers/watchdog/ar7_wdt.c 			if ((READ_REG(ar7_wdt->disable_lock) & 3) == 3) {
ar7_wdt           120 drivers/watchdog/ar7_wdt.c 				WRITE_REG(ar7_wdt->disable, value);
ar7_wdt           270 drivers/watchdog/ar7_wdt.c 	ar7_wdt = devm_ioremap_resource(&pdev->dev, ar7_regs_wdt);
ar7_wdt           271 drivers/watchdog/ar7_wdt.c 	if (IS_ERR(ar7_wdt))
ar7_wdt           272 drivers/watchdog/ar7_wdt.c 		return PTR_ERR(ar7_wdt);