Home
last modified time | relevance | path

Searched defs:mem (Results 1 – 25 of 720) sorted by relevance

12345678910>>...29

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_memory_region.c34 intel_memory_region_free_pages(struct intel_memory_region *mem, in intel_memory_region_free_pages()
50 __intel_memory_region_put_pages_buddy(struct intel_memory_region *mem, in __intel_memory_region_put_pages_buddy()
69 __intel_memory_region_get_pages_buddy(struct intel_memory_region *mem, in __intel_memory_region_get_pages_buddy()
134 __intel_memory_region_get_block_buddy(struct intel_memory_region *mem, in __intel_memory_region_get_block_buddy()
151 int intel_memory_region_init_buddy(struct intel_memory_region *mem) in intel_memory_region_init_buddy()
157 void intel_memory_region_release_buddy(struct intel_memory_region *mem) in intel_memory_region_release_buddy()
170 struct intel_memory_region *mem; in intel_memory_region_create() local
205 void intel_memory_region_set_name(struct intel_memory_region *mem, in intel_memory_region_set_name()
217 struct intel_memory_region *mem = in __intel_memory_region_destroy() local
229 intel_memory_region_get(struct intel_memory_region *mem) in intel_memory_region_get()
[all …]
Dintel_region_lmem.c12 static int init_fake_lmem_bar(struct intel_memory_region *mem) in init_fake_lmem_bar()
52 static void release_fake_lmem_bar(struct intel_memory_region *mem) in release_fake_lmem_bar()
67 region_lmem_release(struct intel_memory_region *mem) in region_lmem_release()
75 region_lmem_init(struct intel_memory_region *mem) in region_lmem_init()
108 struct intel_memory_region *mem; in intel_setup_fake_lmem() local
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/isp_param/src/
Disp_param.c27 enum ia_css_isp_memories mem, in ia_css_isp_param_set_mem_init()
38 enum ia_css_isp_memories mem, in ia_css_isp_param_set_css_mem_init()
49 enum ia_css_isp_memories mem, in ia_css_isp_param_set_isp_mem_init()
61 enum ia_css_isp_memories mem) in ia_css_isp_param_get_mem_init()
70 enum ia_css_isp_memories mem) in ia_css_isp_param_get_css_mem_init()
79 enum ia_css_isp_memories mem) in ia_css_isp_param_get_isp_mem_init()
90 unsigned int pclass, mem; in ia_css_init_memory_interface() local
111 unsigned int mem, pclass; in ia_css_isp_param_allocate_isp_parameters() local
154 unsigned int mem, pclass; in ia_css_isp_param_destroy_isp_parameters() local
189 unsigned int mem; in ia_css_isp_param_copy_isp_mem_if_to_ddr() local
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Diommu_api.c60 struct mm_iommu_table_group_mem_t *mem, *mem2; in mm_iommu_do_alloc() local
201 static void mm_iommu_unpin(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_unpin()
226 static void mm_iommu_do_free(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_do_free()
236 struct mm_iommu_table_group_mem_t *mem = container_of(head, in mm_iommu_free() local
242 static void mm_iommu_release(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_release()
248 long mm_iommu_put(struct mm_struct *mm, struct mm_iommu_table_group_mem_t *mem) in mm_iommu_put()
290 struct mm_iommu_table_group_mem_t *mem, *ret = NULL; in mm_iommu_lookup() local
308 struct mm_iommu_table_group_mem_t *mem, *ret = NULL; in mm_iommu_lookup_rm() local
326 struct mm_iommu_table_group_mem_t *mem, *ret = NULL; in mm_iommu_get() local
344 long mm_iommu_ua_to_hpa(struct mm_iommu_table_group_mem_t *mem, in mm_iommu_ua_to_hpa()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dvideobuf-dma-contig.c38 struct videobuf_dma_contig_memory *mem, in __videobuf_dc_alloc()
55 struct videobuf_dma_contig_memory *mem) in __videobuf_dc_free()
83 struct videobuf_dma_contig_memory *mem; in videobuf_vm_close() local
140 static void videobuf_dma_contig_user_put(struct videobuf_dma_contig_memory *mem) in videobuf_dma_contig_user_put()
156 static int videobuf_dma_contig_user_get(struct videobuf_dma_contig_memory *mem, in videobuf_dma_contig_user_get()
210 struct videobuf_dma_contig_memory *mem; in __videobuf_alloc() local
225 struct videobuf_dma_contig_memory *mem = buf->priv; in __videobuf_to_vaddr() local
237 struct videobuf_dma_contig_memory *mem = vb->priv; in __videobuf_iolock() local
276 struct videobuf_dma_contig_memory *mem; in __videobuf_mmap_mapper() local
358 struct videobuf_dma_contig_memory *mem = buf->priv; in videobuf_to_dma_contig() local
[all …]
Dvideobuf-vmalloc.c72 struct videobuf_vmalloc_memory *mem; in videobuf_vm_close() local
137 struct videobuf_vmalloc_memory *mem; in __videobuf_alloc_vb() local
158 struct videobuf_vmalloc_memory *mem = vb->priv; in __videobuf_iolock() local
213 struct videobuf_vmalloc_memory *mem; in __videobuf_mmap_mapper() local
294 struct videobuf_vmalloc_memory *mem = buf->priv; in videobuf_to_vmalloc() local
304 struct videobuf_vmalloc_memory *mem = buf->priv; in videobuf_vmalloc_free() local
Dvideobuf-dma-sg.c136 struct videobuf_dma_sg_memory *mem = buf->priv; in videobuf_to_dma() local
398 struct videobuf_dma_sg_memory *mem; in videobuf_vm_close() local
470 struct videobuf_dma_sg_memory *mem; in __videobuf_alloc_vb() local
491 struct videobuf_dma_sg_memory *mem = buf->priv; in __videobuf_to_vaddr() local
503 struct videobuf_dma_sg_memory *mem = vb->priv; in __videobuf_iolock() local
577 struct videobuf_dma_sg_memory *mem = buf->priv; in __videobuf_sync() local
593 struct videobuf_dma_sg_memory *mem = buf->priv; in __videobuf_mmap_mapper() local
/kernel/linux/linux-5.10/drivers/spi/
Dspi-mem.c102 static int spi_check_buswidth_req(struct spi_mem *mem, u8 buswidth, bool tx) in spi_check_buswidth_req()
140 bool spi_mem_default_supports_op(struct spi_mem *mem, in spi_mem_default_supports_op()
196 static bool spi_mem_internal_supports_op(struct spi_mem *mem, in spi_mem_internal_supports_op()
222 bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_supports_op()
231 static int spi_mem_access_start(struct spi_mem *mem) in spi_mem_access_start()
259 static void spi_mem_access_end(struct spi_mem *mem) in spi_mem_access_end()
282 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op()
403 const char *spi_mem_get_name(struct spi_mem *mem) in spi_mem_get_name()
424 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in spi_mem_adjust_op_size()
504 spi_mem_dirmap_create(struct spi_mem *mem, in spi_mem_dirmap_create()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_mr.c27 int mem_check_range(struct rxe_mem *mem, u64 iova, size_t length) in mem_check_range()
50 static void rxe_mem_init(int access, struct rxe_mem *mem) in rxe_mem_init()
64 struct rxe_mem *mem = container_of(arg, typeof(*mem), pelem); in rxe_mem_cleanup() local
77 static int rxe_mem_alloc(struct rxe_mem *mem, int num_buf) in rxe_mem_alloc()
116 int access, struct rxe_mem *mem) in rxe_mem_init_dma()
128 struct rxe_mem *mem) in rxe_mem_init_user()
206 int max_pages, struct rxe_mem *mem) in rxe_mem_init_fast()
231 struct rxe_mem *mem, in lookup_iova()
270 void *iova_to_vaddr(struct rxe_mem *mem, u64 iova, int length) in iova_to_vaddr()
311 int rxe_mem_copy(struct rxe_mem *mem, u64 iova, void *addr, int length, in rxe_mem_copy()
[all …]
/kernel/linux/linux-5.10/kernel/dma/
Dcoherent.c33 struct dma_coherent_mem * mem) in dma_get_device_base()
42 struct dma_coherent_mem **mem) in dma_init_coherent_memory()
87 static void dma_release_coherent_memory(struct dma_coherent_mem *mem) in dma_release_coherent_memory()
98 struct dma_coherent_mem *mem) in dma_assign_coherent_memory()
130 struct dma_coherent_mem *mem; in dma_declare_coherent_memory() local
144 struct dma_coherent_mem *mem, in __dma_alloc_from_coherent()
192 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_alloc_from_dev_coherent() local
211 static int __dma_release_from_coherent(struct dma_coherent_mem *mem, in __dma_release_from_coherent()
241 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_release_from_dev_coherent() local
255 static int __dma_mmap_from_coherent(struct dma_coherent_mem *mem, in __dma_mmap_from_coherent()
[all …]
/kernel/linux/linux-5.10/drivers/char/hw_random/
Dintel-rng.c155 static inline u8 hwstatus_get(void __iomem *mem) in hwstatus_get()
160 static inline u8 hwstatus_set(void __iomem *mem, in hwstatus_set()
169 void __iomem *mem = (void __iomem *)rng->priv; in intel_rng_data_present() local
184 void __iomem *mem = (void __iomem *)rng->priv; in intel_rng_data_read() local
193 void __iomem *mem = (void __iomem *)rng->priv; in intel_rng_init() local
212 void __iomem *mem = (void __iomem *)rng->priv; in intel_rng_cleanup() local
233 void __iomem *mem; member
333 void __iomem *mem; in mod_init() local
408 void __iomem *mem = (void __iomem *)intel_rng.priv; in mod_exit() local
Dgeode-rng.c61 void __iomem *mem = (void __iomem *)rng->priv; in geode_rng_data_read() local
70 void __iomem *mem = (void __iomem *)rng->priv; in geode_rng_data_present() local
95 void __iomem *mem; in mod_init() local
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_mem.c36 nouveau_mem_map(struct nouveau_mem *mem, in nouveau_mem_map()
85 nouveau_mem_fini(struct nouveau_mem *mem) in nouveau_mem_fini()
97 struct nouveau_mem *mem = nouveau_mem(reg); in nouveau_mem_host() local
135 struct nouveau_mem *mem = nouveau_mem(reg); in nouveau_mem_vram() local
178 struct nouveau_mem *mem = nouveau_mem(reg); in nouveau_mem_del() local
190 struct nouveau_mem *mem; in nouveau_mem_new() local
/kernel/linux/linux-5.10/drivers/base/
Dmemory.c101 struct memory_block *mem = to_memory_block(dev); in memory_block_release() local
118 struct memory_block *mem = to_memory_block(dev); in phys_index_show() local
142 struct memory_block *mem = to_memory_block(dev); in state_show() local
202 static int memory_block_change_state(struct memory_block *mem, in memory_block_change_state()
224 struct memory_block *mem = to_memory_block(dev); in memory_subsys_online() local
245 struct memory_block *mem = to_memory_block(dev); in memory_subsys_offline() local
257 struct memory_block *mem = to_memory_block(dev); in state_store() local
302 struct memory_block *mem = to_memory_block(dev); in phys_device_show() local
326 struct memory_block *mem = to_memory_block(dev); in valid_zones_show() local
504 struct memory_block *mem; in find_memory_block_by_id() local
[all …]
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/
Dcompiler.h94 #define __kernel_ldbu(mem) (mem) argument
95 #define __kernel_ldwu(mem) (mem) argument
96 #define __kernel_stb(val,mem) ((mem) = (val)) argument
97 #define __kernel_stw(val,mem) ((mem) = (val)) argument
99 #define __kernel_ldbu(mem) \ argument
104 #define __kernel_ldwu(mem) \ argument
109 #define __kernel_stb(val,mem) \ argument
112 #define __kernel_stw(val,mem) \ argument
/kernel/linux/linux-5.10/drivers/pci/endpoint/
Dpci-epc-mem.c23 static int pci_epc_mem_get_order(struct pci_epc_mem *mem, size_t size) in pci_epc_mem_get_order()
51 struct pci_epc_mem *mem = NULL; in pci_epc_multi_mem_init() local
140 struct pci_epc_mem *mem; in pci_epc_mem_exit() local
172 struct pci_epc_mem *mem; in pci_epc_mem_alloc_addr() local
211 struct pci_epc_mem *mem; in pci_epc_get_matching_window() local
237 struct pci_epc_mem *mem; in pci_epc_mem_free_addr() local
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dmem.c35 struct page **mem; member
57 struct nvkm_mem *mem = nvkm_mem(memory); in nvkm_mem_addr() local
73 struct nvkm_mem *mem = nvkm_mem(memory); in nvkm_mem_map_dma() local
85 struct nvkm_mem *mem = nvkm_mem(memory); in nvkm_mem_dtor() local
113 struct nvkm_mem *mem = nvkm_mem(memory); in nvkm_mem_map_sgl() local
135 struct nvkm_mem *mem = nvkm_mem(memory); in nvkm_mem_map_host() local
154 struct nvkm_mem *mem; in nvkm_mem_new_host() local
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_region.c25 struct intel_memory_region *mem = obj->mm.region; in i915_gem_object_get_pages_buddy() local
105 struct intel_memory_region *mem, in i915_gem_object_init_memory_region()
127 struct intel_memory_region *mem = obj->mm.region; in i915_gem_object_release_memory_region() local
137 i915_gem_object_create_region(struct intel_memory_region *mem, in i915_gem_object_create_region()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_mem.c50 struct siw_mem *mem; in siw_mem_id2obj() local
93 struct siw_mem *mem = kzalloc(sizeof(*mem), GFP_KERNEL); in siw_mr_add_mem() local
128 struct siw_mem *mem = mr->mem, *found; in siw_mr_drop_mem() local
142 struct siw_mem *mem = container_of(ref, struct siw_mem, ref); in siw_free_mem() local
168 int siw_check_mem(struct ib_pd *pd, struct siw_mem *mem, u64 addr, in siw_check_mem()
222 int siw_check_sge(struct ib_pd *pd, struct siw_sge *sge, struct siw_mem *mem[], in siw_check_sge()
295 struct siw_mem *mem = siw_mem_id2obj(sdev, stag >> 8); in siw_invalidate_stag() local
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/
Dmem.c29 struct nvif_mem *mem) in nvif_mem_ctor_map()
42 nvif_mem_dtor(struct nvif_mem *mem) in nvif_mem_dtor()
50 struct nvif_mem *mem) in nvif_mem_ctor_type()
89 u8 page, u64 size, void *argv, u32 argc, struct nvif_mem *mem) in nvif_mem_ctor()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c71 struct kgd_mem *mem) in check_if_add_bo_to_vm()
89 uint64_t mem; in amdgpu_amdkfd_gpuvm_init_mem_limits() local
390 static uint64_t get_pte_flags(struct amdgpu_device *adev, struct kgd_mem *mem) in get_pte_flags()
435 static int add_bo_to_vm(struct amdgpu_device *adev, struct kgd_mem *mem, in add_bo_to_vm()
506 static void add_kgd_mem_to_kfd_bo_list(struct kgd_mem *mem, in add_kgd_mem_to_kfd_bo_list()
524 static void remove_kgd_mem_from_kfd_bo_list(struct kgd_mem *mem, in remove_kgd_mem_from_kfd_bo_list()
547 static int init_user_pages(struct kgd_mem *mem, uint64_t user_addr) in init_user_pages()
623 static int reserve_bo_and_vm(struct kgd_mem *mem, in reserve_bo_and_vm()
673 static int reserve_bo_and_cond_vms(struct kgd_mem *mem, in reserve_bo_and_cond_vms()
1138 void *vm, struct kgd_mem **mem, in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
[all …]
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-mem.c40 struct perf_mem *mem = *(struct perf_mem **)opt->value; in parse_record_events() local
61 static int __cmd_record(int argc, const char **argv, struct perf_mem *mem) in __cmd_record()
148 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples() local
232 static int report_raw_events(struct perf_mem *mem) in report_raw_events()
269 static int report_events(int argc, const char **argv, struct perf_mem *mem) in report_events()
381 struct perf_mem mem = { in cmd_mem() local
/kernel/linux/linux-5.10/mm/
Dcma_debug.c71 static void cma_add_to_cma_mem_list(struct cma *cma, struct cma_mem *mem) in cma_add_to_cma_mem_list()
80 struct cma_mem *mem = NULL; in cma_get_entry_from_list() local
94 struct cma_mem *mem = NULL; in cma_free_mem() local
133 struct cma_mem *mem; in cma_alloc_mem() local
/kernel/linux/linux-5.10/drivers/leds/
Dleds-bcm6358.c40 void __iomem *mem; member
64 static unsigned long bcm6358_led_busy(void __iomem *mem) in bcm6358_led_busy()
95 void __iomem *mem, spinlock_t *lock) in bcm6358_led()
151 void __iomem *mem; in bcm6358_leds_probe() local
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Diser_memory.c104 iser_reg_dma(struct iser_device *device, struct iser_data_buf *mem, in iser_reg_dma()
234 struct iser_data_buf *mem, in iser_reg_sig_mr()
292 struct iser_data_buf *mem, in iser_fast_reg_mr()
340 struct iser_data_buf *mem, in iser_reg_data_sg()
358 struct iser_data_buf *mem = &task->data[dir]; in iser_reg_mem_fastreg() local

12345678910>>...29