Home
last modified time | relevance | path

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

1234

/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dbase.c42 nvkm_mmu_ptp_put(struct nvkm_mmu *mmu, bool force, struct nvkm_mmu_pt *pt) in nvkm_mmu_ptp_put()
65 nvkm_mmu_ptp_get(struct nvkm_mmu *mmu, u32 size, bool zero) in nvkm_mmu_ptp_get()
120 nvkm_mmu_ptc_find(struct nvkm_mmu *mmu, u32 size) in nvkm_mmu_ptc_find()
141 nvkm_mmu_ptc_put(struct nvkm_mmu *mmu, bool force, struct nvkm_mmu_pt **ppt) in nvkm_mmu_ptc_put()
167 nvkm_mmu_ptc_get(struct nvkm_mmu *mmu, u32 size, u32 align, bool zero) in nvkm_mmu_ptc_get()
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()
[all …]
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
157 struct nvkm_mmu *mmu = device->mmu; in nvkm_ummu_new() local
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()
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()
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()
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()
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()
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()
Dumem.c91 struct nvkm_mmu *mmu = umem->mmu; in nvkm_umem_map() local
146 struct nvkm_mmu *mmu = nvkm_ummu(oclass->parent)->mmu; in nvkm_umem_new() local
Dummu.h9 struct nvkm_mmu *mmu; member
Dnv41.c32 nv41_mmu_init(struct nvkm_mmu *mmu) in nv41_mmu_init()
Dvmmnv04.c102 nv04_vmm_new_(const struct nvkm_vmm_func *func, struct nvkm_mmu *mmu, in nv04_vmm_new_()
121 nv04_vmm_new(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, in nv04_vmm_new()
Dgf100.c33 gf100_mmu_kind(struct nvkm_mmu *mmu, int *count) in gf100_mmu_kind()
/Linux-v5.4/drivers/staging/media/ipu3/
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()
101 static void imgu_mmu_set_halt(struct imgu_mmu *mmu, bool halt) in imgu_mmu_set_halt()
168 static u32 *imgu_mmu_get_l2pt(struct imgu_mmu *mmu, u32 l1pt_idx) in imgu_mmu_get_l2pt()
208 static int __imgu_mmu_map(struct imgu_mmu *mmu, unsigned long iova, in __imgu_mmu_map()
252 struct imgu_mmu *mmu = to_imgu_mmu(info); in imgu_mmu_map() local
300 struct imgu_mmu *mmu = to_imgu_mmu(info); in imgu_mmu_map_sg() local
336 static size_t __imgu_mmu_unmap(struct imgu_mmu *mmu, in __imgu_mmu_unmap()
380 struct imgu_mmu *mmu = to_imgu_mmu(info); in imgu_mmu_unmap() local
[all …]
/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gpummu.c24 static int msm_gpummu_attach(struct msm_mmu *mmu, const char * const *names, in msm_gpummu_attach()
30 static void msm_gpummu_detach(struct msm_mmu *mmu, const char * const *names, in msm_gpummu_detach()
35 static int msm_gpummu_map(struct msm_mmu *mmu, uint64_t iova, in msm_gpummu_map()
64 static int msm_gpummu_unmap(struct msm_mmu *mmu, uint64_t iova, unsigned len) in msm_gpummu_unmap()
79 static void msm_gpummu_destroy(struct msm_mmu *mmu) in msm_gpummu_destroy()
118 void msm_gpummu_params(struct msm_mmu *mmu, dma_addr_t *pt_base, in msm_gpummu_params()
Dmsm_iommu.c26 static int msm_iommu_attach(struct msm_mmu *mmu, const char * const *names, in msm_iommu_attach()
34 static void msm_iommu_detach(struct msm_mmu *mmu, const char * const *names, in msm_iommu_detach()
42 static int msm_iommu_map(struct msm_mmu *mmu, uint64_t iova, in msm_iommu_map()
54 static int msm_iommu_unmap(struct msm_mmu *mmu, uint64_t iova, unsigned len) in msm_iommu_unmap()
63 static void msm_iommu_destroy(struct msm_mmu *mmu) in msm_iommu_destroy()
Dmsm_mmu.h28 static inline void msm_mmu_init(struct msm_mmu *mmu, struct device *dev, in msm_mmu_init()
38 static inline void msm_mmu_set_fault_handler(struct msm_mmu *mmu, void *arg, in msm_mmu_set_fault_handler()
/Linux-v5.4/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c100 struct panfrost_mmu *mmu, in mmu_hw_do_operation()
111 static void panfrost_mmu_enable(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) in panfrost_mmu_enable()
145 u32 panfrost_mmu_as_get(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) in panfrost_mmu_as_get()
193 void panfrost_mmu_as_put(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) in panfrost_mmu_as_put()
201 struct panfrost_mmu *mmu, *mmu_tmp; in panfrost_mmu_reset() local
228 struct panfrost_mmu *mmu, in panfrost_mmu_flush_range()
243 static int mmu_map_sg(struct panfrost_device *pfdev, struct panfrost_mmu *mmu, in mmu_map_sg()
354 struct panfrost_mmu *mmu = &priv->mmu; in panfrost_mmu_pgtable_alloc() local
379 struct panfrost_mmu *mmu = &priv->mmu; in panfrost_mmu_pgtable_free() local
404 struct panfrost_mmu *mmu; in addr_to_drm_mm_node() local
/Linux-v5.4/drivers/iommu/
Dipmmu-vmsa.c72 struct ipmmu_vmsa_device *mmu; member
228 static bool ipmmu_is_root(struct ipmmu_vmsa_device *mmu) in ipmmu_is_root()
235 struct ipmmu_vmsa_device *mmu = dev_get_drvdata(dev); in __ipmmu_check_device() local
256 static u32 ipmmu_read(struct ipmmu_vmsa_device *mmu, unsigned int offset) in ipmmu_read()
261 static void ipmmu_write(struct ipmmu_vmsa_device *mmu, unsigned int offset, in ipmmu_write()
329 struct ipmmu_vmsa_device *mmu = domain->mmu; in ipmmu_utlb_enable() local
351 struct ipmmu_vmsa_device *mmu = domain->mmu; in ipmmu_utlb_disable() local
380 static int ipmmu_domain_allocate_context(struct ipmmu_vmsa_device *mmu, in ipmmu_domain_allocate_context()
400 static void ipmmu_domain_free_context(struct ipmmu_vmsa_device *mmu, in ipmmu_domain_free_context()
539 struct ipmmu_vmsa_device *mmu = domain->mmu; in ipmmu_domain_irq() local
[all …]
/Linux-v5.4/drivers/gpu/drm/nouveau/nvif/
Dmem.c28 nvif_mem_init_map(struct nvif_mmu *mmu, u8 type, u64 size, struct nvif_mem *mem) in nvif_mem_init_map()
47 nvif_mem_init_type(struct nvif_mmu *mmu, s32 oclass, int type, u8 page, in nvif_mem_init_type()
86 nvif_mem_init(struct nvif_mmu *mmu, s32 oclass, u8 type, u8 page, in nvif_mem_init()
Dmmu.c28 nvif_mmu_fini(struct nvif_mmu *mmu) in nvif_mmu_fini()
37 nvif_mmu_init(struct nvif_object *parent, s32 oclass, struct nvif_mmu *mmu) in nvif_mmu_init()
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_mem.c100 struct nvif_mmu *mmu = &cli->mmu; in nouveau_mem_host() local
138 struct nvif_mmu *mmu = &cli->mmu; in nouveau_mem_vram() local
Dnouveau_ttm.c177 struct nvif_mmu *mmu = &drm->client.mmu; in nouveau_ttm_init_host() local
200 struct nvif_mmu *mmu = &drm->client.mmu; in nouveau_ttm_init() local
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvif/
Dmmu.h37 nvif_mmu_kind_valid(struct nvif_mmu *mmu, u8 kind) in nvif_mmu_kind_valid()
48 nvif_mmu_type(struct nvif_mmu *mmu, u8 mask) in nvif_mmu_type()
/Linux-v5.4/arch/arc/mm/
Dtlb.c252 struct cpuinfo_arc_mmu *mmu = &cpuinfo_arc700[smp_processor_id()].mmu; in local_flush_tlb_all() local
728 struct cpuinfo_arc_mmu *mmu = &cpuinfo_arc700[smp_processor_id()].mmu; in read_decode_mmu_bcr() local
820 struct cpuinfo_arc_mmu *mmu = &cpuinfo_arc700[smp_processor_id()].mmu; in arc_mmu_init() local
895 #define SET_WAY_TO_IDX(mmu, set, way) ((set) * mmu->ways + (way)) argument
910 struct cpuinfo_arc_mmu *mmu = &cpuinfo_arc700[smp_processor_id()].mmu; in do_tlb_overlap_fault() local

1234