Home
last modified time | relevance | path

Searched defs:mmu (Results 1 – 25 of 123) sorted by relevance

12345

/openbmc/linux/drivers/staging/media/atomisp/pci/mmu/
H A Disp_mmu.c79 static phys_addr_t isp_pte_to_pgaddr(struct isp_mmu *mmu, in isp_pte_to_pgaddr()
85 static unsigned int isp_pgaddr_to_pte_valid(struct isp_mmu *mmu, in isp_pgaddr_to_pte_valid()
97 static phys_addr_t alloc_page_table(struct isp_mmu *mmu) in alloc_page_table()
142 static void mmu_remap_error(struct isp_mmu *mmu, in mmu_remap_error()
161 static void mmu_unmap_l2_pte_error(struct isp_mmu *mmu, in mmu_unmap_l2_pte_error()
177 static void mmu_unmap_l1_pte_error(struct isp_mmu *mmu, in mmu_unmap_l1_pte_error()
199 static int mmu_l2_map(struct isp_mmu *mmu, phys_addr_t l1_pt, in mmu_l2_map()
244 static int mmu_l1_map(struct isp_mmu *mmu, phys_addr_t l1_pt, in mmu_l1_map()
317 static int mmu_map(struct isp_mmu *mmu, unsigned int isp_virt, in mmu_map()
486 int isp_mmu_map(struct isp_mmu *mmu, unsigned int isp_virt, in isp_mmu_map()
[all …]
H A Dsh_mmu_mrfld.c31 static unsigned int sh_phys_to_pte(struct isp_mmu *mmu, in sh_phys_to_pte()
37 static phys_addr_t sh_pte_to_phys(struct isp_mmu *mmu, in sh_pte_to_phys()
45 static unsigned int sh_get_pd_base(struct isp_mmu *mmu, in sh_get_pd_base()
64 static void sh_tlb_flush(struct isp_mmu *mmu) in sh_tlb_flush()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dbase.c120 nvkm_mmu_ptc_find(struct nvkm_mmu *mmu, u32 size) in nvkm_mmu_ptc_find()
220 nvkm_mmu_ptc_dump(struct nvkm_mmu *mmu) in nvkm_mmu_ptc_dump()
234 nvkm_mmu_ptc_fini(struct nvkm_mmu *mmu) in nvkm_mmu_ptc_fini()
246 nvkm_mmu_ptc_init(struct nvkm_mmu *mmu) in nvkm_mmu_ptc_init()
255 nvkm_mmu_type(struct nvkm_mmu *mmu, int heap, u8 type) in nvkm_mmu_type()
265 nvkm_mmu_heap(struct nvkm_mmu *mmu, u8 type, u64 size) in nvkm_mmu_heap()
278 nvkm_mmu_host(struct nvkm_mmu *mmu) in nvkm_mmu_host()
315 nvkm_mmu_vram(struct nvkm_mmu *mmu) in nvkm_mmu_vram()
370 struct nvkm_mmu *mmu = nvkm_mmu(subdev); in nvkm_mmu_oneinit() local
391 struct nvkm_mmu *mmu = nvkm_mmu(subdev); in nvkm_mmu_init() local
[all …]
H A Dummu.c35 struct nvkm_mmu *mmu = nvkm_ummu(object)->mmu; in nvkm_ummu_sclass() local
59 struct nvkm_mmu *mmu = ummu->mmu; in nvkm_ummu_heap() local
79 struct nvkm_mmu *mmu = ummu->mmu; in nvkm_ummu_type() local
108 struct nvkm_mmu *mmu = ummu->mmu; in nvkm_ummu_kind() local
159 struct nvkm_mmu *mmu = device->mmu; in nvkm_ummu_new() local
H A Dvmmgm20b.c57 gm20b_vmm_new(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, in gm20b_vmm_new()
66 gm20b_vmm_new_fixed(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, in gm20b_vmm_new_fixed()
H A Dmemnv04.c31 nv04_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, in nv04_mem_map()
51 nv04_mem_new(struct nvkm_mmu *mmu, int type, u8 page, u64 size, in nv04_mem_new()
H A Dvmmgm200.c144 struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, in gm200_vmm_new_()
172 gm200_vmm_new(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, in gm200_vmm_new()
181 gm200_vmm_new_fixed(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, in gm200_vmm_new_fixed()
H A Dmemgf100.c34 gf100_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, in gf100_mem_map()
69 gf100_mem_new(struct nvkm_mmu *mmu, int type, u8 page, u64 size, in gf100_mem_new()
H A Dmemnv50.c34 nv50_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, in nv50_mem_map()
66 nv50_mem_new(struct nvkm_mmu *mmu, int type, u8 page, u64 size, in nv50_mem_new()
H A Dmem.c33 struct nvkm_mmu *mmu; member
144 nvkm_mem_new_host(struct nvkm_mmu *mmu, int type, u8 page, u64 size, in nvkm_mem_new_host()
224 nvkm_mem_new_type(struct nvkm_mmu *mmu, int type, u8 page, u64 size, in nvkm_mem_new_type()
/openbmc/linux/drivers/staging/media/ipu3/
H A Dipu3-mmu.c78 static void imgu_mmu_tlb_invalidate(struct imgu_mmu *mmu) in imgu_mmu_tlb_invalidate()
83 static void call_if_imgu_is_powered(struct imgu_mmu *mmu, in call_if_imgu_is_powered()
84 void (*func)(struct imgu_mmu *mmu)) in call_if_imgu_is_powered()
254 struct imgu_mmu *mmu = to_imgu_mmu(info); in imgu_mmu_map() local
302 struct imgu_mmu *mmu = to_imgu_mmu(info); in imgu_mmu_map_sg() local
338 static size_t __imgu_mmu_unmap(struct imgu_mmu *mmu, in __imgu_mmu_unmap()
382 struct imgu_mmu *mmu = to_imgu_mmu(info); in imgu_mmu_unmap() local
429 struct imgu_mmu *mmu; in imgu_mmu_init() local
505 struct imgu_mmu *mmu = to_imgu_mmu(info); in imgu_mmu_exit() local
520 struct imgu_mmu *mmu = to_imgu_mmu(info); in imgu_mmu_suspend() local
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dtlb.c17 static void __tlb_switch_to_guest(struct kvm_s2_mmu *mmu, in __tlb_switch_to_guest()
81 void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_ipa()
133 void __kvm_tlb_flush_vmid_ipa_nsh(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_ipa_nsh()
185 void __kvm_tlb_flush_vmid_range(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_range()
215 void __kvm_tlb_flush_vmid(struct kvm_s2_mmu *mmu) in __kvm_tlb_flush_vmid()
229 void __kvm_flush_cpu_context(struct kvm_s2_mmu *mmu) in __kvm_flush_cpu_context()
/openbmc/linux/arch/arm64/kvm/hyp/vhe/
H A Dtlb.c19 static void __tlb_switch_to_guest(struct kvm_s2_mmu *mmu, in __tlb_switch_to_guest()
82 void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_ipa()
114 void __kvm_tlb_flush_vmid_ipa_nsh(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_ipa_nsh()
146 void __kvm_tlb_flush_vmid_range(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_range()
174 void __kvm_tlb_flush_vmid(struct kvm_s2_mmu *mmu) in __kvm_tlb_flush_vmid()
190 void __kvm_flush_cpu_context(struct kvm_s2_mmu *mmu) in __kvm_flush_cpu_context()
/openbmc/linux/drivers/iommu/
H A Dipmmu-vmsa.c72 struct ipmmu_vmsa_device *mmu; member
157 struct ipmmu_vmsa_device *mmu = dev_get_drvdata(dev); in __ipmmu_check_device() local
283 struct ipmmu_vmsa_device *mmu = domain->mmu; in ipmmu_utlb_enable() local
479 struct ipmmu_vmsa_device *mmu = domain->mmu; in ipmmu_domain_irq() local
528 struct ipmmu_vmsa_device *mmu = dev; in ipmmu_irq() local
587 struct ipmmu_vmsa_device *mmu = to_ipmmu(dev); in ipmmu_attach_device() local
754 struct ipmmu_vmsa_device *mmu = to_ipmmu(dev); in ipmmu_init_arm_mapping() local
798 struct ipmmu_vmsa_device *mmu = to_ipmmu(dev); in ipmmu_probe_device() local
823 struct ipmmu_vmsa_device *mmu = to_ipmmu(dev); in ipmmu_release_device() local
838 struct ipmmu_vmsa_device *mmu = to_ipmmu(dev); in ipmmu_find_group() local
[all …]
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_iommu.c30 static struct msm_iommu_pagetable *to_pagetable(struct msm_mmu *mmu) in to_pagetable()
91 static int msm_iommu_pagetable_unmap(struct msm_mmu *mmu, u64 iova, in msm_iommu_pagetable_unmap()
115 static int msm_iommu_pagetable_map(struct msm_mmu *mmu, u64 iova, in msm_iommu_pagetable_map()
154 static void msm_iommu_pagetable_destroy(struct msm_mmu *mmu) in msm_iommu_pagetable_destroy()
172 int msm_iommu_pagetable_params(struct msm_mmu *mmu, in msm_iommu_pagetable_params()
326 struct msm_mmu *mmu = &iommu->base; in msm_fault_handler() local
346 static void msm_iommu_resume_translation(struct msm_mmu *mmu) in msm_iommu_resume_translation()
354 static void msm_iommu_detach(struct msm_mmu *mmu) in msm_iommu_detach()
361 static int msm_iommu_map(struct msm_mmu *mmu, uint64_t iova, in msm_iommu_map()
389 static void msm_iommu_destroy(struct msm_mmu *mmu) in msm_iommu_destroy()
[all …]
H A Dmsm_gpummu.c24 static void msm_gpummu_detach(struct msm_mmu *mmu) in msm_gpummu_detach()
28 static int msm_gpummu_map(struct msm_mmu *mmu, uint64_t iova, in msm_gpummu_map()
56 static int msm_gpummu_unmap(struct msm_mmu *mmu, uint64_t iova, size_t len) in msm_gpummu_unmap()
71 static void msm_gpummu_resume_translation(struct msm_mmu *mmu) in msm_gpummu_resume_translation()
75 static void msm_gpummu_destroy(struct msm_mmu *mmu) in msm_gpummu_destroy()
114 void msm_gpummu_params(struct msm_mmu *mmu, dma_addr_t *pt_base, in msm_gpummu_params()
/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c113 struct panfrost_mmu *mmu, in mmu_hw_do_operation()
158 u32 panfrost_mmu_as_get(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) in panfrost_mmu_as_get()
224 void panfrost_mmu_as_put(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) in panfrost_mmu_as_put()
232 struct panfrost_mmu *mmu, *mmu_tmp; in panfrost_mmu_reset() local
273 struct panfrost_mmu *mmu, in panfrost_mmu_flush_range()
288 static int mmu_map_sg(struct panfrost_device *pfdev, struct panfrost_mmu *mmu, in mmu_map_sg()
408 struct panfrost_mmu *mmu; in addr_to_mapping() local
553 struct panfrost_mmu *mmu = container_of(kref, struct panfrost_mmu, in panfrost_mmu_release_ctx() local
575 void panfrost_mmu_ctx_put(struct panfrost_mmu *mmu) in panfrost_mmu_ctx_put()
580 struct panfrost_mmu *panfrost_mmu_ctx_get(struct panfrost_mmu *mmu) in panfrost_mmu_ctx_get()
[all …]
/openbmc/qemu/target/microblaze/
H A Dmmu.c40 MicroBlazeMMU *mmu = &env->mmu; in mmu_flush_idx() local
60 MicroBlazeMMU *mmu = &env->mmu; in mmu_change_pid() local
81 MicroBlazeMMU *mmu = &cpu->env.mmu; in mmu_translate() local
323 void mmu_init(MicroBlazeMMU *mmu) in mmu_init()
/openbmc/linux/drivers/gpu/drm/nouveau/nvif/
H A Dmem.c28 nvif_mem_ctor_map(struct nvif_mmu *mmu, const char *name, u8 type, u64 size, in nvif_mem_ctor_map()
48 nvif_mem_ctor_type(struct nvif_mmu *mmu, const char *name, s32 oclass, in nvif_mem_ctor_type()
88 nvif_mem_ctor(struct nvif_mmu *mmu, const char *name, s32 oclass, u8 type, in nvif_mem_ctor()
H A Dmmu.c28 nvif_mmu_dtor(struct nvif_mmu *mmu) in nvif_mmu_dtor()
41 struct nvif_mmu *mmu) in nvif_mmu_ctor()
/openbmc/linux/drivers/staging/media/atomisp/include/mmu/
H A Disp_mmu.h120 #define ISP_PTE_VALID_MASK(mmu) \ argument
123 #define ISP_PTE_VALID(mmu, pte) \ argument
154 static inline void isp_mmu_flush_tlb_all(struct isp_mmu *mmu) in isp_mmu_flush_tlb_all()
162 static inline void isp_mmu_flush_tlb_range(struct isp_mmu *mmu, in isp_mmu_flush_tlb_range()
/openbmc/linux/drivers/accel/ivpu/
H A Divpu_mmu.c279 struct ivpu_mmu_info *mmu = vdev->mmu; in ivpu_mmu_cdtab_alloc() local
294 struct ivpu_mmu_info *mmu = vdev->mmu; in ivpu_mmu_strtab_alloc() local
314 struct ivpu_mmu_info *mmu = vdev->mmu; in ivpu_mmu_cmdq_alloc() local
333 struct ivpu_mmu_info *mmu = vdev->mmu; in ivpu_mmu_evtq_alloc() local
484 struct ivpu_mmu_info *mmu = vdev->mmu; in ivpu_mmu_reset() local
557 struct ivpu_mmu_info *mmu = vdev->mmu; in ivpu_mmu_strtab_link_cd() local
598 struct ivpu_mmu_info *mmu = vdev->mmu; in ivpu_mmu_invalidate_tlb() local
617 struct ivpu_mmu_info *mmu = vdev->mmu; in ivpu_mmu_cd_add() local
705 struct ivpu_mmu_info *mmu = vdev->mmu; in ivpu_mmu_init() local
742 struct ivpu_mmu_info *mmu = vdev->mmu; in ivpu_mmu_enable() local
[all …]
/openbmc/linux/drivers/xen/
H A Dgrant-dma-iommu.c36 struct grant_dma_iommu_device *mmu; in grant_dma_iommu_probe() local
56 struct grant_dma_iommu_device *mmu = platform_get_drvdata(pdev); in grant_dma_iommu_remove() local
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_mmu.h283 static __always_inline u64 kvm_get_vttbr(struct kvm_s2_mmu *mmu) in kvm_get_vttbr()
299 static __always_inline void __load_stage2(struct kvm_s2_mmu *mmu, in __load_stage2()
313 static inline struct kvm *kvm_s2_mmu_to_kvm(struct kvm_s2_mmu *mmu) in kvm_s2_mmu_to_kvm()
/openbmc/linux/arch/arc/mm/
H A Dtlb.c136 struct cpuinfo_arc_mmu *mmu = &mmuinfo; in local_flush_tlb_all() local
571 struct cpuinfo_arc_mmu *mmu = &mmuinfo; in arc_mmu_mumbojumbo() local
624 struct cpuinfo_arc_mmu *mmu = &mmuinfo; in arc_mmu_init() local
688 #define SET_WAY_TO_IDX(mmu, set, way) ((set) * mmu->ways + (way)) argument
703 struct cpuinfo_arc_mmu *mmu = &mmuinfo; in do_tlb_overlap_fault() local

12345