Lines Matching refs:vga_atc

156 	} vga_atc;  member
227 data &= sc->vga_atc.atc_color_plane_enb; in vga_get_pixel()
229 if (sc->vga_atc.atc_mode & ATC_MC_IPS) { in vga_get_pixel()
230 idx = sc->vga_atc.atc_palette[data] & 0x0f; in vga_get_pixel()
231 idx |= sc->vga_atc.atc_color_select_45; in vga_get_pixel()
233 idx = sc->vga_atc.atc_palette[data]; in vga_get_pixel()
235 idx |= sc->vga_atc.atc_color_select_67; in vga_get_pixel()
276 idx = sc->vga_atc.atc_palette[attr & 0xf]; in vga_get_text_pixel()
296 idx = sc->vga_atc.atc_palette[attr & 0xf]; in vga_get_text_pixel()
298 idx = sc->vga_atc.atc_palette[attr >> 4]; in vga_get_text_pixel()
332 if (sc->vga_gc.gc_misc_gm && (sc->vga_atc.atc_mode & ATC_MC_GA)) in vga_render()
809 *val = sc->vga_atc.atc_index; in vga_port_in_handler()
812 switch (sc->vga_atc.atc_index) { in vga_port_in_handler()
814 *val = sc->vga_atc.atc_palette[sc->vga_atc.atc_index]; in vga_port_in_handler()
817 *val = sc->vga_atc.atc_mode; in vga_port_in_handler()
820 *val = sc->vga_atc.atc_overscan_color; in vga_port_in_handler()
823 *val = sc->vga_atc.atc_color_plane_enb; in vga_port_in_handler()
826 *val = sc->vga_atc.atc_horiz_pixel_panning; in vga_port_in_handler()
829 *val = sc->vga_atc.atc_color_select; in vga_port_in_handler()
918 sc->vga_atc.atc_flipflop = 0; in vga_port_in_handler()
1045 if (sc->vga_atc.atc_flipflop == 0) { in vga_port_out_handler()
1046 if (sc->vga_atc.atc_index & 0x20) in vga_port_out_handler()
1048 sc->vga_atc.atc_index = val & ATC_IDX_MASK; in vga_port_out_handler()
1050 switch (sc->vga_atc.atc_index) { in vga_port_out_handler()
1052 sc->vga_atc.atc_palette[sc->vga_atc.atc_index] = val & 0x3f; in vga_port_out_handler()
1055 sc->vga_atc.atc_mode = val; in vga_port_out_handler()
1058 sc->vga_atc.atc_overscan_color = val; in vga_port_out_handler()
1061 sc->vga_atc.atc_color_plane_enb = val; in vga_port_out_handler()
1064 sc->vga_atc.atc_horiz_pixel_panning = val; in vga_port_out_handler()
1067 sc->vga_atc.atc_color_select = val; in vga_port_out_handler()
1068 sc->vga_atc.atc_color_select_45 = in vga_port_out_handler()
1070 sc->vga_atc.atc_color_select_67 = in vga_port_out_handler()
1079 sc->vga_atc.atc_flipflop ^= 1; in vga_port_out_handler()