/linux-master/drivers/gpu/drm/nouveau/nvif/ |
H A D | mem.c | 28 nvif_mem_ctor_map(struct nvif_mmu *mmu, const char *name, u8 type, u64 size, argument 31 int ret = nvif_mem_ctor(mmu, name, mmu->mem, NVIF_MEM_MAPPABLE | type, 48 nvif_mem_ctor_type(struct nvif_mmu *mmu, const char *name, s32 oclass, argument 72 ret = nvif_object_ctor(&mmu->object, name ? name : "nvifMem", 0, oclass, 75 mem->type = mmu->type[type].type; 88 nvif_mem_ctor(struct nvif_mmu *mmu, const char *name, s32 oclass, u8 type, argument 95 for (i = 0; ret && i < mmu->type_nr; i++) { 96 if ((mmu->type[i].type & type) == type) { 97 ret = nvif_mem_ctor_type(mmu, nam [all...] |
/linux-master/arch/arc/mm/ |
H A D | tlb.c | 16 #include <asm/mmu.h> 136 struct cpuinfo_arc_mmu *mmu = &mmuinfo; local 139 int num_tlb = mmu->sets * mmu->ways; 565 struct cpuinfo_arc_mmu *mmu = &mmuinfo; local 573 mmu->ver = (bcr >> 24); 575 if (is_isa_arcompact() && mmu->ver == 3) { 577 mmu->pg_sz_k = 1 << (mmu3->pg_sz - 1); 578 mmu->sets = 1 << mmu3->sets; 579 mmu 618 struct cpuinfo_arc_mmu *mmu = &mmuinfo; local 697 struct cpuinfo_arc_mmu *mmu = &mmuinfo; local [all...] |
/linux-master/drivers/media/pci/intel/ipu6/ |
H A D | ipu6-mmu.c | 29 #include "ipu6-mmu.h" 54 static void tlb_invalidate(struct ipu6_mmu *mmu) argument 59 spin_lock_irqsave(&mmu->ready_lock, flags); 60 if (!mmu->ready) { 61 spin_unlock_irqrestore(&mmu->ready_lock, flags); 65 for (i = 0; i < mmu->nr_mmus; i++) { 74 if (mmu->mmu_hw[i].insert_read_before_invalidate) 75 readl(mmu->mmu_hw[i].base + REG_L1_PHYS); 77 writel(0xffffffff, mmu->mmu_hw[i].base + 87 spin_unlock_irqrestore(&mmu 385 allocate_trash_buffer(struct ipu6_mmu *mmu) argument 444 ipu6_mmu_hw_init(struct ipu6_mmu *mmu) argument 572 ipu6_mmu_hw_cleanup(struct ipu6_mmu *mmu) argument 745 ipu6_mmu_destroy(struct ipu6_mmu *mmu) argument 794 struct ipu6_mmu *mmu; local 837 ipu6_mmu_cleanup(struct ipu6_mmu *mmu) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | memnv04.c | 31 nv04_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, argument 37 struct nvkm_device *device = mmu->subdev.device; 51 nv04_mem_new(struct nvkm_mmu *mmu, int type, u8 page, u64 size, argument 62 if (mmu->type[type].type & NVKM_MEM_MAPPABLE) 67 return nvkm_ram_get(mmu->subdev.device, type, 0x01, page,
|
H A D | nv44.c | 32 nv44_mmu_init(struct nvkm_mmu *mmu) argument 34 struct nvkm_device *device = mmu->subdev.device; 35 struct nvkm_memory *pt = mmu->vmm->pd->pt[0]->memory; 46 nvkm_wr32(device, 0x100818, mmu->vmm->null); 59 .mmu = {{ -1, -1, NVIF_CLASS_MMU_NV04}},
|
H A D | vmmtu102.c | 29 struct nvkm_device *device = vmm->mmu->subdev.device; 36 mutex_lock(&vmm->mmu->mutex); 50 mutex_unlock(&vmm->mmu->mutex); 73 tu102_vmm_new(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, argument 77 return gp100_vmm_new_(&tu102_vmm, mmu, managed, addr, size,
|
H A D | vmmgp10b.c | 45 gp10b_vmm_new(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, argument 49 return gp100_vmm_new_(&gp10b_vmm, mmu, managed, addr, size,
|
H A D | vmmmcp77.c | 39 mcp77_vmm_new(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, argument 43 return nv04_vmm_new_(&mcp77_vmm, mmu, 0, managed, addr, size,
|
H A D | ummu.h | 9 struct nvkm_mmu *mmu; member in struct:nvkm_ummu
|
H A D | vmmgm20b.c | 57 gm20b_vmm_new(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, argument 61 return gm200_vmm_new_(&gm20b_vmm_16, &gm20b_vmm_17, mmu, managed, addr, 66 gm20b_vmm_new_fixed(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, argument 70 return gf100_vmm_new_(&gm20b_vmm_16, &gm20b_vmm_17, mmu, managed, addr,
|
H A D | gk104.c | 30 .mmu = {{ -1, -1, NVIF_CLASS_MMU_GF100}},
|
H A D | gk20a.c | 30 .mmu = {{ -1, -1, NVIF_CLASS_MMU_GF100}},
|
H A D | nv04.c | 32 .mmu = {{ -1, -1, NVIF_CLASS_MMU_NV04}},
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_iommu.c | 30 static struct msm_iommu_pagetable *to_pagetable(struct msm_mmu *mmu) argument 32 return container_of(mmu, struct msm_iommu_pagetable, base); 91 static int msm_iommu_pagetable_unmap(struct msm_mmu *mmu, u64 iova, argument 94 struct msm_iommu_pagetable *pagetable = to_pagetable(mmu); 115 static int msm_iommu_pagetable_map(struct msm_mmu *mmu, u64 iova, argument 118 struct msm_iommu_pagetable *pagetable = to_pagetable(mmu); 145 msm_iommu_pagetable_unmap(mmu, iova, addr - iova); 154 static void msm_iommu_pagetable_destroy(struct msm_mmu *mmu) argument 156 struct msm_iommu_pagetable *pagetable = to_pagetable(mmu); 172 int msm_iommu_pagetable_params(struct msm_mmu *mmu, argument 191 msm_iommu_get_geometry(struct msm_mmu *mmu) argument 326 struct msm_mmu *mmu = &iommu->base; local 346 msm_iommu_resume_translation(struct msm_mmu *mmu) argument 354 msm_iommu_detach(struct msm_mmu *mmu) argument 361 msm_iommu_map(struct msm_mmu *mmu, uint64_t iova, struct sg_table *sgt, size_t len, int prot) argument 377 msm_iommu_unmap(struct msm_mmu *mmu, uint64_t iova, size_t len) argument 389 msm_iommu_destroy(struct msm_mmu *mmu) argument 441 struct msm_mmu *mmu; local [all...] |
H A D | msm_gem_vma.c | 19 if (aspace->mmu) 20 aspace->mmu->funcs->destroy(aspace->mmu); 51 aspace->mmu->funcs->unmap(aspace->mmu, vma->iova, size); 84 ret = aspace->mmu->funcs->map(aspace->mmu, vma->iova, sgt, size, prot); 154 msm_gem_address_space_create(struct msm_mmu *mmu, const char *name, argument 159 if (IS_ERR(mmu)) 160 return ERR_CAST(mmu); [all...] |
/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_mmu.c | 113 struct panfrost_mmu *mmu, 119 ret = mmu_hw_do_operation_locked(pfdev, mmu->as, iova, size, op); 124 static void panfrost_mmu_enable(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) argument 126 int as_nr = mmu->as; 127 struct io_pgtable_cfg *cfg = &mmu->pgtbl_cfg; 158 u32 panfrost_mmu_as_get(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) argument 164 as = mmu->as; 166 int en = atomic_inc_return(&mmu->as_count); 175 list_move(&mmu->list, &pfdev->as_lru_list); 185 panfrost_mmu_enable(pfdev, mmu); 112 mmu_hw_do_operation(struct panfrost_device *pfdev, struct panfrost_mmu *mmu, u64 iova, u64 size, u32 op) argument 224 panfrost_mmu_as_put(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) argument 232 struct panfrost_mmu *mmu, *mmu_tmp; local 274 panfrost_mmu_flush_range(struct panfrost_device *pfdev, struct panfrost_mmu *mmu, u64 iova, u64 size) argument 290 mmu_map_sg(struct panfrost_device *pfdev, struct panfrost_mmu *mmu, u64 iova, int prot, struct sg_table *sgt) argument 410 struct panfrost_mmu *mmu; local 556 struct panfrost_mmu *mmu = container_of(kref, struct panfrost_mmu, local 578 panfrost_mmu_ctx_put(struct panfrost_mmu *mmu) argument 583 panfrost_mmu_ctx_get(struct panfrost_mmu *mmu) argument 618 struct panfrost_mmu *mmu; local [all...] |
/linux-master/arch/um/kernel/skas/ |
H A D | mmu.c | 62 struct mm_context *mmu = &mm->context; local 70 if (mmu->id.u.pid < 2) { 72 mmu->id.u.pid); 75 os_kill_ptraced_process(mmu->id.u.pid, 1); 77 free_pages(mmu->id.stack, ilog2(STUB_DATA_PAGES)); 78 free_ldt(mmu);
|
H A D | Makefile | 6 obj-y := clone.o mmu.o process.o syscall.o uaccess.o
|
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | mem.h | 3 #include "mmu.h" 13 int nvif_mem_ctor_type(struct nvif_mmu *mmu, const char *name, s32 oclass, 16 int nvif_mem_ctor(struct nvif_mmu *mmu, const char *name, s32 oclass, u8 type,
|
/linux-master/arch/arm64/include/asm/ |
H A D | kvm_mmu.h | 12 #include <asm/mmu.h> 147 #define kvm_phys_shift(mmu) VTCR_EL2_IPA((mmu)->vtcr) 148 #define kvm_phys_size(mmu) (_AC(1, ULL) << kvm_phys_shift(mmu)) 149 #define kvm_phys_mask(mmu) (kvm_phys_size(mmu) - _AC(1, ULL)) 169 int kvm_init_stage2_mmu(struct kvm *kvm, struct kvm_s2_mmu *mmu, unsigned long type); 171 void kvm_free_stage2_pgd(struct kvm_s2_mmu *mmu); 295 static __always_inline u64 kvm_get_vttbr(struct kvm_s2_mmu *mmu) [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | paravirt.h | 75 PVOP_VCALL0(mmu.flush_tlb_user); 80 PVOP_VCALL0(mmu.flush_tlb_kernel); 85 PVOP_VCALL1(mmu.flush_tlb_one_user, addr); 91 PVOP_VCALL2(mmu.flush_tlb_multi, cpumask, info); 96 PVOP_VCALL2(mmu.tlb_remove_table, tlb, table); 101 PVOP_VCALL1(mmu.exit_mmap, mm); 107 PVOP_VCALL3(mmu.notify_page_enc_status_changed, pfn, npages, enc); 148 return PVOP_ALT_CALLEE0(unsigned long, mmu.read_cr2, 154 PVOP_VCALL1(mmu.write_cr2, x); 159 return PVOP_ALT_CALL0(unsigned long, mmu [all...] |
/linux-master/arch/arc/include/asm/ |
H A D | pgtable.h | 14 #include <asm/mmu.h>
|
/linux-master/arch/powerpc/mm/book3s32/ |
H A D | Makefile | 9 obj-y += mmu.o mmu_context.o
|
/linux-master/arch/x86/hyperv/ |
H A D | Makefile | 2 obj-y := hv_init.o mmu.o nested.o irqdomain.o ivm.o
|
/linux-master/include/soc/mediatek/ |
H A D | smi.h | 24 unsigned int mmu; member in struct:mtk_smi_larb_iommu
|