/Linux-v6.1/include/video/ |
D | vga.h | 244 static inline void vga_w (void __iomem *regbase, unsigned short port, unsigned char val) in vga_w() function 269 vga_w (regbase, VGA_CRT_IC, reg); in vga_rcrt() 278 vga_w (regbase, VGA_CRT_IC, reg); in vga_wcrt() 279 vga_w (regbase, VGA_CRT_DC, val); in vga_wcrt() 322 vga_w (regbase, VGA_SEQ_I, reg); in vga_rseq() 331 vga_w (regbase, VGA_SEQ_I, reg); in vga_wseq() 332 vga_w (regbase, VGA_SEQ_D, val); in vga_wseq() 374 vga_w (regbase, VGA_GFX_I, reg); in vga_rgfx() 383 vga_w (regbase, VGA_GFX_I, reg); in vga_wgfx() 384 vga_w (regbase, VGA_GFX_D, val); in vga_wgfx() [all …]
|
/Linux-v6.1/drivers/video/ |
D | vgastate.c | 37 vga_w(regbase, iobase + 0x4, reg); in vga_rcrtcs() 44 vga_w(regbase, iobase + 0x4, reg); in vga_wcrtcs() 45 vga_w(regbase, iobase + 0x5, val); in vga_wcrtcs() 60 vga_w(state->vgabase, VGA_ATT_W, 0x00); in save_vga_text() 63 vga_w(state->vgabase, VGA_ATT_W, 0x20); in save_vga_text() 175 vga_w(fbbase, i, saved->vga_font0[i]); in restore_vga_text() 186 vga_w(fbbase, i, saved->vga_font1[i]); in restore_vga_text() 197 vga_w(fbbase, i, saved->vga_text[i]); in restore_vga_text() 205 vga_w(fbbase, i, saved->vga_text[8192+i]); in restore_vga_text() 242 vga_w(state->vgabase, VGA_ATT_W, 0x00); in save_vga_mode() [all …]
|
/Linux-v6.1/drivers/video/console/ |
D | vgacon.c | 642 vga_w(vgastate.vgabase, VGA_PEL_MSK, 0xff); in vga_set_palette() 644 vga_w(vgastate.vgabase, VGA_PEL_IW, table[i]); in vga_set_palette() 645 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette() 646 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette() 647 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette() 711 vga_w(state->vgabase, VGA_MIS_W, vga_state.CrtMiscIO & 0xEF); in vga_vesa_blank() 740 vga_w(state->vgabase, VGA_SEQ_I, vga_state.SeqCtrlIndex); in vga_vesa_blank() 749 vga_w(state->vgabase, VGA_MIS_W, vga_state.CrtMiscIO); in vga_vesa_unblank() 771 vga_w(state->vgabase, VGA_SEQ_I, vga_state.SeqCtrlIndex); in vga_vesa_unblank() 780 vga_w(state->vgabase, VGA_PEL_MSK, 0xff); in vga_pal_blank() [all …]
|
/Linux-v6.1/include/linux/ |
D | svga.h | 74 vga_w(regbase, VGA_ATT_IW, index); in svga_wattr() 75 vga_w(regbase, VGA_ATT_W, data); in svga_wattr()
|
/Linux-v6.1/drivers/video/fbdev/core/ |
D | svgalib.c | 101 vga_w(regbase, VGA_ATT_W, 0x00); in svga_set_default_atc_regs() 115 vga_w(regbase, VGA_ATT_W, 0x20); in svga_set_default_atc_regs() 160 vga_w(regbase, VGA_ATT_W, 0x00); in svga_set_textmode_vga_regs() 166 vga_w(regbase, VGA_ATT_W, 0x20); in svga_set_textmode_vga_regs() 594 vga_w(regbase, VGA_MIS_W, regval); in svga_set_timings()
|
/Linux-v6.1/drivers/video/fbdev/ |
D | cirrusfb.c | 2419 vga_w(cinfo->regbase, regofs + regnum, val); in WGen() 2446 vga_w(cinfo->regbase, VGA_ATT_IW, in AttrOn() 2451 vga_w(cinfo->regbase, VGA_ATT_IW, 0x33); in AttrOn() 2454 vga_w(cinfo->regbase, VGA_ATT_IW, 0x00); in AttrOn() 2531 vga_w(cinfo->regbase, VGA_PEL_IW, regnum); in WClut() 2539 vga_w(cinfo->regbase, data, red); in WClut() 2540 vga_w(cinfo->regbase, data, green); in WClut() 2541 vga_w(cinfo->regbase, data, blue); in WClut() 2543 vga_w(cinfo->regbase, data, blue); in WClut() 2544 vga_w(cinfo->regbase, data, green); in WClut() [all …]
|
D | neofb.c | 397 vga_w(NULL, VGA_ATT_W, 0x00); in VGAenablePalette() 404 vga_w(NULL, VGA_ATT_W, 0x20); in VGAdisablePalette() 448 vga_w(NULL, VGA_MIS_W, par->MiscOutReg); in vgaHWRestore()
|
D | arkfb.c | 483 vga_w(par->state.vgabase, dac_regs[code[0] & 3], code[1]); in ark_dac_write_regs() 505 vga_w(par->state.vgabase, VGA_MIS_W, regval | VGA_MIS_ENB_PLL_LOAD); in ark_set_pixclock()
|
D | vt8623fb.c | 266 vga_w(par->state.vgabase, VGA_MIS_W, regval | VGA_MIS_ENB_PLL_LOAD); in vt8623_set_pixclock()
|
D | s3fb.c | 475 vga_w(par->state.vgabase, VGA_MIS_W, regval | VGA_MIS_ENB_PLL_LOAD); in s3_set_pixclock()
|