Lines Matching defs:s
210 static bool blit_region_is_unsafe(struct CirrusVGAState *s, in blit_region_is_unsafe()
234 static bool blit_is_unsafe(struct CirrusVGAState *s, bool dst_only) in blit_is_unsafe()
259 static void cirrus_bitblt_rop_nop(CirrusVGAState *s, in cirrus_bitblt_rop_nop()
266 static void cirrus_bitblt_fill_nop(CirrusVGAState *s, in cirrus_bitblt_fill_nop()
272 static inline uint8_t cirrus_src(CirrusVGAState *s, uint32_t srcaddr) in cirrus_src()
283 static inline uint16_t cirrus_src16(CirrusVGAState *s, uint32_t srcaddr) in cirrus_src16()
297 static inline uint32_t cirrus_src32(CirrusVGAState *s, uint32_t srcaddr) in cirrus_src32()
312 #define ROP_FN(d, s) 0 argument
316 #define ROP_FN(d, s) (s) & (d) argument
320 #define ROP_FN(d, s) (s) & (~(d)) argument
324 #define ROP_FN(d, s) ~(d) argument
328 #define ROP_FN(d, s) s argument
332 #define ROP_FN(d, s) ~0 argument
336 #define ROP_FN(d, s) (~(s)) & (d) argument
340 #define ROP_FN(d, s) (s) ^ (d) argument
344 #define ROP_FN(d, s) (s) | (d) argument
348 #define ROP_FN(d, s) (~(s)) | (~(d)) argument
352 #define ROP_FN(d, s) ~((s) ^ (d)) argument
356 #define ROP_FN(d, s) (s) | (~(d)) argument
360 #define ROP_FN(d, s) (~(s)) argument
364 #define ROP_FN(d, s) (~(s)) | (d) argument
368 #define ROP_FN(d, s) (~(s)) & (~(d)) argument
584 static inline void cirrus_bitblt_fgcol(CirrusVGAState *s) in cirrus_bitblt_fgcol()
608 static inline void cirrus_bitblt_bgcol(CirrusVGAState *s) in cirrus_bitblt_bgcol()
632 static void cirrus_invalidate_region(CirrusVGAState * s, int off_begin, in cirrus_invalidate_region()
659 static int cirrus_bitblt_common_patterncopy(CirrusVGAState *s) in cirrus_bitblt_common_patterncopy()
701 static int cirrus_bitblt_solidfill(CirrusVGAState *s, int blt_rop) in cirrus_bitblt_solidfill()
725 static int cirrus_bitblt_videotovideo_patterncopy(CirrusVGAState * s) in cirrus_bitblt_videotovideo_patterncopy()
730 static int cirrus_do_copy(CirrusVGAState *s, int dst, int src, int w, int h) in cirrus_do_copy()
797 static int cirrus_bitblt_videotovideo_copy(CirrusVGAState * s) in cirrus_bitblt_videotovideo_copy()
813 static void cirrus_bitblt_cputovideo_next(CirrusVGAState * s) in cirrus_bitblt_cputovideo_next()
854 static void cirrus_bitblt_reset(CirrusVGAState * s) in cirrus_bitblt_reset()
870 static int cirrus_bitblt_cputovideo(CirrusVGAState * s) in cirrus_bitblt_cputovideo()
913 static int cirrus_bitblt_videotocpu(CirrusVGAState * s) in cirrus_bitblt_videotocpu()
921 static int cirrus_bitblt_videotovideo(CirrusVGAState * s) in cirrus_bitblt_videotovideo()
935 static void cirrus_bitblt_start(CirrusVGAState * s) in cirrus_bitblt_start()
1082 static void cirrus_write_bitblt(CirrusVGAState * s, unsigned reg_value) in cirrus_write_bitblt()
1108 CirrusVGAState * s = container_of(s1, CirrusVGAState, vga); in cirrus_get_params() local
1130 static uint32_t cirrus_get_bpp16_depth(CirrusVGAState * s) in cirrus_get_bpp16_depth()
1153 CirrusVGAState * s = container_of(s1, CirrusVGAState, vga); in cirrus_get_bpp() local
1189 static void cirrus_get_resolution(VGACommonState *s, int *pwidth, int *pheight) in cirrus_get_resolution()
1211 static void cirrus_update_bank_ptr(CirrusVGAState * s, unsigned bank_index) in cirrus_update_bank_ptr()
1255 static int cirrus_vga_read_sr(CirrusVGAState * s) in cirrus_vga_read_sr()
1319 static void cirrus_vga_write_sr(CirrusVGAState * s, uint32_t val) in cirrus_vga_write_sr()
1417 static int cirrus_read_hidden_dac(CirrusVGAState * s) in cirrus_read_hidden_dac()
1426 static void cirrus_write_hidden_dac(CirrusVGAState * s, int reg_value) in cirrus_write_hidden_dac()
1443 static int cirrus_vga_read_palette(CirrusVGAState * s) in cirrus_vga_read_palette()
1460 static void cirrus_vga_write_palette(CirrusVGAState * s, int reg_value) in cirrus_vga_write_palette()
1482 static int cirrus_vga_read_gr(CirrusVGAState * s, unsigned reg_index) in cirrus_vga_read_gr()
1511 cirrus_vga_write_gr(CirrusVGAState * s, unsigned reg_index, int reg_value) in cirrus_vga_write_gr()
1605 static int cirrus_vga_read_cr(CirrusVGAState * s, unsigned reg_index) in cirrus_vga_read_cr()
1654 static void cirrus_vga_write_cr(CirrusVGAState * s, int reg_value) in cirrus_vga_write_cr()
1733 static uint8_t cirrus_mmio_blt_read(CirrusVGAState * s, unsigned address) in cirrus_mmio_blt_read()
1841 static void cirrus_mmio_blt_write(CirrusVGAState * s, unsigned address, in cirrus_mmio_blt_write()
1956 static void cirrus_mem_writeb_mode4and5_8bpp(CirrusVGAState * s, in cirrus_mem_writeb_mode4and5_8bpp()
1977 static void cirrus_mem_writeb_mode4and5_16bpp(CirrusVGAState * s, in cirrus_mem_writeb_mode4and5_16bpp()
2010 CirrusVGAState *s = opaque; in cirrus_vga_mem_read() local
2054 CirrusVGAState *s = opaque; in cirrus_vga_mem_write() local
2129 static inline void invalidate_cursor1(CirrusVGAState *s) in invalidate_cursor1()
2138 static inline void cirrus_cursor_compute_yrange(CirrusVGAState *s) in cirrus_cursor_compute_yrange()
2191 CirrusVGAState *s = container_of(s1, CirrusVGAState, vga); in cirrus_cursor_invalidate() local
2254 CirrusVGAState *s = container_of(s1, CirrusVGAState, vga); in cirrus_cursor_draw_line() local
2323 CirrusVGAState *s = opaque; in cirrus_linear_read() local
2352 CirrusVGAState *s = opaque; in cirrus_linear_write() local
2401 CirrusVGAState *s = opaque; in cirrus_linear_bitblt_read() local
2416 CirrusVGAState *s = opaque; in cirrus_linear_bitblt_write() local
2437 static void map_linear_vram_bank(CirrusVGAState *s, unsigned bank) in map_linear_vram_bank()
2449 static void map_linear_vram(CirrusVGAState *s) in map_linear_vram()
2459 static void unmap_linear_vram(CirrusVGAState *s) in unmap_linear_vram()
2470 static void cirrus_update_memory_access(CirrusVGAState *s) in cirrus_update_memory_access()
2504 VGACommonState *s = &c->vga; in cirrus_vga_ioport_read() local
2589 VGACommonState *s = &c->vga; in cirrus_vga_ioport_write() local
2688 CirrusVGAState *s = opaque; in cirrus_mmio_read() local
2700 CirrusVGAState *s = opaque; in cirrus_mmio_write() local
2723 CirrusVGAState *s = opaque; in cirrus_post_load() local
2796 CirrusVGAState *s = opaque; in cirrus_reset() local
2840 void cirrus_init_common(CirrusVGAState *s, Object *owner, in cirrus_init_common()
2945 CirrusVGAState *s = &d->cirrus_vga; in pci_cirrus_vga_realize() local