Home
last modified time | relevance | path

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

12345678910>>...38

/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_api.c27 ump_dd_mem *mem = (ump_dd_mem *)memh; in ump_dd_secure_id_get() local
40 ump_dd_mem *mem; in ump_dd_handle_create_from_secure_id() local
58 ump_dd_mem *mem = (ump_dd_mem *) memh; in ump_dd_phys_block_count_get() local
69 ump_dd_mem *mem = (ump_dd_mem *)memh; in ump_dd_phys_blocks_get() local
94 ump_dd_mem *mem = (ump_dd_mem *)memh; in ump_dd_phys_block_get() local
119 ump_dd_mem *mem = (ump_dd_mem *)memh; in ump_dd_size_get() local
132 ump_dd_mem *mem = (ump_dd_mem *)memh; in ump_dd_reference_add() local
146 ump_dd_mem *mem = (ump_dd_mem *)memh; in ump_dd_reference_release() local
230 ump_dd_mem *mem; in _ump_ukk_size_get() local
257 ump_dd_mem *mem = NULL; in _ump_ukk_msync() local
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A 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 …]
H A 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
/OK3568_Linux_fs/kernel/arch/powerpc/mm/book3s64/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/runtime/isp_param/src/
H A 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
/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspi-mem.c102 static int spi_check_buswidth_req(struct spi_mem *mem, u8 buswidth, bool tx) in spi_check_buswidth_req()
140 static bool spi_mem_check_buswidth(struct spi_mem *mem, in spi_mem_check_buswidth()
162 bool spi_mem_dtr_supports_op(struct spi_mem *mem, in spi_mem_dtr_supports_op()
172 bool spi_mem_default_supports_op(struct spi_mem *mem, in spi_mem_default_supports_op()
212 static bool spi_mem_internal_supports_op(struct spi_mem *mem, in spi_mem_internal_supports_op()
238 bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_supports_op()
247 static int spi_mem_access_start(struct spi_mem *mem) in spi_mem_access_start()
275 static void spi_mem_access_end(struct spi_mem *mem) in spi_mem_access_end()
298 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op()
419 const char *spi_mem_get_name(struct spi_mem *mem) in spi_mem_get_name()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dvideobuf-dma-contig.c38 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 …]
H A 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
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dhndmem.c34 #define IS_MEMTYPE_VALID(mem) ((mem >= MEM_SOCRAM) && (mem < MEM_MAX)) argument
39 hndmem_num_banks(si_t *sih, int mem) in hndmem_num_banks()
95 hndmem_bank_size(si_t *sih, hndmem_type_t mem, int bank_num) in hndmem_bank_size()
138 hndmem_mem_base(si_t *sih, hndmem_type_t mem) in hndmem_mem_base()
177 int mem, bank, bank_cnt, bank_sz; in hndmem_dump_meminfo_all() local
193 hndmem_sleeppda_bank_config(si_t *sih, hndmem_type_t mem, int bank_num, in hndmem_sleeppda_bank_config()
255 hndmem_activepda_bank_config(si_t *sih, hndmem_type_t mem, in hndmem_activepda_bank_config()
315 hndmem_sleeppda_config(si_t *sih, hndmem_type_t mem, hndmem_config_t config) in hndmem_sleeppda_config()
348 hndmem_activepda_config(si_t *sih, hndmem_type_t mem, hndmem_config_t config) in hndmem_activepda_config()
377 hndmem_activepda_mem_config(si_t *sih, hndmem_type_t mem, uint32 mem_start, in hndmem_activepda_mem_config()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dhndmem.c34 #define IS_MEMTYPE_VALID(mem) ((mem >= MEM_SOCRAM) && (mem < MEM_MAX)) argument
39 hndmem_num_banks(si_t *sih, int mem) in hndmem_num_banks()
95 hndmem_bank_size(si_t *sih, hndmem_type_t mem, int bank_num) in hndmem_bank_size()
138 hndmem_mem_base(si_t *sih, hndmem_type_t mem) in hndmem_mem_base()
177 int mem, bank, bank_cnt, bank_sz; in hndmem_dump_meminfo_all() local
193 hndmem_sleeppda_bank_config(si_t *sih, hndmem_type_t mem, int bank_num, in hndmem_sleeppda_bank_config()
255 hndmem_activepda_bank_config(si_t *sih, hndmem_type_t mem, in hndmem_activepda_bank_config()
315 hndmem_sleeppda_config(si_t *sih, hndmem_type_t mem, hndmem_config_t config) in hndmem_sleeppda_config()
348 hndmem_activepda_config(si_t *sih, hndmem_type_t mem, hndmem_config_t config) in hndmem_activepda_config()
377 hndmem_activepda_mem_config(si_t *sih, hndmem_type_t mem, uint32 mem_start, in hndmem_activepda_mem_config()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dhndmem.c42 #define IS_MEMTYPE_VALID(mem) ((mem >= MEM_SOCRAM) && (mem < MEM_MAX)) argument
47 hndmem_num_banks(si_t *sih, int mem) in hndmem_num_banks()
103 hndmem_bank_size(si_t *sih, hndmem_type_t mem, int bank_num) in hndmem_bank_size()
146 hndmem_mem_base(si_t *sih, hndmem_type_t mem) in hndmem_mem_base()
185 int mem, bank, bank_cnt, bank_sz; in hndmem_dump_meminfo_all() local
201 hndmem_sleeppda_bank_config(si_t *sih, hndmem_type_t mem, int bank_num, in hndmem_sleeppda_bank_config()
263 hndmem_activepda_bank_config(si_t *sih, hndmem_type_t mem, in hndmem_activepda_bank_config()
323 hndmem_sleeppda_config(si_t *sih, hndmem_type_t mem, hndmem_config_t config) in hndmem_sleeppda_config()
356 hndmem_activepda_config(si_t *sih, hndmem_type_t mem, hndmem_config_t config) in hndmem_activepda_config()
385 hndmem_activepda_mem_config(si_t *sih, hndmem_type_t mem, uint32 mem_start, in hndmem_activepda_mem_config()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dhndmem.c42 #define IS_MEMTYPE_VALID(mem) ((mem >= MEM_SOCRAM) && (mem < MEM_MAX)) argument
47 hndmem_num_banks(si_t *sih, int mem) in hndmem_num_banks()
103 hndmem_bank_size(si_t *sih, hndmem_type_t mem, int bank_num) in hndmem_bank_size()
146 hndmem_mem_base(si_t *sih, hndmem_type_t mem) in hndmem_mem_base()
185 int mem, bank, bank_cnt, bank_sz; in hndmem_dump_meminfo_all() local
201 hndmem_sleeppda_bank_config(si_t *sih, hndmem_type_t mem, int bank_num, in hndmem_sleeppda_bank_config()
263 hndmem_activepda_bank_config(si_t *sih, hndmem_type_t mem, in hndmem_activepda_bank_config()
323 hndmem_sleeppda_config(si_t *sih, hndmem_type_t mem, hndmem_config_t config) in hndmem_sleeppda_config()
356 hndmem_activepda_config(si_t *sih, hndmem_type_t mem, hndmem_config_t config) in hndmem_activepda_config()
385 hndmem_activepda_mem_config(si_t *sih, hndmem_type_t mem, uint32 mem_start, in hndmem_activepda_mem_config()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dhndmem.c42 #define IS_MEMTYPE_VALID(mem) ((mem >= MEM_SOCRAM) && (mem < MEM_MAX)) argument
47 hndmem_num_banks(si_t *sih, int mem) in hndmem_num_banks()
103 hndmem_bank_size(si_t *sih, hndmem_type_t mem, int bank_num) in hndmem_bank_size()
146 hndmem_mem_base(si_t *sih, hndmem_type_t mem) in hndmem_mem_base()
185 int mem, bank, bank_cnt, bank_sz; in hndmem_dump_meminfo_all() local
201 hndmem_sleeppda_bank_config(si_t *sih, hndmem_type_t mem, int bank_num, in hndmem_sleeppda_bank_config()
263 hndmem_activepda_bank_config(si_t *sih, hndmem_type_t mem, in hndmem_activepda_bank_config()
323 hndmem_sleeppda_config(si_t *sih, hndmem_type_t mem, hndmem_config_t config) in hndmem_sleeppda_config()
356 hndmem_activepda_config(si_t *sih, hndmem_type_t mem, hndmem_config_t config) in hndmem_activepda_config()
385 hndmem_activepda_mem_config(si_t *sih, hndmem_type_t mem, uint32 mem_start, in hndmem_activepda_mem_config()
/OK3568_Linux_fs/kernel/kernel/dma/
H A 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
150 struct dma_coherent_mem *mem, in __dma_alloc_from_coherent()
198 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_alloc_from_dev_coherent() local
217 static int __dma_release_from_coherent(struct dma_coherent_mem *mem, in __dma_release_from_coherent()
247 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_release_from_dev_coherent() local
261 static int __dma_mmap_from_coherent(struct dma_coherent_mem *mem, in __dma_mmap_from_coherent()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/char/hw_random/
H A 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
H A Dgeode-rng.c57 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 mod_init() local
129 void __iomem *mem = (void __iomem *)geode_rng.priv; in mod_exit() local
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/linux/
H A Dump_kernel_random_mapping.c43 static mali_bool insert(struct rb_root *root, int id, ump_dd_mem *mem) in insert()
95 int ump_random_mapping_insert(ump_random_mapping *map, ump_dd_mem *mem) in ump_random_mapping_insert()
123 ump_dd_mem *mem = NULL; in ump_random_mapping_get() local
165 ump_dd_mem *mem = NULL; in ump_random_mapping_remove_internal() local
176 void ump_random_mapping_put(ump_dd_mem *mem) in ump_random_mapping_put()
215 ump_dd_mem *mem; in ump_random_mapping_remove() local
/OK3568_Linux_fs/kernel/drivers/base/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/
H A 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
/OK3568_Linux_fs/kernel/arch/alpha/include/uapi/asm/
H A 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
/OK3568_Linux_fs/kernel/drivers/pci/endpoint/
H A 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
/OK3568_Linux_fs/external/gstreamer-rockchip/gst/rkximage/
H A Dgstkmsallocator.c87 gst_is_kms_memory (GstMemory * mem) in gst_is_kms_memory()
93 gst_kms_memory_get_fb_id (GstMemory * mem) in gst_kms_memory_get_fb_id()
107 gst_kms_allocator_memory_reset (GstKMSAllocator * allocator, GstKMSMemory * mem) in gst_kms_allocator_memory_reset()
255 gst_kms_allocator_free (GstAllocator * allocator, GstMemory * mem) in gst_kms_allocator_free()
347 gst_kms_memory_map (GstMemory * mem, gsize maxsize, GstMapFlags flags) in gst_kms_memory_map()
393 gst_kms_memory_unmap (GstMemory * mem) in gst_kms_memory_unmap()
530 GstMemory *mem; in gst_kms_allocator_bo_alloc() local
565 GstMemory *mem; in gst_kms_allocator_dmabuf_import() local
629 GstMemory *mem; in gst_kms_allocator_dmabuf_export() local
668 gst_kms_allocator_get_cached (GstMemory * mem) in gst_kms_allocator_get_cached()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A 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
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A 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 …]

12345678910>>...38