Searched refs:cb_pool (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/accel/habanalabs/common/ |
D | command_buffer.c | 96 list_add(&cb->pool_list, &hdev->cb_pool); in cb_do_release() 198 if (!list_empty(&cb_args->hdev->cb_pool)) { in hl_cb_mmap_mem_alloc() 199 cb = list_first_entry(&cb_args->hdev->cb_pool, in hl_cb_mmap_mem_alloc() 479 INIT_LIST_HEAD(&hdev->cb_pool); in hl_cb_pool_init() 487 list_add(&cb->pool_list, &hdev->cb_pool); in hl_cb_pool_init() 501 list_for_each_entry_safe(cb, tmp, &hdev->cb_pool, pool_list) { in hl_cb_pool_fini()
|
D | habanalabs.h | 3361 struct list_head cb_pool; member
|
/linux-6.6.21/drivers/dma/ |
D | bcm2835-dma.c | 76 struct dma_pool *cb_pool; member 209 dma_pool_free(desc->c->cb_pool, desc->cb_list[i].cb, in bcm2835_dma_free_cb_chain() 331 cb_entry->cb = dma_pool_alloc(c->cb_pool, gfp, in bcm2835_dma_create_cb_chain() 511 c->cb_pool = dma_pool_create(dev_name(dev), dev, in bcm2835_dma_alloc_chan_resources() 513 if (!c->cb_pool) { in bcm2835_dma_alloc_chan_resources() 528 dma_pool_destroy(c->cb_pool); in bcm2835_dma_free_chan_resources()
|