Searched refs:gpool (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/arch/arm/mach-mmp/ |
D | sram.c | 26 struct gen_pool *gpool; member 57 return info->gpool; in sram_get_gpool() 93 info->gpool = gen_pool_create(ilog2(info->granularity), -1); in sram_probe() 94 if (!info->gpool) { in sram_probe() 100 ret = gen_pool_add_virt(info->gpool, (unsigned long)info->sram_virt, in sram_probe() 116 gen_pool_destroy(info->gpool); in sram_probe() 136 gen_pool_destroy(info->gpool); in sram_remove()
|
/kernel/linux/linux-5.10/sound/soc/pxa/ |
D | mmp-pcm.c | 158 struct gen_pool *gpool; in mmp_pcm_free_dma_buffers() local 160 gpool = sram_get_gpool("asram"); in mmp_pcm_free_dma_buffers() 161 if (!gpool) in mmp_pcm_free_dma_buffers() 174 gen_pool_free(gpool, (unsigned long)buf->area, size); in mmp_pcm_free_dma_buffers() 185 struct gen_pool *gpool; in mmp_pcm_preallocate_dma_buffer() local 191 gpool = sram_get_gpool("asram"); in mmp_pcm_preallocate_dma_buffer() 192 if (!gpool) in mmp_pcm_preallocate_dma_buffer() 195 buf->area = gen_pool_dma_alloc(gpool, size, &buf->addr); in mmp_pcm_preallocate_dma_buffer()
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | mmp_tdma.c | 358 struct gen_pool *gpool; in mmp_tdma_free_descriptor() local 361 gpool = tdmac->pool; in mmp_tdma_free_descriptor() 362 if (gpool && tdmac->desc_arr) in mmp_tdma_free_descriptor() 363 gen_pool_free(gpool, (unsigned long)tdmac->desc_arr, in mmp_tdma_free_descriptor() 410 struct gen_pool *gpool; in mmp_tdma_alloc_descriptor() local 413 gpool = tdmac->pool; in mmp_tdma_alloc_descriptor() 414 if (!gpool) in mmp_tdma_alloc_descriptor() 417 tdmac->desc_arr = gen_pool_dma_alloc(gpool, size, &tdmac->desc_arr_phys); in mmp_tdma_alloc_descriptor()
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 40467 + struct gen_pool *gpool = tvp_pool->gen_pool[i]; 40470 + if (gpool) { 40471 + if (gen_pool_avail(gpool) != gen_pool_size(gpool)) { 40476 + slot_mem_size = gen_pool_size(gpool);
|