Searched refs:mga_outl (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/video/fbdev/matrox/ |
D | matroxfb_accel.c | 87 #define mga_ydstlen(y,l) mga_outl(M_YDSTLEN | M_EXEC, ((y) << 16) | (l)) 180 mga_outl(M_PITCH, mpitch); in matrox_cfbX_init() 181 mga_outl(M_YDSTORG, curr_ydstorg(minfo)); in matrox_cfbX_init() 183 mga_outl(M_PLNWT, -1); in matrox_cfbX_init() 185 mga_outl(M_SRCORG, 0); in matrox_cfbX_init() 186 mga_outl(M_DSTORG, 0); in matrox_cfbX_init() 188 mga_outl(M_OPMODE, mopmode); in matrox_cfbX_init() 189 mga_outl(M_CXBNDRY, 0xFFFF0000); in matrox_cfbX_init() 190 mga_outl(M_YTOP, 0); in matrox_cfbX_init() 191 mga_outl(M_YBOT, 0x01FFFFFF); in matrox_cfbX_init() [all …]
|
D | matroxfb_crtc2.c | 117 mga_outl(0x3C14, ((mt->HDisplay - 8) << 16) | (mt->HTotal - 8)); in matroxfb_dh_restore() 118 mga_outl(0x3C18, ((mt->HSyncEnd - 8) << 16) | (mt->HSyncStart - 8)); in matroxfb_dh_restore() 119 mga_outl(0x3C1C, ((mt->VDisplay - 1) << 16) | (mt->VTotal - 1)); in matroxfb_dh_restore() 120 mga_outl(0x3C20, ((mt->VSyncEnd - 1) << 16) | (mt->VSyncStart - 1)); in matroxfb_dh_restore() 121 mga_outl(0x3C24, ((mt->VSyncStart) << 16) | (mt->HSyncStart)); /* preload */ in matroxfb_dh_restore() 126 mga_outl(0x3C2C, pos); /* field #1 vmemory start */ in matroxfb_dh_restore() 127 mga_outl(0x3C28, pos + linelen); /* field #0 vmemory start */ in matroxfb_dh_restore() 131 mga_outl(0x3C28, pos); /* vmemory start */ in matroxfb_dh_restore() 134 mga_outl(0x3C40, linelen); in matroxfb_dh_restore() 136 mga_outl(0x3C4C, datactl); /* data control */ in matroxfb_dh_restore() [all …]
|
D | matroxfb_DAC1064.c | 209 mga_outl(0x3C10, c2_ctl); in g450_set_plls() 699 mga_outl(M_CTLWTST, 0x00000000); in MGA1064_preinit() 701 mga_outl(M_MACCESS, 0x00008000); in MGA1064_preinit() 703 mga_outl(M_MACCESS, 0x0000C000); in MGA1064_preinit() 758 mga_outl(M_CTLWTST, minfo->values.reg.mctlwtst); in g450_memory_init() 762 mga_outl(M_MEMRDBK, minfo->values.reg.memrdbk); in g450_memory_init() 763 mga_outl(M_MACCESS, minfo->values.reg.maccess); in g450_memory_init() 770 mga_outl(M_MEMRDBK, minfo->values.reg.memrdbk & ~0x1000); in g450_memory_init() 772 mga_outl(M_MACCESS, minfo->values.reg.maccess | 0x8000); in g450_memory_init() 780 mga_outl(M_PLNWT, 0); in g450_memory_init() [all …]
|
D | matroxfb_Ti3026.c | 732 mga_outl(M_RESET, 1); in Ti3026_preinit() 734 mga_outl(M_RESET, 0); in Ti3026_preinit() 736 mga_outl(M_MACCESS, 0x00008000); in Ti3026_preinit()
|
D | matroxfb_base.c | 171 mga_outl(0x3C2C, pos); in update_crtc2() 172 mga_outl(0x3C28, pos + minfo->fbcon.var.xres_virtual * minfo->fbcon.var.bits_per_pixel / 8); in update_crtc2() 174 mga_outl(0x3C28, pos); in update_crtc2() 212 mga_outl(M_ICLEAR, 0x20); in matrox_irq() 219 mga_outl(M_ICLEAR, 0x200); in matrox_irq() 243 mga_outl(M_ICLEAR, bm); in matroxfb_enable_irq() 244 mga_outl(M_IEN, mga_inl(M_IEN) | bm); in matroxfb_enable_irq() 251 mga_outl(M_IEN, ien | bm); in matroxfb_enable_irq() 263 mga_outl(M_IEN, mga_inl(M_IEN) & ~0x220); in matroxfb_disable_irq() 265 mga_outl(M_IEN, mga_inl(M_IEN) & ~0x20); in matroxfb_disable_irq()
|
D | matroxfb_base.h | 669 #define mga_outl(addr,val) mga_writel(minfo->mmio.vbase, (addr), (val)) macro
|