Searched refs:MOS6522State (Results 1 – 8 of 8) sorted by relevance
/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, 54 static void mos6522_update_irq(MOS6522State *s) in mos6522_update_irq() 65 MOS6522State *s = MOS6522(opaque); in mos6522_set_irq() 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() [all …]
|
H A D | mac_via.c | 331 MOS6522State *s = MOS6522(v1s); in via1_sixty_hz() 344 MOS6522State *s = MOS6522(v1s); in via1_one_second() 417 MOS6522State *s = MOS6522(v1s); in via1_rtc_update() 576 MOS6522State *s = MOS6522(v1s); in adb_via_poll() 667 MOS6522State *ms = MOS6522(v1s); in adb_via_send() 744 MOS6522State *ms = MOS6522(v1s); in adb_via_receive() 847 MOS6522State *s = MOS6522(v1s); in via1_adb_update() 866 MOS6522State *s = MOS6522(v1s); in via1_auxmode_update() 1035 MOS6522State *ms = MOS6522(s); in mos6522_q800_via1_read() 1072 MOS6522State *ms = MOS6522(v1s); in mos6522_q800_via1_write() [all …]
|
/openbmc/qemu/include/hw/misc/ |
H A D | mos6522.h | 129 struct MOS6522State { struct 154 OBJECT_DECLARE_TYPE(MOS6522State, MOS6522DeviceClass, MOS6522) argument 160 void (*portB_write)(MOS6522State *dev); 161 void (*portA_write)(MOS6522State *dev); 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);
|
H A D | mac_via.h | 40 MOS6522State parent_obj; 110 MOS6522State parent_obj;
|
/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() 95 MOS6522State *ms = MOS6522(mcs); in cuda_set_sr_int() 115 MOS6522State *ms = MOS6522(mcs); in cuda_update() 459 MOS6522State *ms = MOS6522(mcs); in mos6522_cuda_read() 470 MOS6522State *ms = MOS6522(mcs); in mos6522_cuda_write() 492 MOS6522State), 581 static void mos6522_cuda_portB_write(MOS6522State *s) in mos6522_cuda_portB_write() 591 MOS6522State *ms = MOS6522(obj); in mos6522_cuda_reset_hold()
|
H A D | pmu.c | 59 MOS6522State *ms = MOS6522(mps); in via_set_sr_int() 501 MOS6522State *ms = MOS6522(mps); in pmu_update() 632 MOS6522State *ms = MOS6522(mps); in mos6522_pmu_read() 643 MOS6522State *ms = MOS6522(mps); in mos6522_pmu_write() 684 MOS6522State), 787 static void mos6522_pmu_portB_write(MOS6522State *s) in mos6522_pmu_portB_write() 797 MOS6522State *ms = MOS6522(obj); in mos6522_pmu_reset_hold()
|
/openbmc/qemu/include/hw/misc/macio/ |
H A D | cuda.h | 65 MOS6522State parent_obj;
|
H A D | pmu.h | 180 MOS6522State parent_obj;
|