Home
last modified time | relevance | path

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

12345678910>>...29

/linux-6.1.9/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
188 unsigned int mem; in ia_css_isp_param_copy_isp_mem_if_to_ddr() local
/linux-6.1.9/drivers/spi/
Dspi-mem.c104 static int spi_check_buswidth_req(struct spi_mem *mem, u8 buswidth, bool tx) in spi_check_buswidth_req()
142 static bool spi_mem_check_buswidth(struct spi_mem *mem, in spi_mem_check_buswidth()
164 bool spi_mem_default_supports_op(struct spi_mem *mem, in spi_mem_default_supports_op()
227 static bool spi_mem_internal_supports_op(struct spi_mem *mem, in spi_mem_internal_supports_op()
253 bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_supports_op()
262 static int spi_mem_access_start(struct spi_mem *mem) in spi_mem_access_start()
289 static void spi_mem_access_end(struct spi_mem *mem) in spi_mem_access_end()
312 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op()
434 const char *spi_mem_get_name(struct spi_mem *mem) in spi_mem_get_name()
455 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in spi_mem_adjust_op_size()
[all …]
/linux-6.1.9/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
469 struct videobuf_dma_sg_memory *mem; in __videobuf_alloc_vb() local
490 struct videobuf_dma_sg_memory *mem = buf->priv; in __videobuf_to_vaddr() local
502 struct videobuf_dma_sg_memory *mem = vb->priv; in __videobuf_iolock() local
576 struct videobuf_dma_sg_memory *mem = buf->priv; in __videobuf_sync() local
592 struct videobuf_dma_sg_memory *mem = buf->priv; in __videobuf_mmap_mapper() local
/linux-6.1.9/arch/powerpc/mm/book3s64/
Diommu_api.c60 struct mm_iommu_table_group_mem_t *mem, *mem2; in mm_iommu_do_alloc() local
202 static void mm_iommu_unpin(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_unpin()
227 static void mm_iommu_do_free(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_do_free()
237 struct mm_iommu_table_group_mem_t *mem = container_of(head, in mm_iommu_free() local
243 static void mm_iommu_release(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_release()
249 long mm_iommu_put(struct mm_struct *mm, struct mm_iommu_table_group_mem_t *mem) in mm_iommu_put()
291 struct mm_iommu_table_group_mem_t *mem, *ret = NULL; in mm_iommu_lookup() local
311 struct mm_iommu_table_group_mem_t *mem, *ret = NULL; in mm_iommu_get() local
330 long mm_iommu_ua_to_hpa(struct mm_iommu_table_group_mem_t *mem, in mm_iommu_ua_to_hpa()
357 struct mm_iommu_table_group_mem_t *mem; in mm_iommu_is_devmem() local
[all …]
/linux-6.1.9/kernel/dma/
Dcoherent.c31 struct dma_coherent_mem * mem) in dma_get_device_base()
77 static void _dma_release_coherent_memory(struct dma_coherent_mem *mem) in _dma_release_coherent_memory()
88 struct dma_coherent_mem *mem) in dma_assign_coherent_memory()
120 struct dma_coherent_mem *mem; in dma_declare_coherent_memory() local
140 struct dma_coherent_mem *mem, in __dma_alloc_from_coherent()
188 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_alloc_from_dev_coherent() local
197 static int __dma_release_from_coherent(struct dma_coherent_mem *mem, in __dma_release_from_coherent()
227 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_release_from_dev_coherent() local
232 static int __dma_mmap_from_coherent(struct dma_coherent_mem *mem, in __dma_mmap_from_coherent()
272 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_mmap_from_dev_coherent() local
[all …]
Dswiotlb.c191 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_print_info() local
218 static void *swiotlb_mem_remap(struct io_tlb_mem *mem, unsigned long bytes) in swiotlb_mem_remap()
234 static void *swiotlb_mem_remap(struct io_tlb_mem *mem, unsigned long bytes) in swiotlb_mem_remap()
248 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_update_mem_attributes() local
263 static void swiotlb_init_io_tlb_mem(struct io_tlb_mem *mem, phys_addr_t start, in swiotlb_init_io_tlb_mem()
310 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_init_remap() local
391 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_init_late() local
467 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_exit() local
514 struct io_tlb_mem *mem = dev->dma_io_tlb_mem; in swiotlb_bounce() local
596 static unsigned int wrap_area_index(struct io_tlb_mem *mem, unsigned int index) in wrap_area_index()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c72 struct kgd_mem *mem) in kfd_mem_is_attached()
90 uint64_t mem; in amdgpu_amdkfd_gpuvm_init_mem_limits() local
251 struct kgd_mem *mem, struct amdgpu_bo **bo_out) in create_dmamap_sg_bo()
404 static uint64_t get_pte_flags(struct amdgpu_device *adev, struct kgd_mem *mem) in get_pte_flags()
498 kfd_mem_dmamap_userptr(struct kgd_mem *mem, in kfd_mem_dmamap_userptr()
588 kfd_mem_dmamap_sg_bo(struct kgd_mem *mem, in kfd_mem_dmamap_sg_bo()
643 kfd_mem_dmamap_attachment(struct kgd_mem *mem, in kfd_mem_dmamap_attachment()
662 kfd_mem_dmaunmap_userptr(struct kgd_mem *mem, in kfd_mem_dmaunmap_userptr()
712 kfd_mem_dmaunmap_sg_bo(struct kgd_mem *mem, in kfd_mem_dmaunmap_sg_bo()
740 kfd_mem_dmaunmap_attachment(struct kgd_mem *mem, in kfd_mem_dmaunmap_attachment()
[all …]
/linux-6.1.9/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 intel_rng_mod_init() local
408 void __iomem *mem = (void __iomem *)intel_rng.priv; in intel_rng_mod_exit() local
/linux-6.1.9/drivers/gpu/drm/i915/
Dintel_region_ttm.c55 int intel_region_to_ttm_type(const struct intel_memory_region *mem) in intel_region_to_ttm_type()
83 int intel_region_ttm_init(struct intel_memory_region *mem) in intel_region_ttm_init()
109 int intel_region_ttm_fini(struct intel_memory_region *mem) in intel_region_ttm_fini()
164 intel_region_ttm_resource_to_rsgt(struct intel_memory_region *mem, in intel_region_ttm_resource_to_rsgt()
198 intel_region_ttm_resource_alloc(struct intel_memory_region *mem, in intel_region_ttm_resource_alloc()
241 void intel_region_ttm_resource_free(struct intel_memory_region *mem, in intel_region_ttm_resource_free()
Dintel_memory_region.c36 static int __iopagetest(struct intel_memory_region *mem, in __iopagetest()
61 static int iopagetest(struct intel_memory_region *mem, in iopagetest()
98 static int iomemtest(struct intel_memory_region *mem, in iomemtest()
182 int intel_memory_region_reserve(struct intel_memory_region *mem, in intel_memory_region_reserve()
204 static int intel_memory_region_memtest(struct intel_memory_region *mem, in intel_memory_region_memtest()
230 struct intel_memory_region *mem; in intel_memory_region_create() local
270 void intel_memory_region_set_name(struct intel_memory_region *mem, in intel_memory_region_set_name()
294 void intel_memory_region_destroy(struct intel_memory_region *mem) in intel_memory_region_destroy()
314 struct intel_memory_region *mem = ERR_PTR(-ENODEV); in intel_memory_regions_hw_probe() local
/linux-6.1.9/drivers/base/
Dmemory.c107 struct memory_block *mem = to_memory_block(dev); in memory_block_release() local
124 struct memory_block *mem = to_memory_block(dev); in phys_index_show() local
148 struct memory_block *mem = to_memory_block(dev); in state_show() local
178 static int memory_block_online(struct memory_block *mem) in memory_block_online()
222 static int memory_block_offline(struct memory_block *mem) in memory_block_offline()
262 memory_block_action(struct memory_block *mem, unsigned long action) in memory_block_action()
282 static int memory_block_change_state(struct memory_block *mem, in memory_block_change_state()
302 struct memory_block *mem = to_memory_block(dev); in memory_subsys_online() local
323 struct memory_block *mem = to_memory_block(dev); in memory_subsys_offline() local
335 struct memory_block *mem = to_memory_block(dev); in state_store() local
[all …]
/linux-6.1.9/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
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_mem.c36 nouveau_mem_map(struct nouveau_mem *mem, in nouveau_mem_map()
78 nouveau_mem_fini(struct nouveau_mem *mem) in nouveau_mem_fini()
90 struct nouveau_mem *mem = nouveau_mem(reg); in nouveau_mem_host() local
127 struct nouveau_mem *mem = nouveau_mem(reg); in nouveau_mem_vram() local
167 struct nouveau_mem *mem = nouveau_mem(reg); in nouveau_mem_del() local
178 struct nouveau_mem *mem; in nouveau_mem_new() local
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_region.c14 struct intel_memory_region *mem) in i915_gem_object_init_memory_region()
25 struct intel_memory_region *mem = obj->mm.region; in i915_gem_object_release_memory_region() local
33 __i915_gem_object_create_region(struct intel_memory_region *mem, in __i915_gem_object_create_region()
107 i915_gem_object_create_region(struct intel_memory_region *mem, in i915_gem_object_create_region()
117 i915_gem_object_create_region_at(struct intel_memory_region *mem, in i915_gem_object_create_region_at()
Di915_gem_stolen.c395 static int i915_gem_init_stolen(struct intel_memory_region *mem) in i915_gem_init_stolen()
632 static int __i915_gem_object_create_stolen(struct intel_memory_region *mem, in __i915_gem_object_create_stolen()
668 static int _i915_gem_object_stolen_init(struct intel_memory_region *mem, in _i915_gem_object_stolen_init()
734 static int init_stolen_smem(struct intel_memory_region *mem) in init_stolen_smem()
743 static int release_stolen_smem(struct intel_memory_region *mem) in release_stolen_smem()
755 static int init_stolen_lmem(struct intel_memory_region *mem) in init_stolen_lmem()
785 static int release_stolen_lmem(struct intel_memory_region *mem) in release_stolen_lmem()
806 struct intel_memory_region *mem; in i915_gem_stolen_lmem_setup() local
871 struct intel_memory_region *mem; in i915_gem_stolen_smem_setup() local
/linux-6.1.9/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
/linux-6.1.9/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
/linux-6.1.9/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
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ipa/
Dipa_mem.c34 const struct ipa_mem *mem = &ipa->mem[i]; in ipa_mem_find() local
48 const struct ipa_mem *mem = ipa_mem_find(ipa, mem_id); in ipa_mem_zero_region_add() local
79 const struct ipa_mem *mem; in ipa_mem_setup() local
209 static bool ipa_mem_valid_one(struct ipa *ipa, const struct ipa_mem *mem) in ipa_mem_valid_one()
259 const struct ipa_mem *mem = &mem_data->local[i]; in ipa_mem_valid() local
289 const struct ipa_mem *mem = &ipa->mem[i]; in ipa_mem_size_valid() local
313 const struct ipa_mem *mem; in ipa_mem_config() local
/linux-6.1.9/tools/perf/
Dbuiltin-mem.c45 struct perf_mem *mem = *(struct perf_mem **)opt->value; in parse_record_events() local
66 static int __cmd_record(int argc, const char **argv, struct perf_mem *mem) in __cmd_record()
198 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples() local
270 static int report_raw_events(struct perf_mem *mem) in report_raw_events()
318 static char *get_sort_order(struct perf_mem *mem) in get_sort_order()
345 static int report_events(int argc, const char **argv, struct perf_mem *mem) in report_events()
447 struct perf_mem mem = { in cmd_mem() local
/linux-6.1.9/drivers/platform/x86/
Dp2sb.c43 static int p2sb_read_bar0(struct pci_dev *pdev, struct resource *mem) in p2sb_read_bar0()
63 static int p2sb_scan_and_read(struct pci_bus *bus, unsigned int devfn, struct resource *mem) in p2sb_scan_and_read()
97 int p2sb_bar(struct pci_bus *bus, unsigned int devfn, struct resource *mem) in p2sb_bar()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_region_lmem.c120 region_lmem_release(struct intel_memory_region *mem) in region_lmem_release()
131 region_lmem_init(struct intel_memory_region *mem) in region_lmem_init()
174 struct intel_memory_region *mem) in reserve_lowmem_region()
195 struct intel_memory_region *mem; in setup_lmem() local

12345678910>>...29