Lines Matching defs:color
454 int color);
458 static int map_gen_mode_num(int type, int color, int mode);
459 static int map_bios_mode_num(int type, int color, int bios_mode);
557 clear_mode_map(video_adapter_t *adp, u_char *map[], int max, int color)
569 if ((info.vi_flags & V_INFO_COLOR) != color)
617 map_gen_mode_num(int type, int color, int mode)
635 if (color)
642 if (color)
662 return ((color) ? mode_map[i].to_color : mode_map[i].to_mono);
669 map_bios_mode_num(int type, int color, int bios_mode)
709 else if (color)
718 else if (color)
813 /* the color adapter may be in the 40x25 mode... XXX */
959 * 2) MDA + EGA/VGA color
1061 * only one of color or mono adapter, or one each of them.
1066 /* we have two mono or color adapters!! */
1083 /* NOTE: there can be only one EGA/VGA, wheather color or mono,
1268 * color/mono display: (*(u_int8_t *)BIOS_PADDRTOVADDR(0x487) & 0x02)
2114 * Change the border color.
2119 vga_set_border(video_adapter_t *adp, int color)
2127 outb(ATC, 0x31); outb(ATC, color & 0xff);
2130 outb(adp->va_crtc_addr + 5, color & 0x0f); /* color select register */
2980 case FBIO_GETPALETTE: /* get color palette */
2988 case FBIO_SETPALETTE: /* set color palette */
3008 case FBIOGETCMAP: /* get color palette */
3015 case FBIOPUTCMAP: /* set color palette */