Home
last modified time | relevance | path

Searched refs:mem (Results 1 - 25 of 86) sorted by relevance

1234

/device/soc/rockchip/common/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
29 DEBUG_ASSERT_POINTER(mem); in ump_dd_secure_id_get()
31 DBG_MSG(5, ("Returning secure ID. ID: %u\n", mem->secure_id)); in ump_dd_secure_id_get()
33 return mem->secure_id; in ump_dd_secure_id_get()
40 ump_dd_mem *mem; in ump_dd_handle_create_from_secure_id() local
43 mem = ump_random_mapping_get(device.secure_id_map, (int)secure_id); in ump_dd_handle_create_from_secure_id()
44 if (NULL == mem) { in ump_dd_handle_create_from_secure_id()
51 return (ump_dd_handle)mem; in ump_dd_handle_create_from_secure_id()
58 ump_dd_mem *mem = (ump_dd_mem *) memh; in ump_dd_phys_block_count_get() local
60 DEBUG_ASSERT_POINTER(mem); in ump_dd_phys_block_count_get()
69 ump_dd_mem *mem = (ump_dd_mem *)memh; ump_dd_phys_blocks_get() local
94 ump_dd_mem *mem = (ump_dd_mem *)memh; ump_dd_phys_block_get() local
119 ump_dd_mem *mem = (ump_dd_mem *)memh; ump_dd_size_get() local
132 ump_dd_mem *mem = (ump_dd_mem *)memh; ump_dd_reference_add() local
146 ump_dd_mem *mem = (ump_dd_mem *)memh; ump_dd_reference_release() local
230 ump_dd_mem *mem; _ump_ukk_size_get() local
257 ump_dd_mem *mem = NULL; _ump_ukk_msync() local
353 ump_dd_mem *mem = NULL; _ump_ukk_switch_hw_usage() local
422 ump_dd_mem *mem = NULL; _ump_ukk_lock() local
440 ump_dd_mem *mem = NULL; _ump_ukk_unlock() local
[all...]
H A Dump_kernel_ref_drv.c28 ump_dd_mem *mem; in ump_dd_handle_create_from_phys_blocks() local
53 mem = _mali_osk_malloc(sizeof(*mem)); in ump_dd_handle_create_from_phys_blocks()
54 if (NULL == mem) { in ump_dd_handle_create_from_phys_blocks()
60 mem->block_array = _mali_osk_malloc(sizeof(ump_dd_physical_block) * num_blocks); in ump_dd_handle_create_from_phys_blocks()
61 if (NULL == mem->block_array) { in ump_dd_handle_create_from_phys_blocks()
62 _mali_osk_free(mem); in ump_dd_handle_create_from_phys_blocks()
63 DBG_MSG(1, ("Could not allocate a mem handle for function ump_dd_handle_create_from_phys_blocks().\n")); in ump_dd_handle_create_from_phys_blocks()
67 _mali_osk_memcpy(mem->block_array, blocks, sizeof(ump_dd_physical_block) * num_blocks); in ump_dd_handle_create_from_phys_blocks()
70 _mali_osk_atomic_init(&mem in ump_dd_handle_create_from_phys_blocks()
[all...]
H A Dump_kernel_common.c182 DBG_MSG(2, ("Releasing UMP memory %u as part of file close\n", item->mem->secure_id)); in _ump_ukk_close()
183 ump_dd_reference_release(item->mem); in _ump_ukk_close()
205 ump_dd_mem *mem; /* The real UMP memory. It is equal to the handle, but with exposed struct */ in _ump_ukk_map_mem() local
228 mem = (ump_dd_mem *)handle; in _ump_ukk_map_mem()
229 DEBUG_ASSERT(mem); in _ump_ukk_map_mem()
230 if (mem->size_bytes != args->size) { in _ump_ukk_map_mem()
233 DBG_MSG(1, ("Trying to map too much or little. ID: %u, virtual size=%lu, UMP size: %lu\n", args->secure_id, args->size, mem->size_bytes)); in _ump_ukk_map_mem()
254 if (mem->is_cached) { in _ump_ukk_map_mem()
269 ump_dd_reference_release(mem); in _ump_ukk_map_mem()
274 mem in _ump_ukk_map_mem()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/osal/
H A Ddrv_osal_sys_linux.c72 static hi_s32 cipher_dma_alloc_coherent(crypto_mem *mem, hi_u32 type, const hi_char *name, hi_u32 size) in cipher_dma_alloc_coherent() argument
81 if (mem == HI_NULL) { in cipher_dma_alloc_coherent()
82 hi_log_error("mem is null.\n"); in cipher_dma_alloc_coherent()
103 mem->dma_size = size; in cipher_dma_alloc_coherent()
104 mem->dma_virt = dma_alloc_coherent(dev, mem->dma_size, (dma_addr_t *)(&addr_u64(mem->dma_addr)), GFP_ATOMIC); in cipher_dma_alloc_coherent()
105 if (mem->dma_virt == HI_NULL) { in cipher_dma_alloc_coherent()
109 addr_u64(mem->mmz_addr) = addr_u64(mem in cipher_dma_alloc_coherent()
126 cipher_dma_free_coherent(crypto_mem *mem) cipher_dma_free_coherent() argument
178 hash_mem_alloc_remap(crypto_mem *mem, hi_u32 type, const char *name, hi_u32 size) hash_mem_alloc_remap() argument
228 hash_mem_release_unmap(crypto_mem *mem) hash_mem_release_unmap() argument
252 crypto_mem_alloc_remap(crypto_mem *mem, hi_u32 type, const hi_char *name, hi_u32 size) crypto_mem_alloc_remap() argument
258 crypto_mem_release_unmap(crypto_mem *mem) crypto_mem_release_unmap() argument
264 crypto_mem_map(crypto_mem *mem) crypto_mem_map() argument
293 crypto_mem_unmap(crypto_mem *mem) crypto_mem_unmap() argument
328 crypto_mem_create(crypto_mem *mem, hi_u32 type, const char *name, hi_u32 size) crypto_mem_create() argument
335 crypto_mem_destroy(crypto_mem *mem) crypto_mem_destroy() argument
342 hash_mem_create(crypto_mem *mem, hi_u32 type, const char *name, hi_u32 size) hash_mem_create() argument
349 hash_mem_destroy(crypto_mem *mem) hash_mem_destroy() argument
356 crypto_mem_open(crypto_mem *mem, compat_addr dma_addr, hi_u32 dma_size) crypto_mem_open() argument
366 crypto_mem_close(crypto_mem *mem) crypto_mem_close() argument
373 crypto_mem_attach(crypto_mem *mem, hi_void *buffer) crypto_mem_attach() argument
382 crypto_mem_phys(crypto_mem *mem, compat_addr *dma_addr) crypto_mem_phys() argument
391 crypto_mem_virt(const crypto_mem *mem) crypto_mem_virt() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_dma_buf.c34 * Map DMA buf attachment \a mem into \a session at virtual address \a virt.
39 struct mali_dma_buf_attachment *mem; in mali_dma_buf_map() local
52 mem = mem_backend->dma_buf.attachment; in mali_dma_buf_map()
53 MALI_DEBUG_ASSERT_POINTER(mem); in mali_dma_buf_map()
57 MALI_DEBUG_ASSERT(mem->session == session); in mali_dma_buf_map()
63 mem->map_ref++; in mali_dma_buf_map()
66 ("Mali DMA-buf: map attachment %p, new map_ref = %d\n", mem, mem->map_ref)); in mali_dma_buf_map()
68 if (mem->map_ref == 1) { in mali_dma_buf_map()
70 MALI_DEBUG_ASSERT(!mem in mali_dma_buf_map()
125 mali_dma_buf_unmap(mali_mem_allocation *alloc, struct mali_dma_buf_attachment *mem) mali_dma_buf_unmap() argument
154 struct mali_dma_buf_attachment *mem; mali_dma_buf_map_job() local
205 struct mali_dma_buf_attachment *mem; mali_dma_buf_unmap_job() local
345 struct mali_dma_buf_attachment *mem; mali_mem_unbind_dma_buf() local
[all...]
H A Dmali_memory_secure.c34 MALI_DEBUG_PRINT_ERROR(("The secure mem size not match to the dma buf size!\n")); in mali_mem_secure_attach_dma_buf()
90 ("The secure mem physical address: 0x%x gpu virtual address: 0x%x! \n", phys, virt)); in mali_mem_secure_mali_map()
142 ("The secure mem physical address: 0x%x , cpu virtual address: 0x%x! \n", phys, addr)); in mali_mem_secure_cpu_map()
150 struct mali_mem_secure *mem; in mali_mem_secure_release() local
155 mem = &mem_bkend->secure_mem; in mali_mem_secure_release()
156 MALI_DEBUG_ASSERT_POINTER(mem->attachment); in mali_mem_secure_release()
157 MALI_DEBUG_ASSERT_POINTER(mem->buf); in mali_mem_secure_release()
158 MALI_DEBUG_ASSERT_POINTER(mem->sgt); in mali_mem_secure_release()
162 dma_buf_unmap_attachment(mem->attachment, mem in mali_mem_secure_release()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_dma_buf.c33 * Map DMA buf attachment \a mem into \a session at virtual address \a virt.
38 struct mali_dma_buf_attachment *mem; in mali_dma_buf_map() local
51 mem = mem_backend->dma_buf.attachment; in mali_dma_buf_map()
52 MALI_DEBUG_ASSERT_POINTER(mem); in mali_dma_buf_map()
56 MALI_DEBUG_ASSERT(mem->session == session); in mali_dma_buf_map()
62 mem->map_ref++; in mali_dma_buf_map()
64 MALI_DEBUG_PRINT(5, ("Mali DMA-buf: map attachment %p, new map_ref = %d\n", mem, mem->map_ref)); in mali_dma_buf_map()
66 if (1 == mem->map_ref) { in mali_dma_buf_map()
69 MALI_DEBUG_ASSERT(!mem in mali_dma_buf_map()
123 mali_dma_buf_unmap(mali_mem_allocation *alloc, struct mali_dma_buf_attachment *mem) mali_dma_buf_unmap() argument
152 struct mali_dma_buf_attachment *mem; mali_dma_buf_map_job() local
203 struct mali_dma_buf_attachment *mem; mali_dma_buf_unmap_job() local
346 struct mali_dma_buf_attachment *mem; mali_mem_unbind_dma_buf() local
[all...]
H A Dmali_memory_secure.c33 MALI_DEBUG_PRINT_ERROR(("The secure mem size not match to the dma buf size!\n")); in mali_mem_secure_attach_dma_buf()
86 MALI_DEBUG_PRINT(3, ("The secure mem physical address: 0x%x gpu virtual address: 0x%x! \n", phys, virt)); in mali_mem_secure_mali_map()
140 MALI_DEBUG_PRINT(3, ("The secure mem physical address: 0x%x , cpu virtual address: 0x%x! \n", phys, addr)); in mali_mem_secure_cpu_map()
148 struct mali_mem_secure *mem; in mali_mem_secure_release() local
153 mem = &mem_bkend->secure_mem; in mali_mem_secure_release()
154 MALI_DEBUG_ASSERT_POINTER(mem->attachment); in mali_mem_secure_release()
155 MALI_DEBUG_ASSERT_POINTER(mem->buf); in mali_mem_secure_release()
156 MALI_DEBUG_ASSERT_POINTER(mem->sgt); in mali_mem_secure_release()
160 dma_buf_unmap_attachment(mem->attachment, mem in mali_mem_secure_release()
[all...]
/device/soc/rockchip/common/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() argument
62 rb_link_node(&mem->node, parent, new); in insert()
63 rb_insert_color(&mem->node, root); in insert()
95 int ump_random_mapping_insert(ump_random_mapping *map, ump_dd_mem *mem) in ump_random_mapping_insert() argument
111 if (insert(&map->root, id, mem)) { in ump_random_mapping_insert()
112 mem->secure_id = id; in ump_random_mapping_insert()
123 ump_dd_mem *mem = NULL; in ump_random_mapping_get() local
131 mem = search(&map->root, id); in ump_random_mapping_get()
133 if (unlikely(NULL == mem)) { in ump_random_mapping_get()
149 ump_dd_reference_add(mem); in ump_random_mapping_get()
165 ump_dd_mem *mem = NULL; ump_random_mapping_remove_internal() local
176 ump_random_mapping_put(ump_dd_mem *mem) ump_random_mapping_put() argument
215 ump_dd_mem *mem; ump_random_mapping_remove() local
[all...]
H A Dump_kernel_memory_backend_dedicated.c50 static int block_allocator_allocate(void *ctx, ump_dd_mem *mem);
138 static int block_allocator_allocate(void *ctx, ump_dd_mem *mem) in block_allocator_allocate() argument
146 BUG_ON(!mem); in block_allocator_allocate()
149 left = mem->size_bytes; in block_allocator_allocate()
154 mem->nr_blocks = ((left + UMP_BLOCK_SIZE - 1) & ~(UMP_BLOCK_SIZE - 1)) / UMP_BLOCK_SIZE; in block_allocator_allocate()
155 mem->block_array = (ump_dd_physical_block *)vmalloc(sizeof(ump_dd_physical_block) * mem->nr_blocks); in block_allocator_allocate()
156 if (NULL == mem->block_array) { in block_allocator_allocate()
166 mem->size_bytes = 0; in block_allocator_allocate()
177 mem in block_allocator_allocate()
[all...]
H A Dump_osk_low_level_mem.c220 void _ump_osk_msync(ump_dd_mem *mem, void *virt, u32 offset, u32 size, ump_uk_msync_op op, ump_session_data *session_data) in _ump_osk_msync() argument
226 if ((mem) && (virt != NULL) && (access_ok(virt, size))) { in _ump_osk_msync()
228 DBG_MSG(3, ("UMP[%02u] Flushing CPU L1 Cache. CPU address: %x, size: %x\n", mem->secure_id, virt, size)); in _ump_osk_msync()
239 DBG_MSG(4, ("UMP[%02u] Defering the L1 flush. Nr pending:%d\n", mem->secure_id, session_data->has_pending_level1_cache_flush)); in _ump_osk_msync()
251 if (NULL == mem) return; in _ump_osk_msync()
253 if (mem->size_bytes == size) { in _ump_osk_msync()
254 DBG_MSG(3, ("UMP[%02u] Flushing CPU L2 Cache\n", mem->secure_id)); in _ump_osk_msync()
257 mem->secure_id, mem->nr_blocks, mem in _ump_osk_msync()
[all...]
H A Dump_ukk_ref_wrappers.c93 if (session_mem->mem->import_attach) { in get_ump_handle_from_dmabuf()
94 attach = session_mem->mem->import_attach; in get_ump_handle_from_dmabuf()
97 ump_handle = (ump_dd_handle)session_mem->mem; in get_ump_handle_from_dmabuf()
191 session->mem = (ump_dd_mem *)ump_handle; in ump_dmabuf_import_wrapper()
192 session->mem->import_attach = attach; in ump_dmabuf_import_wrapper()
193 session->mem->sgt = sgt; in ump_dmabuf_import_wrapper()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dhndmem.c41 #define IS_MEMTYPE_VALID(mem) ((mem >= MEM_SOCRAM) && (mem < MEM_MAX))
46 hndmem_num_banks(si_t *sih, int mem) in hndmem_num_banks() argument
53 if (!IS_MEMTYPE_VALID(mem)) { in hndmem_num_banks()
70 switch (mem) { in hndmem_num_banks()
102 hndmem_bank_size(si_t *sih, hndmem_type_t mem, int bank_num) in hndmem_bank_size() argument
109 if (!IS_MEMTYPE_VALID(mem)) { in hndmem_bank_size()
124 reg_data = ((mem & in hndmem_bank_size()
145 hndmem_mem_base(si_t *sih, hndmem_type_t mem) in hndmem_mem_base() argument
184 int mem, bank, bank_cnt, bank_sz; hndmem_dump_meminfo_all() local
200 hndmem_sleeppda_bank_config(si_t *sih, hndmem_type_t mem, int bank_num, hndmem_config_t config, uint32 pda) hndmem_sleeppda_bank_config() argument
262 hndmem_activepda_bank_config(si_t *sih, hndmem_type_t mem, int bank_num, hndmem_config_t config, uint32 pda) hndmem_activepda_bank_config() argument
322 hndmem_sleeppda_config(si_t *sih, hndmem_type_t mem, hndmem_config_t config) hndmem_sleeppda_config() argument
355 hndmem_activepda_config(si_t *sih, hndmem_type_t mem, hndmem_config_t config) hndmem_activepda_config() argument
384 hndmem_activepda_mem_config(si_t *sih, hndmem_type_t mem, uint32 mem_start, uint32 size, hndmem_config_t config) hndmem_activepda_mem_config() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/
H A Dext_aead.c177 static hi_s32 ext_ccm_gcm_mem_open(ext_ccm_gcm_mem *mem, symc_multi_pack *pack, compat_addr aad, hi_u32 aad_len) in ext_ccm_gcm_mem_open() argument
181 ret = crypto_mem_open(&mem->in, pack->in[0], pack->len[0]); in ext_ccm_gcm_mem_open()
187 ret = crypto_mem_open(&mem->out, pack->out[0], pack->len[0]); in ext_ccm_gcm_mem_open()
190 (hi_void)crypto_mem_close(&mem->in); in ext_ccm_gcm_mem_open()
194 ret = crypto_mem_open(&mem->aad, aad, aad_len); in ext_ccm_gcm_mem_open()
197 (hi_void)crypto_mem_close(&mem->out); in ext_ccm_gcm_mem_open()
198 (hi_void)crypto_mem_close(&mem->in); in ext_ccm_gcm_mem_open()
205 static hi_s32 ext_ccm_gcm_mem_close(ext_ccm_gcm_mem *mem) in ext_ccm_gcm_mem_close() argument
209 ret = crypto_mem_close(&mem->aad); in ext_ccm_gcm_mem_close()
212 (hi_void)crypto_mem_close(&mem in ext_ccm_gcm_mem_close()
238 ext_ccm_gcm_mem mem; ext_mbedtls_aead_ccm_crypto() local
294 ext_ccm_gcm_mem mem; ext_mbedtls_aead_gcm_crypto() local
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_mem.c238 oal_mem_stru *mem = HI_NULL; in oal_mem_create_subpool() local
252 mem = (oal_mem_stru *)oal_mem_ctrl_blk_alloc(sizeof(oal_mem_stru) * mem_pool->us_mem_total_cnt); in oal_mem_create_subpool()
253 if (mem == HI_NULL) { in oal_mem_create_subpool()
261 memset_s((hi_void *)mem, sizeof(oal_mem_stru) * mem_pool->us_mem_total_cnt, 0, in oal_mem_create_subpool()
265 mem_pool->mem_start_addr = mem; in oal_mem_create_subpool()
275 mem->pool_id = pool_id; in oal_mem_create_subpool()
276 mem->subpool_id = subpool_id; in oal_mem_create_subpool()
277 mem->us_len = mem_subpool->us_len; in oal_mem_create_subpool()
278 mem->mem_state_flag = OAL_MEM_STATE_FREE; in oal_mem_create_subpool()
279 mem in oal_mem_create_subpool()
341 oal_mem_stru *mem = HI_NULL; oal_mem_alloc() local
364 oal_mem_stru *mem = HI_NULL; oal_mem_free() local
439 oal_mem_stru *mem = HI_NULL; oal_mem_alloc_enhanced() local
472 oal_mem_free_enhanced(oal_mem_stru *mem) oal_mem_free_enhanced() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dhndmem.h51 extern int hndmem_num_banks(si_t *sih, int mem);
54 extern int hndmem_bank_size(si_t *sih, hndmem_type_t mem, int bank_num);
57 extern uint32 hndmem_mem_base(si_t *sih, hndmem_type_t mem);
65 extern int hndmem_sleeppda_bank_config(si_t *sih, hndmem_type_t mem,
68 extern int hndmem_activepda_bank_config(si_t *sih, hndmem_type_t mem,
72 extern int hndmem_sleeppda_config(si_t *sih, hndmem_type_t mem,
75 extern int hndmem_activepda_config(si_t *sih, hndmem_type_t mem,
79 extern int hndmem_activepda_mem_config(si_t *sih, hndmem_type_t mem,
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/init/hi3516cv500/linux/
H A Dhdmi_init.c25 struct resource *mem = NULL; in hi35xx_hdmi_probe() local
29 mem = osal_platform_get_resource_byname(pdev, IORESOURCE_MEM, hdmi_dev_name); in hi35xx_hdmi_probe()
30 hdmi_reg = devm_ioremap_resource(&pdev->dev, mem); in hi35xx_hdmi_probe()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/osal/include/
H A Ddrv_osal_lib.h153 * \param[in] mem The struct of crypto_mem.
154 * \param[in] size The size of mem.
155 * \param[in] name The name of mem.
158 hi_s32 crypto_mem_create(crypto_mem *mem, hi_u32 type, const char *name, hi_u32 size);
162 * \param[in] mem The struct of crypto_mem.
165 hi_s32 crypto_mem_destroy(crypto_mem *mem);
169 * \param[in] mem The struct of crypto_mem.
170 * \param[in] size The size of mem.
171 * \param[in] name The name of mem.
174 hi_s32 hash_mem_create(crypto_mem *mem, hi_u3
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/hi3516cv500/init/linux/
H A Dmipi_tx_init.c34 struct resource *mem; in hi35xx_mipi_tx_probe() local
36 mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mipi_tx"); in hi35xx_mipi_tx_probe()
37 g_mipi_tx_regs_va = devm_ioremap_resource(&pdev->dev, mem); in hi35xx_mipi_tx_probe()
39 dev_err(&pdev->dev, "mipi_tx remap mem error.\n"); in hi35xx_mipi_tx_probe()
H A Dmipi_rx_init.c35 struct resource *mem; in hi35xx_mipi_rx_probe() local
37 mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mipi_rx"); in hi35xx_mipi_rx_probe()
38 g_mipi_rx_regs_va = devm_ioremap_resource(&pdev->dev, mem); in hi35xx_mipi_rx_probe()
40 dev_err(&pdev->dev, "mipi_rx remap mem error.\n"); in hi35xx_mipi_rx_probe()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/init/linux/
H A Dwtdg_init.c43 struct resource *mem = NULL; in hi_wdg_probe() local
45 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in hi_wdg_probe()
46 g_wtdg_reg_base = devm_ioremap_resource(&pdev->dev, mem); in hi_wdg_probe()
H A Dadc_init.c35 struct resource *mem = NULL; in hi_adc_probe() local
42 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in hi_adc_probe()
43 g_lsadc_reg_base = (volatile void *)devm_ioremap_resource(&pdev->dev, mem); in hi_adc_probe()
H A Dir_init.c33 struct resource *mem = NULL; in hi_ir_probe() local
40 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in hi_ir_probe()
41 g_ir_reg_base = (volatile void *)devm_ioremap_resource(&pdev->dev, mem); in hi_ir_probe()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/init/hi3516cv500/linux/
H A Dtde_init.c38 struct resource *mem = HI_NULL; in hi35xx_tde_probe() local
41 mem = osal_platform_get_resource_byname(pdev, IORESOURCE_MEM, "tde"); in hi35xx_tde_probe()
42 base_vir_addr = devm_ioremap_resource(&pdev->dev, mem); in hi35xx_tde_probe()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dstats.h42 #include "lwip/mem.h"
312 struct stats_mem mem; member
442 #define MEM_STATS_AVAIL(x, y) lwip_stats.mem.x = y
443 #define MEM_STATS_INC(x) STATS_INC(mem.x)
444 #define MEM_STATS_INC_USED(x, y) STATS_INC_USED(mem, y, mem_size_t)
445 #define MEM_STATS_DEC_USED(x, y) lwip_stats.mem.x = (mem_size_t)((lwip_stats.mem.x) - (y))
446 #define MEM_STATS_DISPLAY() stats_display_mem(&lwip_stats.mem, "HEAP")
546 void stats_display_mem(struct stats_mem *mem, const char *name);
547 void stats_display_memp(struct stats_mem *mem, in
[all...]

Completed in 10 milliseconds

1234