Lines Matching refs:timer
182 ptimer_transaction_begin(s->timer); in allwinner_wdt_update_timer()
183 ptimer_stop(s->timer); in allwinner_wdt_update_timer()
187 ptimer_set_count(s->timer, allwinner_wdt_count_map[count]); in allwinner_wdt_update_timer()
193 ptimer_run(s->timer, 1); in allwinner_wdt_update_timer()
194 ptimer_transaction_commit(s->timer); in allwinner_wdt_update_timer()
317 VMSTATE_PTIMER(timer, AwWdtState),
339 s->timer = ptimer_init(allwinner_wdt_expired, s, in allwinner_wdt_realize()
344 ptimer_transaction_begin(s->timer); in allwinner_wdt_realize()
346 ptimer_set_freq(s->timer, 2); in allwinner_wdt_realize()
347 ptimer_set_limit(s->timer, 0xff, 1); in allwinner_wdt_realize()
348 ptimer_transaction_commit(s->timer); in allwinner_wdt_realize()