Lines Matching refs:AVRTimer16State
110 static inline int64_t avr_timer16_ns_to_ticks(AVRTimer16State *t16, int64_t t) in avr_timer16_ns_to_ticks()
118 static void avr_timer16_update_cnt(AVRTimer16State *t16) in avr_timer16_update_cnt()
127 static inline void avr_timer16_recalc_reset_time(AVRTimer16State *t16) in avr_timer16_recalc_reset_time()
133 static void avr_timer16_clock_reset(AVRTimer16State *t16) in avr_timer16_clock_reset()
140 static void avr_timer16_clksrc_update(AVRTimer16State *t16) in avr_timer16_clksrc_update()
177 static void avr_timer16_set_alarm(AVRTimer16State *t16) in avr_timer16_set_alarm()
244 AVRTimer16State *t16 = opaque; in avr_timer16_interrupt()
299 AVRTimer16State *t16 = AVR_TIMER16(dev); in avr_timer16_reset()
315 AVRTimer16State *t16 = opaque; in avr_timer16_read()
379 AVRTimer16State *t16 = opaque; in avr_timer16_write()
479 AVRTimer16State *t16 = opaque; in avr_timer16_imsk_read()
491 AVRTimer16State *t16 = opaque; in avr_timer16_imsk_write()
504 AVRTimer16State *t16 = opaque; in avr_timer16_ifr_read()
516 AVRTimer16State *t16 = opaque; in avr_timer16_ifr_write()
546 DEFINE_PROP_UINT8("id", struct AVRTimer16State, id, 0),
547 DEFINE_PROP_UINT64("cpu-frequency-hz", struct AVRTimer16State,
554 AVRTimer16State *s = AVR_TIMER16(opaque); in avr_timer16_pr()
565 AVRTimer16State *s = AVR_TIMER16(obj); in avr_timer16_init()
588 AVRTimer16State *s = AVR_TIMER16(dev); in avr_timer16_realize()
611 .instance_size = sizeof(AVRTimer16State),