Lines Matching refs:wdt_timer
47 static struct cs5535_mfgpt_timer *wdt_timer; variable
53 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_SETUP, 0); in geodewdt_ping()
56 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_COUNTER, 0); in geodewdt_ping()
59 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_SETUP, MFGPT_SETUP_CNTEN); in geodewdt_ping()
64 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_SETUP, 0); in geodewdt_disable()
65 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_COUNTER, 0); in geodewdt_disable()
73 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_SETUP, 0); in geodewdt_set_heartbeat()
74 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_CMP2, val * GEODEWDT_HZ); in geodewdt_set_heartbeat()
75 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_COUNTER, 0); in geodewdt_set_heartbeat()
76 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_SETUP, MFGPT_SETUP_CNTEN); in geodewdt_set_heartbeat()
217 wdt_timer = cs5535_mfgpt_alloc_timer(MFGPT_TIMER_ANY, MFGPT_DOMAIN_WORKING); in geodewdt_probe()
218 if (!wdt_timer) { in geodewdt_probe()
225 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_SETUP, in geodewdt_probe()
229 cs5535_mfgpt_toggle_event(wdt_timer, MFGPT_CMP2, MFGPT_EVENT_RESET, 1); in geodewdt_probe()
233 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_CMP2, in geodewdt_probe()