Lines Matching defs:colors
199 static int vesa_bios_save_palette(int start, int colors, u_char *palette,
201 static int vesa_bios_save_palette2(int start, int colors, u_char *r, u_char *g,
203 static int vesa_bios_load_palette(int start, int colors, u_char *palette,
205 static int vesa_bios_load_palette2(int start, int colors, u_char *r, u_char *g,
385 vesa_bios_save_palette(int start, int colors, u_char *palette, int bits)
393 regs.R_CX = colors;
406 for (i = 0; i < colors; ++i) {
417 vesa_bios_save_palette2(int start, int colors, u_char *r, u_char *g, u_char *b,
426 regs.R_CX = colors;
439 for (i = 0; i < colors; ++i) {
450 vesa_bios_load_palette(int start, int colors, u_char *palette, int bits)
458 regs.R_CX = colors;
466 for (i = 0; i < colors; ++i) {
479 vesa_bios_load_palette2(int start, int colors, u_char *r, u_char *g, u_char *b,
488 regs.R_CX = colors;
496 for (i = 0; i < colors; ++i) {