Searched refs:jz4740_wdt (Results 1 – 2 of 2) sorted by relevance
64 } jz4740_wdt; variable71 writew(0x0, jz4740_wdt.base + JZ_REG_WDT_TIMER_COUNTER); in jz4740_wdt_service()82 rtc_clk_rate = clk_get_rate(jz4740_wdt.rtc_clk); in jz4740_wdt_set_heartbeat()96 writeb(0x0, jz4740_wdt.base + JZ_REG_WDT_COUNTER_ENABLE); in jz4740_wdt_set_heartbeat()97 writew(clock_div, jz4740_wdt.base + JZ_REG_WDT_TIMER_CONTROL); in jz4740_wdt_set_heartbeat()99 writew((u16)timeout_value, jz4740_wdt.base + JZ_REG_WDT_TIMER_DATA); in jz4740_wdt_set_heartbeat()100 writew(0x0, jz4740_wdt.base + JZ_REG_WDT_TIMER_COUNTER); in jz4740_wdt_set_heartbeat()102 jz4740_wdt.base + JZ_REG_WDT_TIMER_CONTROL); in jz4740_wdt_set_heartbeat()104 writeb(0x1, jz4740_wdt.base + JZ_REG_WDT_COUNTER_ENABLE); in jz4740_wdt_set_heartbeat()116 writeb(0x0, jz4740_wdt.base + JZ_REG_WDT_COUNTER_ENABLE); in jz4740_wdt_disable()[all …]
118 obj-$(CONFIG_JZ4740_WDT) += jz4740_wdt.o