Lines Matching refs:ETRAXTimerState
53 typedef struct ETRAXTimerState ETRAXTimerState; typedef
54 DECLARE_INSTANCE_CHECKER(ETRAXTimerState, ETRAX_TIMER,
57 struct ETRAXTimerState { struct
92 VMSTATE_PTIMER(ptimer_t0, ETRAXTimerState), argument
93 VMSTATE_PTIMER(ptimer_t1, ETRAXTimerState),
94 VMSTATE_PTIMER(ptimer_wd, ETRAXTimerState),
96 VMSTATE_UINT32(wd_hits, ETRAXTimerState),
98 VMSTATE_UINT32(rw_tmr0_div, ETRAXTimerState),
99 VMSTATE_UINT32(r_tmr0_data, ETRAXTimerState),
100 VMSTATE_UINT32(rw_tmr0_ctrl, ETRAXTimerState),
102 VMSTATE_UINT32(rw_tmr1_div, ETRAXTimerState),
103 VMSTATE_UINT32(r_tmr1_data, ETRAXTimerState),
104 VMSTATE_UINT32(rw_tmr1_ctrl, ETRAXTimerState),
106 VMSTATE_UINT32(rw_wd_ctrl, ETRAXTimerState),
108 VMSTATE_UINT32(rw_intr_mask, ETRAXTimerState),
109 VMSTATE_UINT32(rw_ack_intr, ETRAXTimerState),
110 VMSTATE_UINT32(r_intr, ETRAXTimerState),
111 VMSTATE_UINT32(r_masked_intr, ETRAXTimerState),
120 ETRAXTimerState *t = opaque; in timer_read()
146 static void update_ctrl(ETRAXTimerState *t, int tnum) in update_ctrl()
212 static void timer_update_irq(ETRAXTimerState *t) in timer_update_irq()
223 ETRAXTimerState *t = opaque; in timer0_hit()
230 ETRAXTimerState *t = opaque; in timer1_hit()
237 ETRAXTimerState *t = opaque; in watchdog_hit()
251 static inline void timer_watchdog_update(ETRAXTimerState *t, uint32_t value) in timer_watchdog_update()
292 ETRAXTimerState *t = opaque; in timer_write()
344 ETRAXTimerState *t = ETRAX_TIMER(obj); in etraxfs_timer_reset_enter()
362 ETRAXTimerState *t = ETRAX_TIMER(obj); in etraxfs_timer_reset_hold()
369 ETRAXTimerState *t = ETRAX_TIMER(dev); in etraxfs_timer_realize()
398 .instance_size = sizeof(ETRAXTimerState),