Lines Matching defs:t16
97 #define CLKSRC(t16) (t16->crb & T16_CRB_CS) argument
98 #define MODE(t16) (((t16->crb & T16_CRB_WGM23) >> 1) | \ argument
100 #define CNT(t16) VAL16(t16->cntl, t16->cnth) argument
101 #define OCRA(t16) VAL16(t16->ocral, t16->ocrah) argument
102 #define OCRB(t16) VAL16(t16->ocrbl, t16->ocrbh) argument
103 #define OCRC(t16) VAL16(t16->ocrcl, t16->ocrch) argument
104 #define ICR(t16) VAL16(t16->icrl, t16->icrh) argument
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() local
299 AVRTimer16State *t16 = AVR_TIMER16(dev); in avr_timer16_reset() local
315 AVRTimer16State *t16 = opaque; in avr_timer16_read() local
379 AVRTimer16State *t16 = opaque; in avr_timer16_write() local
479 AVRTimer16State *t16 = opaque; in avr_timer16_imsk_read() local
491 AVRTimer16State *t16 = opaque; in avr_timer16_imsk_write() local
504 AVRTimer16State *t16 = opaque; in avr_timer16_ifr_read() local
516 AVRTimer16State *t16 = opaque; in avr_timer16_ifr_write() local