Home
last modified time | relevance | path

Searched refs:MGA_WRITE (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/char/drm/
Dmga_warp.c187 MGA_WRITE( MGA_WIADDR2, MGA_WMODE_SUSPEND ); in mga_warp_init()
188 MGA_WRITE( MGA_WGETMSB, 0x00000E00 ); in mga_warp_init()
189 MGA_WRITE( MGA_WVRTXSZ, 0x00001807 ); in mga_warp_init()
190 MGA_WRITE( MGA_WACCEPTSEQ, 0x18000000 ); in mga_warp_init()
193 MGA_WRITE( MGA_WIADDR, MGA_WMODE_SUSPEND ); in mga_warp_init()
194 MGA_WRITE( MGA_WGETMSB, 0x1606 ); in mga_warp_init()
195 MGA_WRITE( MGA_WVRTXSZ, 7 ); in mga_warp_init()
201 MGA_WRITE( MGA_WMISC, (MGA_WUCODECACHE_ENABLE | in mga_warp_init()
Dmga_dma.c123 MGA_WRITE( MGA_RST, MGA_SOFTRESET ); in mga_do_engine_reset()
125 MGA_WRITE( MGA_RST, 0 ); in mga_do_engine_reset()
135 MGA_WRITE( MGA_PRIMPTR, in mga_do_engine_reset()
141 MGA_WRITE( MGA_ICLEAR, MGA_SOFTRAPICLR ); in mga_do_engine_reset()
142 MGA_WRITE( MGA_IEN, MGA_SOFTRAPIEN ); in mga_do_engine_reset()
209 MGA_WRITE( MGA_PRIMEND, tail | MGA_PAGPXFER ); in mga_do_dma_flush()
251 MGA_WRITE( MGA_PRIMEND, tail | MGA_PAGPXFER ); in mga_do_dma_wrap_start()
268 MGA_WRITE( MGA_PRIMADDRESS, head | MGA_DMA_GENERAL ); in mga_do_dma_wrap_end()
597 MGA_WRITE( MGA_PRIMADDRESS, in mga_do_init_dma()
600 MGA_WRITE( MGA_PRIMPTR, in mga_do_init_dma()
Dmga_drv.h154 #define MGA_WRITE( reg, val ) do { wmb(); MGA_DEREF( reg ) = val; } while (0) macro
165 #define MGA_WRITE( reg, val ) do { MGA_DEREF( reg ) = val; } while (0) macro
/linux-2.4.37.9/drivers/char/drm-4.0/
Dmga_dma.c45 #define MGA_WRITE(reg,val) do { MGA_DEREF(reg) = val; } while (0) macro
404 MGA_WRITE(MGAREG_PRIMADDRESS, phys_head | TT_GENERAL); in mga_fire_primary()
405 MGA_WRITE(MGAREG_PRIMEND, (phys_head + num_dwords * 4) | use_agp); in mga_fire_primary()
604 MGA_WRITE(MGAREG_ICLEAR, 0x00000001); in mga_dma_service()
745 MGA_WRITE(MGAREG_PRIMPTR, in mga_dma_initialize()
763 MGA_WRITE(MGAREG_PRIMADDRESS, phys_head | TT_GENERAL); in mga_dma_initialize()
765 MGA_WRITE(MGAREG_PRIMEND, ((phys_head + num_dwords * 4) | in mga_dma_initialize()
827 MGA_WRITE(MGAREG_IEN, 0); in mga_irq_install()
840 MGA_WRITE(MGAREG_ICLEAR, 0x00000001); in mga_irq_install()
841 MGA_WRITE(MGAREG_IEN, 0x00000001); in mga_irq_install()
[all …]