Searched refs:vc_palette (Results 1 – 4 of 4) sorted by relevance
152 unsigned char vc_palette[16*3]; /* Colour palette for VGA+ */ member
2595 vc->vc_palette[i] = 16 * vc->vc_par[j++]; in do_con_trol()2596 vc->vc_palette[i++] += vc->vc_par[j++]; in do_con_trol()2597 vc->vc_palette[i] = 16 * vc->vc_par[j++]; in do_con_trol()2598 vc->vc_palette[i++] += vc->vc_par[j++]; in do_con_trol()2599 vc->vc_palette[i] = 16 * vc->vc_par[j++]; in do_con_trol()2600 vc->vc_palette[i] += vc->vc_par[j]; in do_con_trol()3603 vc->vc_palette[k++] = default_red[j] ; in vc_init()3604 vc->vc_palette[k++] = default_grn[j] ; in vc_init()3605 vc->vc_palette[k++] = default_blu[j] ; in vc_init()4659 vc_cons[i].d->vc_palette[k++] = default_red[j]; in con_set_cmap()[all …]
656 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette()657 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette()658 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette()
2594 val = vc->vc_palette[j++]; in fbcon_set_palette()2596 val = vc->vc_palette[j++]; in fbcon_set_palette()2598 val = vc->vc_palette[j++]; in fbcon_set_palette()