/linux/drivers/spi/ |
A D | spi-mem.c | 163 bool spi_mem_dtr_supports_op(struct spi_mem *mem, in spi_mem_dtr_supports_op() 173 bool spi_mem_default_supports_op(struct spi_mem *mem, in spi_mem_default_supports_op() 248 static int spi_mem_access_start(struct spi_mem *mem) in spi_mem_access_start() 276 static void spi_mem_access_end(struct spi_mem *mem) in spi_mem_access_end() 421 const char *spi_mem_get_name(struct spi_mem *mem) in spi_mem_get_name() 522 spi_mem_dirmap_create(struct spi_mem *mem, in spi_mem_dirmap_create() 747 static int spi_mem_read_status(struct spi_mem *mem, in spi_mem_read_status() 782 int spi_mem_poll_status(struct spi_mem *mem, in spi_mem_poll_status() 836 struct spi_mem *mem; in spi_mem_probe() local 860 struct spi_mem *mem = spi_get_drvdata(spi); in spi_mem_remove() local [all …]
|
/linux/arch/powerpc/mm/book3s64/ |
A D | iommu_api.c | 60 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() 237 struct mm_iommu_table_group_mem_t *mem = container_of(head, in mm_iommu_free() local 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_lookup_rm() local 329 struct mm_iommu_table_group_mem_t *mem, *ret = NULL; in mm_iommu_get() local 348 long mm_iommu_ua_to_hpa(struct mm_iommu_table_group_mem_t *mem, in mm_iommu_ua_to_hpa() 400 struct mm_iommu_table_group_mem_t *mem; in mm_iommu_ua_mark_dirty_rm() local 425 struct mm_iommu_table_group_mem_t *mem; in mm_iommu_is_devmem() local 451 long mm_iommu_mapped_inc(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_mapped_inc() [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/isp_param/src/ |
A D | isp_param.c | 27 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/drivers/media/v4l2-core/ |
A D | videobuf-dma-contig.c | 38 struct videobuf_dma_contig_memory *mem, in __videobuf_dc_alloc() 56 struct videobuf_dma_contig_memory *mem) in __videobuf_dc_free() 84 struct videobuf_dma_contig_memory *mem; in videobuf_vm_close() local 141 static void videobuf_dma_contig_user_put(struct videobuf_dma_contig_memory *mem) in videobuf_dma_contig_user_put() 157 static int videobuf_dma_contig_user_get(struct videobuf_dma_contig_memory *mem, in videobuf_dma_contig_user_get() 211 struct videobuf_dma_contig_memory *mem; in __videobuf_alloc() local 226 struct videobuf_dma_contig_memory *mem = buf->priv; in __videobuf_to_vaddr() local 238 struct videobuf_dma_contig_memory *mem = vb->priv; in __videobuf_iolock() local 278 struct videobuf_dma_contig_memory *mem; in __videobuf_mmap_mapper() local 364 struct videobuf_dma_contig_memory *mem = buf->priv; in videobuf_to_dma_contig() local [all …]
|
A D | videobuf-vmalloc.c | 72 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
|
A D | videobuf-dma-sg.c | 136 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/drivers/gpu/drm/i915/gt/ |
A D | intel_region_lmem.c | 15 static int init_fake_lmem_bar(struct intel_memory_region *mem) in init_fake_lmem_bar() 55 static void release_fake_lmem_bar(struct intel_memory_region *mem) in release_fake_lmem_bar() 70 region_lmem_release(struct intel_memory_region *mem) in region_lmem_release() 78 region_lmem_init(struct intel_memory_region *mem) in region_lmem_init() 119 struct intel_memory_region *mem; in intel_gt_setup_fake_lmem() local 174 struct intel_memory_region *mem) in reserve_lowmem_region() 195 struct intel_memory_region *mem; in setup_lmem() local
|
/linux/kernel/dma/ |
A D | coherent.c | 31 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 134 struct dma_coherent_mem *mem, in __dma_alloc_from_coherent() 182 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_alloc_from_dev_coherent() local 221 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_release_from_dev_coherent() local 226 static int __dma_mmap_from_coherent(struct dma_coherent_mem *mem, in __dma_mmap_from_coherent() 266 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_mmap_from_dev_coherent() local 305 struct dma_coherent_mem *mem; in dma_init_global_coherent() local [all …]
|
A D | swiotlb.c | 137 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_print_info() local 166 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_update_mem_attributes() local 204 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_init_with_tbl() local 306 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_late_init_with_tbl() local 331 struct io_tlb_mem *mem = &io_tlb_default_mem; in swiotlb_exit() local 369 struct io_tlb_mem *mem = dev->dma_io_tlb_mem; in swiotlb_bounce() local 464 struct io_tlb_mem *mem = dev->dma_io_tlb_mem; in swiotlb_find_slots() local 548 struct io_tlb_mem *mem = dev->dma_io_tlb_mem; in swiotlb_tbl_map_single() local 592 struct io_tlb_mem *mem = dev->dma_io_tlb_mem; in swiotlb_release_slots() local 745 struct io_tlb_mem *mem = rmem->priv; in rmem_swiotlb_debugfs_init() local [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | intel_region_ttm.c | 54 int intel_region_to_ttm_type(const struct intel_memory_region *mem) in intel_region_to_ttm_type() 82 int intel_region_ttm_init(struct intel_memory_region *mem) in intel_region_ttm_init() 107 void intel_region_ttm_fini(struct intel_memory_region *mem) in intel_region_ttm_fini() 129 struct sg_table *intel_region_ttm_resource_to_st(struct intel_memory_region *mem, in intel_region_ttm_resource_to_st() 160 intel_region_ttm_resource_alloc(struct intel_memory_region *mem, in intel_region_ttm_resource_alloc() 186 void intel_region_ttm_resource_free(struct intel_memory_region *mem, in intel_region_ttm_resource_free()
|
A D | intel_memory_region.c | 70 int intel_memory_region_reserve(struct intel_memory_region *mem, in intel_memory_region_reserve() 103 struct intel_memory_region *mem; in intel_memory_region_create() local 137 void intel_memory_region_set_name(struct intel_memory_region *mem, in intel_memory_region_set_name() 149 struct intel_memory_region *mem = in __intel_memory_region_destroy() local 160 intel_memory_region_get(struct intel_memory_region *mem) in intel_memory_region_get() 166 void intel_memory_region_put(struct intel_memory_region *mem) in intel_memory_region_put() 178 struct intel_memory_region *mem = ERR_PTR(-ENODEV); in intel_memory_regions_hw_probe() local
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_amdkfd_gpuvm.c | 70 struct kgd_mem *mem) in kfd_mem_is_attached() 88 uint64_t mem; in amdgpu_amdkfd_gpuvm_init_mem_limits() local 468 kfd_mem_dmamap_userptr(struct kgd_mem *mem, in kfd_mem_dmamap_userptr() 532 kfd_mem_dmamap_attachment(struct kgd_mem *mem, in kfd_mem_dmamap_attachment() 549 kfd_mem_dmaunmap_userptr(struct kgd_mem *mem, in kfd_mem_dmaunmap_userptr() 1390 void *drm_priv, struct kgd_mem **mem, in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1620 struct kgd_dev *kgd, struct kgd_mem *mem, in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() 1894 struct kfd_vm_fault_info *mem) in amdgpu_amdkfd_gpuvm_get_vm_fault_info() 2014 struct kgd_mem *mem, *tmp_mem; in update_invalid_user_pages() local 2107 struct kgd_mem *mem, *tmp_mem; in validate_invalid_user_pages() local [all …]
|
/linux/drivers/char/hw_random/ |
A D | intel-rng.c | 155 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
|
A D | geode-rng.c | 57 void __iomem *mem = (void __iomem *)rng->priv; in geode_rng_data_read() local 66 void __iomem *mem = (void __iomem *)rng->priv; in geode_rng_data_present() local 91 void __iomem *mem; in geode_rng_init() local 129 void __iomem *mem = (void __iomem *)geode_rng.priv; in geode_rng_exit() local
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_mem.c | 36 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 177 struct nouveau_mem *mem; in nouveau_mem_new() local
|
/linux/drivers/base/ |
A D | memory.c | 107 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 297 struct memory_block *mem = to_memory_block(dev); in memory_subsys_online() local 318 struct memory_block *mem = to_memory_block(dev); in memory_subsys_offline() local 330 struct memory_block *mem = to_memory_block(dev); in state_store() local 578 struct memory_block *mem; in find_memory_block_by_id() local 648 struct memory_block *mem; in init_memory_block() local 722 struct memory_block *mem; in create_memory_block_devices() local 760 struct memory_block *mem; in remove_memory_block_devices() local [all …]
|
/linux/arch/alpha/include/uapi/asm/ |
A D | compiler.h | 94 #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/drivers/pci/endpoint/ |
A D | pci-epc-mem.c | 23 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/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
A D | mem.c | 35 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/drivers/infiniband/sw/siw/ |
A D | siw_mem.c | 50 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/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_stolen.c | 386 static int i915_gem_init_stolen(struct intel_memory_region *mem) in i915_gem_init_stolen() 633 static int __i915_gem_object_create_stolen(struct intel_memory_region *mem, in __i915_gem_object_create_stolen() 669 static int _i915_gem_object_stolen_init(struct intel_memory_region *mem, in _i915_gem_object_stolen_init() 714 static int init_stolen_smem(struct intel_memory_region *mem) in init_stolen_smem() 723 static void release_stolen_smem(struct intel_memory_region *mem) in release_stolen_smem() 734 static int init_stolen_lmem(struct intel_memory_region *mem) in init_stolen_lmem() 762 static void release_stolen_lmem(struct intel_memory_region *mem) in release_stolen_lmem() 780 struct intel_memory_region *mem; in i915_gem_stolen_lmem_setup() local 819 struct intel_memory_region *mem; in i915_gem_stolen_smem_setup() local 840 struct intel_memory_region *mem = i915->mm.stolen_region; in i915_gem_object_create_stolen_for_preallocated() local
|
A D | i915_gem_region.c | 12 struct intel_memory_region *mem) in i915_gem_object_init_memory_region() 23 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()
|
/linux/drivers/net/ipa/ |
A D | ipa_mem.c | 34 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 78 const struct ipa_mem *mem; in ipa_mem_setup() local 206 static bool ipa_mem_valid_one(struct ipa *ipa, const struct ipa_mem *mem) in ipa_mem_valid_one() 256 const struct ipa_mem *mem = &mem_data->local[i]; in ipa_mem_valid() local 288 const struct ipa_mem *mem = &ipa->mem[i]; in ipa_mem_size_valid() local 311 const struct ipa_mem *mem; in ipa_mem_config() local
|
/linux/drivers/gpu/drm/nouveau/nvif/ |
A D | mem.c | 29 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/tools/perf/ |
A D | builtin-mem.c | 44 struct perf_mem *mem = *(struct perf_mem **)opt->value; in parse_record_events() local 65 static int __cmd_record(int argc, const char **argv, struct perf_mem *mem) in __cmd_record() 188 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples() local 260 static int report_raw_events(struct perf_mem *mem) in report_raw_events() 308 static char *get_sort_order(struct perf_mem *mem) in get_sort_order() 335 static int report_events(int argc, const char **argv, struct perf_mem *mem) in report_events() 437 struct perf_mem mem = { in cmd_mem() local
|