Searched refs:SVGA_PALETTE_BASE (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/display/ |
H A D | vmware_vga.c | 166 SVGA_PALETTE_BASE = 1024, /* Base of SVGA color map */ enumerator 167 SVGA_PALETTE_END = SVGA_PALETTE_BASE + 767, 168 SVGA_SCRATCH_BASE = SVGA_PALETTE_BASE + 768, 960 case SVGA_PALETTE_BASE ... SVGA_PALETTE_END: in vmsvga_value_read() 978 } else if (s->index >= SVGA_PALETTE_BASE) { in vmsvga_value_read() 992 } else if (s->index >= SVGA_PALETTE_BASE) { in vmsvga_value_write() 1094 case SVGA_PALETTE_BASE ... SVGA_PALETTE_END: in vmsvga_value_write()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/device_include/ |
H A D | svga_reg.h | 211 SVGA_PALETTE_BASE = 1024, enumerator 213 SVGA_SCRATCH_BASE = SVGA_PALETTE_BASE + SVGA_NUM_PALETTE_REGS
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_kms.c | 2255 vmw_write(dev_priv, SVGA_PALETTE_BASE + i * 3 + 0, r[i] >> 8); in vmw_du_crtc_gamma_set() 2256 vmw_write(dev_priv, SVGA_PALETTE_BASE + i * 3 + 1, g[i] >> 8); in vmw_du_crtc_gamma_set() 2257 vmw_write(dev_priv, SVGA_PALETTE_BASE + i * 3 + 2, b[i] >> 8); in vmw_du_crtc_gamma_set()
|