Searched refs:MOS6522Timer (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/include/hw/misc/ |
H A D | mos6522.h | 104 typedef struct MOS6522Timer { struct 112 } MOS6522Timer; argument 146 MOS6522Timer timers[2]; 163 uint64_t (*get_timer1_counter_value)(MOS6522State *dev, MOS6522Timer *ti); 164 uint64_t (*get_timer2_counter_value)(MOS6522State *dev, MOS6522Timer *ti); 165 uint64_t (*get_timer1_load_time)(MOS6522State *dev, MOS6522Timer *ti); 166 uint64_t (*get_timer2_load_time)(MOS6522State *dev, MOS6522Timer *ti);
|
/openbmc/qemu/hw/misc/ |
H A D | mos6522.c | 49 static void mos6522_timer1_update(MOS6522State *s, MOS6522Timer *ti, 51 static void mos6522_timer2_update(MOS6522State *s, MOS6522Timer *ti, 130 static uint64_t get_counter_value(MOS6522State *s, MOS6522Timer *ti) in get_counter_value() 141 static uint64_t get_load_time(MOS6522State *s, MOS6522Timer *ti) in get_load_time() 152 static unsigned int get_counter(MOS6522State *s, MOS6522Timer *ti) in get_counter() 173 static void set_counter(MOS6522State *s, MOS6522Timer *ti, unsigned int val) in set_counter() 185 static int64_t get_next_irq_time(MOS6522State *s, MOS6522Timer *ti, in get_next_irq_time() 225 static void mos6522_timer1_update(MOS6522State *s, MOS6522Timer *ti, in mos6522_timer1_update() 239 static void mos6522_timer2_update(MOS6522State *s, MOS6522Timer *ti, in mos6522_timer2_update() 256 MOS6522Timer *ti = &s->timers[0]; in mos6522_timer1() [all …]
|
/openbmc/qemu/hw/misc/macio/ |
H A D | cuda.c | 68 static uint64_t cuda_get_counter_value(MOS6522State *s, MOS6522Timer *ti) in cuda_get_counter_value() 81 static uint64_t cuda_get_load_time(MOS6522State *s, MOS6522Timer *ti) in cuda_get_load_time()
|