Home
last modified time | relevance | path

Searched refs:mmu_read (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/lima/
Dlima_mmu.c14 #define mmu_read(reg) readl(ip->iomem + reg) macro
33 u32 status = mmu_read(LIMA_MMU_INT_STATUS); in lima_mmu_irq_handler()
41 u32 fault = mmu_read(LIMA_MMU_PAGE_FAULT_ADDR); in lima_mmu_irq_handler()
104 if (mmu_read(LIMA_MMU_DTE_ADDR) != 0xCAFEB000) { in lima_mmu_init()
151 u32 status = mmu_read(LIMA_MMU_STATUS); in lima_mmu_page_fault_resume()
/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c27 #define mmu_read(dev, reg) readl(dev->iomem + reg) macro
671 if (!mmu_read(pfdev, MMU_INT_STAT)) in panfrost_mmu_irq_handler()
681 u32 status = mmu_read(pfdev, MMU_INT_RAWSTAT); in panfrost_mmu_irq_handler_thread()
693 fault_status = mmu_read(pfdev, AS_FAULTSTATUS(as)); in panfrost_mmu_irq_handler_thread()
694 addr = mmu_read(pfdev, AS_FAULTADDRESS_LO(as)); in panfrost_mmu_irq_handler_thread()
695 addr |= (u64)mmu_read(pfdev, AS_FAULTADDRESS_HI(as)) << 32; in panfrost_mmu_irq_handler_thread()
742 status = mmu_read(pfdev, MMU_INT_RAWSTAT) & ~pfdev->as_faulty_mask; in panfrost_mmu_irq_handler_thread()