Searched refs:MGA_WRITE (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/mga/ |
D | mga_irq.c | 61 MGA_WRITE(MGA_ICLEAR, MGA_VLINEICLR); in mga_driver_irq_handler() 73 MGA_WRITE(MGA_ICLEAR, MGA_SOFTRAPICLR); in mga_driver_irq_handler() 79 MGA_WRITE(MGA_PRIMEND, prim_end); in mga_driver_irq_handler() 101 MGA_WRITE(MGA_IEN, MGA_VLINEIEN | MGA_SOFTRAPEN); in mga_enable_vblank() 145 MGA_WRITE(MGA_IEN, 0); in mga_driver_irq_preinstall() 147 MGA_WRITE(MGA_ICLEAR, ~0); in mga_driver_irq_preinstall() 159 MGA_WRITE(MGA_IEN, MGA_SOFTRAPEN); in mga_driver_irq_postinstall() 170 MGA_WRITE(MGA_IEN, 0); in mga_driver_irq_uninstall()
|
D | mga_warp.c | 145 MGA_WRITE(MGA_WIADDR2, MGA_WMODE_SUSPEND); in mga_warp_init() 146 MGA_WRITE(MGA_WGETMSB, 0x00000E00); in mga_warp_init() 147 MGA_WRITE(MGA_WVRTXSZ, 0x00001807); in mga_warp_init() 148 MGA_WRITE(MGA_WACCEPTSEQ, 0x18000000); in mga_warp_init() 151 MGA_WRITE(MGA_WIADDR, MGA_WMODE_SUSPEND); in mga_warp_init() 152 MGA_WRITE(MGA_WGETMSB, 0x1606); in mga_warp_init() 153 MGA_WRITE(MGA_WVRTXSZ, 7); in mga_warp_init() 159 MGA_WRITE(MGA_WMISC, (MGA_WUCODECACHE_ENABLE | in mga_warp_init()
|
D | mga_dma.c | 153 MGA_WRITE(MGA_PRIMEND, tail | dev_priv->dma_access); in mga_do_dma_flush() 192 MGA_WRITE(MGA_PRIMEND, tail | dev_priv->dma_access); in mga_do_dma_wrap_start() 209 MGA_WRITE(MGA_PRIMADDRESS, head | MGA_DMA_GENERAL); in mga_do_dma_wrap_end() 496 MGA_WRITE(MGA_AGP_PLL, MGA_AGP2XPLL_ENABLE); in mga_do_agp_dma_bootstrap() 498 MGA_WRITE(MGA_AGP_PLL, MGA_AGP2XPLL_DISABLE); in mga_do_agp_dma_bootstrap() 906 MGA_WRITE(MGA_PRIMADDRESS, dev_priv->primary->offset | MGA_DMA_GENERAL); in mga_do_init_dma() 908 …MGA_WRITE(MGA_PRIMPTR, virt_to_bus((void *)dev_priv->prim.status) | MGA_PRIMPTREN0 | /* Soft trap,… in mga_do_init_dma()
|
D | mga_drv.h | 203 #define MGA_WRITE(reg, val) DRM_WRITE32(dev_priv->mmio, (reg), (val)) macro
|