Home
last modified time | relevance | path

Searched refs:PSB_RSGX32 (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/gma500/
Daccel_2d.c44 PSB_RSGX32(PSB_CR_SOFT_RESET); in psb_spank()
50 PSB_WSGX32(PSB_RSGX32(PSB_CR_BIF_CTRL) | _PSB_CB_CTRL_CLEAR_FAULT, in psb_spank()
53 (void) PSB_RSGX32(PSB_CR_BIF_CTRL); in psb_spank()
56 PSB_WSGX32(PSB_RSGX32(PSB_CR_BIF_CTRL) & ~_PSB_CB_CTRL_CLEAR_FAULT, in psb_spank()
58 (void) PSB_RSGX32(PSB_CR_BIF_CTRL); in psb_spank()
73 uint32_t avail = PSB_RSGX32(PSB_CR_2D_SOCIF); in psb_2d_wait_available()
77 avail = PSB_RSGX32(PSB_CR_2D_SOCIF); in psb_2d_wait_available()
116 (void)PSB_RSGX32(PSB_SGX_2D_SLAVE_PORT + i - 4); in psbfb_2d_submit()
325 if ((PSB_RSGX32(PSB_CR_2D_SOCIF) == _PSB_C2_SOCIF_EMPTY) && in psbfb_sync()
326 ((PSB_RSGX32(PSB_CR_2D_BLIT_STATUS) & _PSB_C2B_STATUS_BUSY) == 0)) in psbfb_sync()
[all …]
Dblitter.c25 if ((PSB_RSGX32(PSB_CR_2D_SOCIF) == _PSB_C2_SOCIF_EMPTY) && in gma_blt_wait_idle()
26 ((PSB_RSGX32(PSB_CR_2D_BLIT_STATUS) & _PSB_C2B_STATUS_BUSY) == 0)) in gma_blt_wait_idle()
30 busy = (PSB_RSGX32(PSB_CR_2D_SOCIF) != _PSB_C2_SOCIF_EMPTY); in gma_blt_wait_idle()
37 busy = ((PSB_RSGX32(PSB_CR_2D_BLIT_STATUS) & in gma_blt_wait_idle()
Dpsb_irq.c200 val = PSB_RSGX32(PSB_CR_2D_BLIT_STATUS); in psb_sgx_interrupt()
203 val = PSB_RSGX32(PSB_CR_BIF_INT_STAT); in psb_sgx_interrupt()
204 addr = PSB_RSGX32(PSB_CR_BIF_FAULT); in psb_sgx_interrupt()
239 PSB_RSGX32(PSB_CR_EVENT_HOST_CLEAR2); in psb_sgx_interrupt()
276 sgx_stat_1 = PSB_RSGX32(PSB_CR_EVENT_STATUS); in psb_irq_handler()
277 sgx_stat_2 = PSB_RSGX32(PSB_CR_EVENT_STATUS2); in psb_irq_handler()
312 PSB_RSGX32(PSB_CR_EVENT_HOST_ENABLE); in psb_irq_preinstall()
346 PSB_RSGX32(PSB_CR_EVENT_HOST_ENABLE); /* Post */ in psb_irq_postinstall()
Dpsb_drv.c131 PSB_RSGX32(PSB_CR_BIF_BANK1); in psb_do_init()
134 PSB_WSGX32((PSB_RSGX32(PSB_CR_BIF_CTRL) & ~_PSB_MMU_ER_MASK), in psb_do_init()
136 PSB_RSGX32(PSB_CR_BIF_CTRL); in psb_do_init()
142 PSB_RSGX32(PSB_CR_BIF_TWOD_REQ_BASE); /* Post */ in psb_do_init()
Dmmu.c80 uint32_t val = PSB_RSGX32(PSB_CR_BIF_CTRL); in psb_mmu_flush_pd_locked()
86 (void)PSB_RSGX32(PSB_CR_BIF_CTRL); in psb_mmu_flush_pd_locked()
109 val = PSB_RSGX32(PSB_CR_BIF_CTRL); in psb_mmu_flush()
120 (void)PSB_RSGX32(PSB_CR_BIF_CTRL); in psb_mmu_flush()
463 driver->bif_ctrl = PSB_RSGX32(PSB_CR_BIF_CTRL); in psb_mmu_driver_init()
Dpsb_device.c154 u32 gating = PSB_RSGX32(PSB_CR_CLKGATECTL); in psb_init_pm()
158 PSB_RSGX32(PSB_CR_CLKGATECTL); in psb_init_pm()
Dpsb_drv.h893 #define PSB_RSGX32(_offs) \ macro
903 #define PSB_RSGX32(_offs) ioread32(dev_priv->sgx_reg + (_offs)) macro