Lines Matching refs:wdt_timer
51 static struct cs5535_mfgpt_timer *wdt_timer; variable
57 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_SETUP, 0); in geodewdt_ping()
60 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_COUNTER, 0); in geodewdt_ping()
63 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_SETUP, MFGPT_SETUP_CNTEN); in geodewdt_ping()
68 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_SETUP, 0); in geodewdt_disable()
69 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_COUNTER, 0); in geodewdt_disable()
77 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_SETUP, 0); in geodewdt_set_heartbeat()
78 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_CMP2, val * GEODEWDT_HZ); in geodewdt_set_heartbeat()
79 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_COUNTER, 0); in geodewdt_set_heartbeat()
80 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_SETUP, MFGPT_SETUP_CNTEN); in geodewdt_set_heartbeat()
222 wdt_timer = cs5535_mfgpt_alloc_timer(MFGPT_TIMER_ANY, MFGPT_DOMAIN_WORKING); in geodewdt_probe()
223 if (!wdt_timer) { in geodewdt_probe()
230 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_SETUP, in geodewdt_probe()
234 cs5535_mfgpt_toggle_event(wdt_timer, MFGPT_CMP2, MFGPT_EVENT_RESET, 1); in geodewdt_probe()
238 cs5535_mfgpt_write(wdt_timer, MFGPT_REG_CMP2, in geodewdt_probe()