Searched refs:gr_index (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/display/ |
H A D | vga.c | 384 val = s->gr_index; in vga_ioport_read() 387 val = s->gr[s->gr_index]; in vga_ioport_read() 389 printf("vga: read GR%x = 0x%02x\n", s->gr_index, val); in vga_ioport_read() 497 s->gr_index = val & 0x0f; in vga_ioport_write() 501 printf("vga: write GR%x = 0x%02x\n", s->gr_index, val); in vga_ioport_write() 503 s->gr[s->gr_index] = val & gr_mask[s->gr_index]; in vga_ioport_write() 1836 s->gr_index = 0; in vga_common_reset() 2142 VMSTATE_UINT8(gr_index, VGACommonState),
|
H A D | vga_int.h | 82 uint8_t gr_index; member
|
H A D | cirrus_vga.c | 1495 return s->vga.gr[s->vga.gr_index]; in cirrus_vga_read_gr() 2557 val = s->gr_index; in cirrus_vga_ioport_read() 2560 val = cirrus_vga_read_gr(c, s->gr_index); in cirrus_vga_ioport_read() 2659 s->gr_index = val; in cirrus_vga_ioport_write() 2662 cirrus_vga_write_gr(c, s->gr_index, val); in cirrus_vga_ioport_write() 2746 VMSTATE_UINT8(vga.gr_index, CirrusVGAState),
|