Lines Matching refs:ptimer_state
61 typedef struct ptimer_state ptimer_state;
64 ptimer_state *ptimer_init(QEMUBH *bh);
65 void ptimer_set_period(ptimer_state *s, int64_t period);
66 void ptimer_set_freq(ptimer_state *s, uint32_t freq);
67 void ptimer_set_limit(ptimer_state *s, uint64_t limit, int reload);
68 uint64_t ptimer_get_count(ptimer_state *s);
69 void ptimer_set_count(ptimer_state *s, uint64_t count);
70 void ptimer_run(ptimer_state *s, int oneshot);
71 void ptimer_stop(ptimer_state *s);
72 void qemu_put_ptimer(QEMUFile *f, ptimer_state *s);
73 void qemu_get_ptimer(QEMUFile *f, ptimer_state *s);