Home
last modified time | relevance | path

Searched refs:mga_outb (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c96 mga_outb(M_RAMDAC_BASE+M_X_INDEX, reg); in matroxfb_DAC_out()
97 mga_outb(M_RAMDAC_BASE+M_X_DATAREG, val); in matroxfb_DAC_out()
103 mga_outb(M_RAMDAC_BASE+M_X_INDEX, reg); in matroxfb_DAC_in()
367 mga_outb(M_ATTR_INDEX, 0); in matroxfb_vgaHWrestore()
368 mga_outb(M_MISC_REG, hw->MiscOutReg); in matroxfb_vgaHWrestore()
378 mga_outb(M_ATTR_INDEX, i); in matroxfb_vgaHWrestore()
379 mga_outb(M_ATTR_INDEX, hw->ATTR[i]); in matroxfb_vgaHWrestore()
381 mga_outb(M_PALETTE_MASK, 0xFF); in matroxfb_vgaHWrestore()
382 mga_outb(M_DAC_REG, 0x00); in matroxfb_vgaHWrestore()
384 mga_outb(M_DAC_VAL, hw->DACpal[i]); in matroxfb_vgaHWrestore()
[all …]
Dmatroxfb_DAC1064.c638 mga_outb(M_MISC_REG, selClk); in MGAG100_progPixClock()
913 mga_outb(0x1C05, 0x00); in MGAG100_preinit()
914 mga_outb(0x1C05, 0x80); in MGAG100_preinit()
916 mga_outb(0x1C05, 0x40); in MGAG100_preinit()
917 mga_outb(0x1C05, 0xC0); in MGAG100_preinit()
923 mga_outb(M_GRAPHICS_INDEX, 6); in MGAG100_preinit()
924 mga_outb(M_GRAPHICS_DATA, (mga_inb(M_GRAPHICS_DATA) & 3) | 4); in MGAG100_preinit()
1050 mga_outb(M_IEN, 0x00); in MGA1064_restore()
1051 mga_outb(M_CACHEFLUSH, 0x00); in MGA1064_restore()
Dmatroxfb_base.c196 mga_outb(M_EXTVGA_INDEX, extvga_reg); in matroxfb_crtc1_panpos()
675 mga_outb(M_DAC_REG, regno); in matroxfb_setcolreg()
676 mga_outb(M_DAC_VAL, red); in matroxfb_setcolreg()
677 mga_outb(M_DAC_VAL, green); in matroxfb_setcolreg()
678 mga_outb(M_DAC_VAL, blue); in matroxfb_setcolreg()
1194 mga_outb(M_SEQ_INDEX, 1); in matroxfb_blank()
1195 mga_outb(M_SEQ_DATA, (mga_inb(M_SEQ_DATA) & ~0x20) | seq); in matroxfb_blank()
1196 mga_outb(M_EXTVGA_INDEX, 1); in matroxfb_blank()
1197 mga_outb(M_EXTVGA_DATA, (mga_inb(M_EXTVGA_DATA) & ~0x30) | crtc); in matroxfb_blank()
1299 mga_outb(M_EXTVGA_INDEX, 0x03); in matroxfb_getmemory()
[all …]
Dg450_pll.c351 mga_outb(M_SEQ_INDEX, M_SEQ1); in __g450_setclk()
352 mga_outb(M_SEQ_DATA, mga_inb(M_SEQ_DATA) | M_SEQ1_SCROFF); in __g450_setclk()
390 mga_outb(M_MISC_REG, misc); in __g450_setclk()
Dmatroxfb_base.h667 #define mga_outb(addr,val) mga_writeb(minfo->mmio.vbase, (addr), (val)) macro
670 #define mga_readr(port,idx) (mga_outb((port),(idx)), mga_inb((port)+1))
Dmatroxfb_Ti3026.c728 mga_outb(M_MISC_REG, 0x67); in Ti3026_preinit()