Searched refs:latch (Results 1 – 10 of 10) sorted by relevance
/qemu/hw/misc/ |
H A D | mos6522.c | 164 counter = (d - (ti->counter_value + 1)) % (ti->latch + 2); in get_counter() 165 counter = (ti->latch - counter) & 0xffff; in get_counter() 203 counter = (d - (ti->counter_value + 1)) % (ti->latch + 2); in get_next_irq_time() 204 counter = (ti->latch - counter) & 0xffff; in get_next_irq_time() 209 next_time = d + ti->latch + 1; in get_next_irq_time() 211 next_time = d + ti->latch + 2; in get_next_irq_time() 215 trace_mos6522_get_next_irq_time(ti->latch, d, next_time - d); in get_next_irq_time() 349 val = s->timers[0].latch & 0xff; in mos6522_read() 353 val = (s->timers[0].latch >> 8) & 0xff; in mos6522_read() 433 s->timers[0].latch = (s->timers[0].latch & 0xff00) | val; in mos6522_write() [all …]
|
H A D | trace-events | 128 mos6522_get_next_irq_time(uint16_t latch, int64_t d, int64_t delta) "latch=%d counter=0x%"PRIx64 " …
|
/qemu/hw/xen/ |
H A D | xen_pt_msi.c | 29 #define latch(fld) latch[PCI_MSIX_ENTRY_##fld / sizeof(uint32_t)] macro 349 entry->addr = entry->latch(LOWER_ADDR) | in xen_pt_msix_update_one() 350 ((uint64_t)entry->latch(UPPER_ADDR) << 32); in xen_pt_msix_update_one() 351 entry->data = entry->latch(DATA); in xen_pt_msix_update_one() 380 xen_pt_msix_update_one(s, i, msix->msix_entry[i].latch(VECTOR_CTRL)); in xen_pt_msix_update() 429 assert(!(offset % sizeof(*e->latch))); in get_entry_value() 430 return e->latch[offset / sizeof(*e->latch)]; in get_entry_value() 435 assert(!(offset % sizeof(*e->latch))); in set_entry_value() 436 e->latch[offset / sizeof(*e->latch)] = val; in set_entry_value()
|
H A D | xen_pt.h | 216 uint32_t latch[4]; member
|
/qemu/hw/block/ |
H A D | swim.c | 283 uint8_t latch, reg, ism_bit; in iwmctrl_write() local 288 latch = (addr >> 1) & 7; in iwmctrl_write() 290 swimctrl->iwm_latches |= (1 << latch); in iwmctrl_write() 292 swimctrl->iwm_latches &= ~(1 << latch); in iwmctrl_write() 347 uint8_t latch, reg, value; in iwmctrl_read() local 352 latch = (addr >> 1) & 7; in iwmctrl_read() 354 swimctrl->iwm_latches |= (1 << latch); in iwmctrl_read() 356 swimctrl->iwm_latches &= ~(1 << latch); in iwmctrl_read()
|
/qemu/include/hw/misc/ |
H A D | mos6522.h | 106 uint16_t latch; member
|
/qemu/hw/display/ |
H A D | vga.c | 852 s->latch = ((uint32_t *)s->vram_ptr)[addr]; in vga_mem_readb() 855 ret = GET_PLANE(s->latch, plane); in vga_mem_readb() 858 ret = (s->latch ^ mask16[s->gr[VGA_GFX_COMPARE_VALUE]]) & in vga_mem_readb() 974 val = s->latch; in vga_mem_writeb() 999 val &= s->latch; in vga_mem_writeb() 1003 val |= s->latch; in vga_mem_writeb() 1007 val ^= s->latch; in vga_mem_writeb() 1014 val = (val & bit_mask) | (s->latch & ~bit_mask); in vga_mem_writeb() 2139 VMSTATE_UINT32(latch, VGACommonState),
|
H A D | vga_int.h | 76 uint32_t latch; member
|
H A D | cirrus_vga.c | 2743 VMSTATE_UINT32(vga.latch, CirrusVGAState),
|
/qemu/hw/arm/ |
H A D | omap1.c | 1905 uint16_t latch; member 1933 s->latch = s->inputs; in omap_mpuio_set() 2003 return s->latch; in omap_mpuio_read() 2102 s->latch = 0; in omap_mpuio_reset()
|