Home
last modified time | relevance | path

Searched refs:mmu_write (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/lima/
Dlima_mmu.c13 #define mmu_write(reg, data) writel(data, ip->iomem + reg) macro
20 mmu_write(LIMA_MMU_COMMAND, cmd); \
53 mmu_write(LIMA_MMU_INT_MASK, 0); in lima_mmu_irq_handler()
54 mmu_write(LIMA_MMU_INT_CLEAR, status); in lima_mmu_irq_handler()
68 mmu_write(LIMA_MMU_COMMAND, LIMA_MMU_COMMAND_HARD_RESET); in lima_mmu_hw_init()
74 mmu_write(LIMA_MMU_INT_MASK, in lima_mmu_hw_init()
76 mmu_write(LIMA_MMU_DTE_ADDR, dev->empty_vm->pd.dma); in lima_mmu_hw_init()
103 mmu_write(LIMA_MMU_DTE_ADDR, 0xCAFEBABE); in lima_mmu_init()
126 mmu_write(LIMA_MMU_COMMAND, LIMA_MMU_COMMAND_ZAP_CACHE); in lima_mmu_flush_tlb()
138 mmu_write(LIMA_MMU_DTE_ADDR, vm->pd.dma); in lima_mmu_switch_vm()
[all …]
/linux-6.1.9/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c26 #define mmu_write(dev, reg, data) writel(data, dev->iomem + reg) macro
55 mmu_write(pfdev, AS_COMMAND(as_nr), cmd); in write_cmd()
90 mmu_write(pfdev, AS_LOCKADDR_LO(as_nr), lower_32_bits(region)); in lock_region()
91 mmu_write(pfdev, AS_LOCKADDR_HI(as_nr), upper_32_bits(region)); in lock_region()
133 mmu_write(pfdev, AS_TRANSTAB_LO(as_nr), lower_32_bits(transtab)); in panfrost_mmu_enable()
134 mmu_write(pfdev, AS_TRANSTAB_HI(as_nr), upper_32_bits(transtab)); in panfrost_mmu_enable()
139 mmu_write(pfdev, AS_MEMATTR_LO(as_nr), lower_32_bits(memattr)); in panfrost_mmu_enable()
140 mmu_write(pfdev, AS_MEMATTR_HI(as_nr), upper_32_bits(memattr)); in panfrost_mmu_enable()
149 mmu_write(pfdev, AS_TRANSTAB_LO(as_nr), 0); in panfrost_mmu_disable()
150 mmu_write(pfdev, AS_TRANSTAB_HI(as_nr), 0); in panfrost_mmu_disable()
[all …]
/linux-6.1.9/arch/m68k/include/asm/
Dmmu_context.h109 mmu_write(MMUAR, mmuar); in load_ksp_mmu()
110 mmu_write(MMUOR, MMUOR_STLB | MMUOR_ADR); in load_ksp_mmu()
150 mmu_write(MMUTR, (mmuar & PAGE_MASK) | (asid << MMUTR_IDN) | in load_ksp_mmu()
154 mmu_write(MMUDR, (pte_val(*pte) & PAGE_MASK) | in load_ksp_mmu()
157 mmu_write(MMUOR, MMUOR_ACC | MMUOR_UAA); in load_ksp_mmu()
Dtlbflush.h14 mmu_write(MMUOR, MMUOR_CNL); in flush_tlb_kernel_page()
32 mmu_write(MMUOR, MMUOR_CNL); in __flush_tlb()
53 mmu_write(MMUOR, MMUOR_CNL); in __flush_tlb_one()
68 mmu_write(MMUOR, MMUOR_CNL); in flush_tlb_all()
Dmcfmmu.h102 static inline void mmu_write(u32 a, u32 v) in mmu_write() function
/linux-6.1.9/arch/m68k/mm/
Dmcfmmu.c155 mmu_write(MMUTR, mmutr); in cf_tlb_miss()
157 mmu_write(MMUDR, (pte_val(*pte) & PAGE_MASK) | in cf_tlb_miss()
161 mmu_write(MMUOR, MMUOR_ACC | MMUOR_UAA); in cf_tlb_miss()
163 mmu_write(MMUOR, MMUOR_ITLB | MMUOR_ACC | MMUOR_UAA); in cf_tlb_miss()