Lines Matching refs:TCXState
59 OBJECT_DECLARE_SIMPLE_TYPE(TCXState, TCX)
61 struct TCXState { struct
99 static void tcx_set_dirty(TCXState *s, ram_addr_t addr, int len) in tcx_set_dirty() argument
111 static int tcx_check_dirty(TCXState *s, DirtyBitmapSnapshot *snap, in tcx_check_dirty()
128 static void update_palette_entries(TCXState *s, int start, int end) in update_palette_entries()
138 static void tcx_draw_line32(TCXState *s1, uint8_t *d, in tcx_draw_line32()
151 static void tcx_draw_cursor32(TCXState *s1, uint8_t *d, in tcx_draw_cursor32()
181 static inline void tcx24_draw_line32(TCXState *s1, uint8_t *d, in tcx24_draw_line32()
214 TCXState *ts = opaque; in tcx_update_display()
264 TCXState *ts = opaque; in tcx24_update_display()
319 TCXState *s = opaque; in tcx_invalidate_display()
327 TCXState *s = opaque; in tcx24_invalidate_display()
335 TCXState *s = opaque; in vmstate_tcx_post_load()
348 VMSTATE_UINT16(height, TCXState),
349 VMSTATE_UINT16(width, TCXState),
350 VMSTATE_UINT16(depth, TCXState),
351 VMSTATE_BUFFER(r, TCXState),
352 VMSTATE_BUFFER(g, TCXState),
353 VMSTATE_BUFFER(b, TCXState),
354 VMSTATE_UINT8(dac_index, TCXState),
355 VMSTATE_UINT8(dac_state, TCXState),
362 TCXState *s = TCX(d); in tcx_reset()
384 TCXState *s = opaque; in tcx_dac_readl()
411 TCXState *s = opaque; in tcx_dac_writel()
471 TCXState *s = opaque; in tcx_stip_writel()
503 TCXState *s = opaque; in tcx_rstip_writel()
570 TCXState *s = opaque; in tcx_blit_writel()
602 TCXState *s = opaque; in tcx_rblit_writel()
661 static void tcx_invalidate_cursor_position(TCXState *s) in tcx_invalidate_cursor_position()
680 TCXState *s = opaque; in tcx_thc_readl()
694 TCXState *s = opaque; in tcx_thc_writel()
758 TCXState *s = TCX(obj); in tcx_initfn()
813 TCXState *s = TCX(dev); in tcx_realizefn()
883 DEFINE_PROP_UINT32("vram_size", TCXState, vram_size, -1),
884 DEFINE_PROP_UINT16("width", TCXState, width, -1),
885 DEFINE_PROP_UINT16("height", TCXState, height, -1),
886 DEFINE_PROP_UINT16("depth", TCXState, depth, -1),
903 .instance_size = sizeof(TCXState),