Home
last modified time | relevance | path

Searched refs:gen_pool_alloc (Results 1 – 25 of 39) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/
H A Dsram_heap.c199 buffer->vaddr = (void *)gen_pool_alloc(buffer->pool, buffer->len); in sram_dma_heap_allocate()
286 buffer->vaddr = (void *)gen_pool_alloc(buffer->pool, buffer->len); in sram_heap_alloc_dma_buf()
329 vaddr = (void *)gen_pool_alloc(sram_dma_heap->pool, size); in sram_heap_alloc_pages()
/OK3568_Linux_fs/kernel/arch/sh/include/asm/
H A Dsram.h18 return gen_pool_alloc(sram_pool, len); in sram_alloc()
/OK3568_Linux_fs/kernel/drivers/memory/
H A Dti-emif-pm.c76 gen_pool_alloc(emif_data->sram_pool_code, in ti_emif_alloc_sram()
97 gen_pool_alloc(emif_data->sram_pool_data, in ti_emif_alloc_sram()
/OK3568_Linux_fs/kernel/arch/hexagon/kernel/
H A Ddma.c41 ret = (void *) gen_pool_alloc(coherent_pool, size); in arch_dma_alloc()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/fman/
H A Dfman_muram.c136 vaddr = gen_pool_alloc(muram->pool, size); in fman_muram_alloc()
/OK3568_Linux_fs/kernel/arch/arm/mach-socfpga/
H A Dpm.c55 ocram_base = gen_pool_alloc(ocram_pool, socfpga_sdram_self_refresh_sz); in socfpga_setup_ocram_self_refresh()
/OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/mce/
H A Dgenpool.c107 node = (void *)gen_pool_alloc(mce_evt_pool, sizeof(*node)); in mce_gen_pool_add()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/i40iw/
H A Di40iw_pble.c473 root->addr = gen_pool_alloc(pool, (total << 3)); in get_lvl2_pble()
485 leaf->addr = gen_pool_alloc(pool, (pblcnt << 3)); in get_lvl2_pble()
517 addr = (u64 *)gen_pool_alloc(pool, (palloc->total_cnt << 3)); in get_lvl1_pble()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/cxgb4/
H A Dresource.c267 unsigned long addr = gen_pool_alloc(rdev->pbl_pool, size); in c4iw_pblpool_alloc()
346 unsigned long addr = gen_pool_alloc(rdev->rqt_pool, size << 6); in c4iw_rqtpool_alloc()
460 unsigned long addr = gen_pool_alloc(rdev->ocqp_pool, size); in c4iw_ocqp_pool_alloc()
/OK3568_Linux_fs/kernel/drivers/soc/ti/
H A Dpm33xx.c416 ocmcram_location = gen_pool_alloc(sram_pool, *pm_sram->do_wfi_sz); in am33xx_pm_alloc_sram()
424 ocmcram_location_data = gen_pool_alloc(sram_pool_data, in am33xx_pm_alloc_sram()
/OK3568_Linux_fs/kernel/drivers/net/caif/
H A Dcaif_virtio.c192 gen_pool_alloc(cfv->genpool, in cfv_release_used_buf()
423 cfv->reserved_mem = gen_pool_alloc(cfv->genpool, in cfv_create_genpool()
506 buf_info->vaddr = (void *)gen_pool_alloc(cfv->genpool, buf_info->size); in cfv_alloc_and_copy_to_shm()
/OK3568_Linux_fs/kernel/arch/csky/mm/
H A Dtcm.c116 vaddr = gen_pool_alloc(tcm_pool, len);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/
H A Dk3-cppi-desc-pool.c115 return (void *)gen_pool_alloc(pool->gen_pool, pool->desc_size); in k3_cppi_desc_pool_alloc()
/OK3568_Linux_fs/kernel/arch/arm/mach-omap2/
H A Domap4-common.c142 sram_sync = (void *)gen_pool_alloc(sram_pool, PAGE_SIZE); in omap4_sram_init()
/OK3568_Linux_fs/kernel/drivers/tee/
H A Dtee_shm_pool.c19 va = gen_pool_alloc(genpool, s); in pool_op_gen_alloc()
/OK3568_Linux_fs/kernel/Documentation/core-api/
H A Dgenalloc.rst69 :functions: gen_pool_alloc
77 As one would expect, gen_pool_alloc() will allocate size< bytes
/OK3568_Linux_fs/kernel/arch/ia64/kernel/
H A Duncached.c199 uc_addr = gen_pool_alloc(uc_pool->pool, in uncached_alloc_page()
/OK3568_Linux_fs/kernel/include/linux/
H A Dgenalloc.h151 static inline unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) in gen_pool_alloc() function
/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A Dtcm.c82 vaddr = gen_pool_alloc(tcm_pool, len); in tcm_alloc()
/OK3568_Linux_fs/kernel/drivers/misc/habanalabs/common/
H A Dcommand_buffer.c45 virt_addr = (u64) gen_pool_alloc(ctx->cb_va_pool, page_size); in cb_map_mem()
206 p = (void *) gen_pool_alloc(hdev->internal_cb_pool, cb_size); in hl_cb_alloc()
/OK3568_Linux_fs/kernel/arch/arm/mach-at91/
H A Dpm.c609 sram_base = gen_pool_alloc(sram_pool, at91_pm_suspend_in_sram_sz); in at91_pm_sram_init()
678 pm_bu = (void *)gen_pool_alloc(sram_pool, sizeof(struct at91_pm_bu)); in at91_pm_backup_init()
/OK3568_Linux_fs/kernel/kernel/dma/
H A Dpool.c250 addr = gen_pool_alloc(pool, size); in __dma_alloc_from_pool()
/OK3568_Linux_fs/kernel/drivers/acpi/apei/
H A Dghes.c613 entry = (void *)gen_pool_alloc(ghes_estatus_pool, len); in ghes_defer_non_standard_event()
762 cache = (void *)gen_pool_alloc(ghes_estatus_pool, cache_len); in ghes_estatus_cache_alloc()
1054 estatus_node = (void *)gen_pool_alloc(ghes_estatus_pool, node_len); in ghes_in_nmi_queue_one_entry()
/OK3568_Linux_fs/kernel/arch/arm/mach-imx/
H A Dpm-imx5.c301 ocram_base = gen_pool_alloc(ocram_pool, size); in imx_suspend_alloc_ocram()
H A Dpm-imx6.c500 ocram_base = gen_pool_alloc(ocram_pool, MX6Q_SUSPEND_OCRAM_SIZE); in imx6q_suspend_init()

12