Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/mga/
Dmga_irq.c59 MGA_WRITE(MGA_ICLEAR, MGA_VLINEICLR); in mga_driver_irq_handler()
71 MGA_WRITE(MGA_ICLEAR, MGA_SOFTRAPICLR); in mga_driver_irq_handler()
77 MGA_WRITE(MGA_PRIMEND, prim_end); in mga_driver_irq_handler()
99 MGA_WRITE(MGA_IEN, MGA_VLINEIEN | MGA_SOFTRAPEN); in mga_enable_vblank()
141 MGA_WRITE(MGA_IEN, 0); in mga_driver_irq_preinstall()
143 MGA_WRITE(MGA_ICLEAR, ~0); in mga_driver_irq_preinstall()
155 MGA_WRITE(MGA_IEN, MGA_SOFTRAPEN); in mga_driver_irq_postinstall()
166 MGA_WRITE(MGA_IEN, 0); in mga_driver_irq_uninstall()
Dmga_warp.c143 MGA_WRITE(MGA_WIADDR2, MGA_WMODE_SUSPEND); in mga_warp_init()
144 MGA_WRITE(MGA_WGETMSB, 0x00000E00); in mga_warp_init()
145 MGA_WRITE(MGA_WVRTXSZ, 0x00001807); in mga_warp_init()
146 MGA_WRITE(MGA_WACCEPTSEQ, 0x18000000); in mga_warp_init()
149 MGA_WRITE(MGA_WIADDR, MGA_WMODE_SUSPEND); in mga_warp_init()
150 MGA_WRITE(MGA_WGETMSB, 0x1606); in mga_warp_init()
151 MGA_WRITE(MGA_WVRTXSZ, 7); in mga_warp_init()
157 MGA_WRITE(MGA_WMISC, (MGA_WUCODECACHE_ENABLE | in mga_warp_init()
Dmga_dma.c153 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()
497 MGA_WRITE(MGA_AGP_PLL, MGA_AGP2XPLL_ENABLE); in mga_do_agp_dma_bootstrap()
499 MGA_WRITE(MGA_AGP_PLL, MGA_AGP2XPLL_DISABLE); in mga_do_agp_dma_bootstrap()
907 MGA_WRITE(MGA_PRIMADDRESS, dev_priv->primary->offset | MGA_DMA_GENERAL); in mga_do_init_dma()
909MGA_WRITE(MGA_PRIMPTR, virt_to_bus((void *)dev_priv->prim.status) | MGA_PRIMPTREN0 | /* Soft trap,… in mga_do_init_dma()
Dmga_drv.h219 #define MGA_WRITE(reg, val) \ macro