Home
last modified time | relevance | path

Searched refs:lli_pool (Results 1 – 2 of 2) sorted by relevance

/drivers/dma/
Dste_dma40.c368 struct d40_lli_pool lli_pool; member
647 base = d40d->lli_pool.pre_alloc_lli; in d40_pool_lli_alloc()
648 d40d->lli_pool.size = sizeof(d40d->lli_pool.pre_alloc_lli); in d40_pool_lli_alloc()
649 d40d->lli_pool.base = NULL; in d40_pool_lli_alloc()
651 d40d->lli_pool.size = lli_len * 2 * align; in d40_pool_lli_alloc()
653 base = kmalloc(d40d->lli_pool.size + align, GFP_NOWAIT); in d40_pool_lli_alloc()
654 d40d->lli_pool.base = base; in d40_pool_lli_alloc()
656 if (d40d->lli_pool.base == NULL) in d40_pool_lli_alloc()
664 d40d->lli_pool.dma_addr = 0; in d40_pool_lli_alloc()
669 d40d->lli_pool.dma_addr = dma_map_single(d40c->base->dev, in d40_pool_lli_alloc()
[all …]
Dowl-dma.c229 struct dma_pool *lli_pool; member
345 dma_pool_free(od->lli_pool, lli, lli->phys); in owl_dma_free_lli()
353 lli = dma_pool_alloc(od->lli_pool, GFP_NOWAIT, &phys); in owl_dma_alloc_lli()
1197 od->lli_pool = dma_pool_create(dev_name(od->dma.dev), od->dma.dev, in owl_dma_probe()
1201 if (!od->lli_pool) { in owl_dma_probe()
1228 dma_pool_destroy(od->lli_pool); in owl_dma_probe()
1249 dma_pool_destroy(od->lli_pool); in owl_dma_remove()