Home
last modified time | relevance | path

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

/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c86 #define mga_ydstlen(y,l) mga_outl(M_YDSTLEN | M_EXEC, ((y) << 16) | (l))
179 mga_outl(M_PITCH, mpitch); in matrox_cfbX_init()
180 mga_outl(M_YDSTORG, curr_ydstorg(minfo)); in matrox_cfbX_init()
182 mga_outl(M_PLNWT, -1); in matrox_cfbX_init()
184 mga_outl(M_SRCORG, 0); in matrox_cfbX_init()
185 mga_outl(M_DSTORG, 0); in matrox_cfbX_init()
187 mga_outl(M_OPMODE, mopmode); in matrox_cfbX_init()
188 mga_outl(M_CXBNDRY, 0xFFFF0000); in matrox_cfbX_init()
189 mga_outl(M_YTOP, 0); in matrox_cfbX_init()
190 mga_outl(M_YBOT, 0x01FFFFFF); in matrox_cfbX_init()
[all …]
Dmatroxfb_crtc2.c116 mga_outl(0x3C14, ((mt->HDisplay - 8) << 16) | (mt->HTotal - 8)); in matroxfb_dh_restore()
117 mga_outl(0x3C18, ((mt->HSyncEnd - 8) << 16) | (mt->HSyncStart - 8)); in matroxfb_dh_restore()
118 mga_outl(0x3C1C, ((mt->VDisplay - 1) << 16) | (mt->VTotal - 1)); in matroxfb_dh_restore()
119 mga_outl(0x3C20, ((mt->VSyncEnd - 1) << 16) | (mt->VSyncStart - 1)); in matroxfb_dh_restore()
120 mga_outl(0x3C24, ((mt->VSyncStart) << 16) | (mt->HSyncStart)); /* preload */ in matroxfb_dh_restore()
125 mga_outl(0x3C2C, pos); /* field #1 vmemory start */ in matroxfb_dh_restore()
126 mga_outl(0x3C28, pos + linelen); /* field #0 vmemory start */ in matroxfb_dh_restore()
130 mga_outl(0x3C28, pos); /* vmemory start */ in matroxfb_dh_restore()
133 mga_outl(0x3C40, linelen); in matroxfb_dh_restore()
135 mga_outl(0x3C4C, datactl); /* data control */ in matroxfb_dh_restore()
[all …]
Dmatroxfb_DAC1064.c208 mga_outl(0x3C10, c2_ctl); in g450_set_plls()
698 mga_outl(M_CTLWTST, 0x00000000); in MGA1064_preinit()
700 mga_outl(M_MACCESS, 0x00008000); in MGA1064_preinit()
702 mga_outl(M_MACCESS, 0x0000C000); in MGA1064_preinit()
757 mga_outl(M_CTLWTST, minfo->values.reg.mctlwtst); in g450_memory_init()
761 mga_outl(M_MEMRDBK, minfo->values.reg.memrdbk); in g450_memory_init()
762 mga_outl(M_MACCESS, minfo->values.reg.maccess); in g450_memory_init()
769 mga_outl(M_MEMRDBK, minfo->values.reg.memrdbk & ~0x1000); in g450_memory_init()
771 mga_outl(M_MACCESS, minfo->values.reg.maccess | 0x8000); in g450_memory_init()
779 mga_outl(M_PLNWT, 0); in g450_memory_init()
[all …]
Dmatroxfb_base.c169 mga_outl(0x3C2C, pos); in update_crtc2()
170 mga_outl(0x3C28, pos + minfo->fbcon.var.xres_virtual * minfo->fbcon.var.bits_per_pixel / 8); in update_crtc2()
172 mga_outl(0x3C28, pos); in update_crtc2()
210 mga_outl(M_ICLEAR, 0x20); in matrox_irq()
217 mga_outl(M_ICLEAR, 0x200); in matrox_irq()
241 mga_outl(M_ICLEAR, bm); in matroxfb_enable_irq()
242 mga_outl(M_IEN, mga_inl(M_IEN) | bm); in matroxfb_enable_irq()
249 mga_outl(M_IEN, ien | bm); in matroxfb_enable_irq()
261 mga_outl(M_IEN, mga_inl(M_IEN) & ~0x220); in matroxfb_disable_irq()
263 mga_outl(M_IEN, mga_inl(M_IEN) & ~0x20); in matroxfb_disable_irq()
Dmatroxfb_Ti3026.c731 mga_outl(M_RESET, 1); in Ti3026_preinit()
733 mga_outl(M_RESET, 0); in Ti3026_preinit()
735 mga_outl(M_MACCESS, 0x00008000); in Ti3026_preinit()
Dmatroxfb_base.h669 #define mga_outl(addr,val) mga_writel(minfo->mmio.vbase, (addr), (val)) macro