Searched refs:vc_palette (Results 1 – 4 of 4) sorted by relevance
152 unsigned char vc_palette[16*3]; /* Colour palette for VGA+ */ member
2264 vc->vc_palette[i] = 16 * vc->vc_par[j++]; in do_con_trol()2265 vc->vc_palette[i++] += vc->vc_par[j++]; in do_con_trol()2266 vc->vc_palette[i] = 16 * vc->vc_par[j++]; in do_con_trol()2267 vc->vc_palette[i++] += vc->vc_par[j++]; in do_con_trol()2268 vc->vc_palette[i] = 16 * vc->vc_par[j++]; in do_con_trol()2269 vc->vc_palette[i] += vc->vc_par[j]; in do_con_trol()3417 vc->vc_palette[k++] = default_red[j] ; in vc_init()3418 vc->vc_palette[k++] = default_grn[j] ; in vc_init()3419 vc->vc_palette[k++] = default_blu[j] ; in vc_init()4483 vc_cons[i].d->vc_palette[k++] = default_red[j]; in con_set_cmap()[all …]
627 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette()628 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette()629 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette()
2578 val = vc->vc_palette[j++]; in fbcon_set_palette()2580 val = vc->vc_palette[j++]; in fbcon_set_palette()2582 val = vc->vc_palette[j++]; in fbcon_set_palette()