Home
last modified time | relevance | path

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

/linux/drivers/dma/
H A Dloongson1-apb-dma.c66 struct dma_pool *lli_pool; member
150 dma_pool_destroy(chan->lli_pool); in ls1x_dma_free_chan_resources()
151 chan->lli_pool = NULL; in ls1x_dma_free_chan_resources()
170 chan->lli_pool = dma_pool_create(dma_chan_name(dchan), dev, in ls1x_dma_alloc_chan_resources()
173 if (!chan->lli_pool) in ls1x_dma_alloc_chan_resources()
181 dma_pool_destroy(chan->lli_pool); in ls1x_dma_alloc_chan_resources()
197 dma_pool_free(chan->lli_pool, lli, lli->phys); in ls1x_dma_free_desc()
255 lli = dma_pool_zalloc(chan->lli_pool, GFP_NOWAIT, &phys); in ls1x_dma_prep_lli()
H A Dste_dma40.c395 struct d40_lli_pool lli_pool; member
670 base = d40d->lli_pool.pre_alloc_lli; in d40_pool_lli_alloc()
671 d40d->lli_pool.size = sizeof(d40d->lli_pool.pre_alloc_lli); in d40_pool_lli_alloc()
672 d40d->lli_pool.base = NULL; in d40_pool_lli_alloc()
674 d40d->lli_pool.size = lli_len * 2 * align; in d40_pool_lli_alloc()
676 base = kmalloc(d40d->lli_pool.size + align, GFP_NOWAIT); in d40_pool_lli_alloc()
677 d40d->lli_pool.base = base; in d40_pool_lli_alloc()
679 if (d40d->lli_pool.base == NULL) in d40_pool_lli_alloc()
687 d40d->lli_pool.dma_addr = 0; in d40_pool_lli_alloc()
692 d40d->lli_pool.dma_addr = dma_map_single(d40c->base->dev, in d40_pool_lli_alloc()
[all …]
H A Dat_hdmac.c355 struct dma_pool *lli_pool; member
600 dma_pool_free(atdma->lli_pool, desc->sg[i].lli, in atdma_desc_free()
938 atdma_sg->lli = dma_pool_alloc(atdma->lli_pool, GFP_NOWAIT, in atc_prep_dma_interleaved()
1019 atdma_sg->lli = dma_pool_alloc(atdma->lli_pool, GFP_NOWAIT, in atc_prep_dma_memcpy()
1069 atdma_sg->lli = dma_pool_alloc(atdma->lli_pool, GFP_NOWAIT, in atdma_create_memset_lli()
1303 atdma_sg->lli = dma_pool_alloc(atdma->lli_pool, in atc_prep_slave_sg()
1352 atdma_sg->lli = dma_pool_alloc(atdma->lli_pool, in atc_prep_slave_sg()
1437 atdma_sg->lli = dma_pool_alloc(atdma->lli_pool, GFP_ATOMIC, in atc_dma_cyclic_fill_desc()
1996 atdma->lli_pool = dma_pool_create("at_hdmac_lli_pool", in at_dma_probe()
1999 if (!atdma->lli_pool) { in at_dma_probe()
[all …]
H A Dowl-dma.c230 struct dma_pool *lli_pool; member
346 dma_pool_free(od->lli_pool, lli, lli->phys); in owl_dma_free_lli()
354 lli = dma_pool_alloc(od->lli_pool, GFP_NOWAIT, &phys); in owl_dma_alloc_lli()
1198 od->lli_pool = dma_pool_create(dev_name(od->dma.dev), od->dma.dev, in owl_dma_probe()
1202 if (!od->lli_pool) { in owl_dma_probe()
1229 dma_pool_destroy(od->lli_pool); in owl_dma_probe()
1250 dma_pool_destroy(od->lli_pool); in owl_dma_remove()
/linux/drivers/dma/stm32/
H A Dstm32-dma3.c290 struct dma_pool *lli_pool; member
409 swdesc->lli[i].hwdesc = dma_pool_zalloc(chan->lli_pool, GFP_NOWAIT, in stm32_dma3_chan_desc_alloc()
428 dma_pool_free(chan->lli_pool, swdesc->lli[i].hwdesc, swdesc->lli[i].hwdesc_addr); in stm32_dma3_chan_desc_alloc()
440 dma_pool_free(chan->lli_pool, swdesc->lli[i].hwdesc, swdesc->lli[i].hwdesc_addr); in stm32_dma3_chan_desc_free()
1055 chan->lli_pool = dmam_pool_create(dev_name(&c->dev->device), c->device->dev, in stm32_dma3_alloc_chan_resources()
1058 if (!chan->lli_pool) { in stm32_dma3_alloc_chan_resources()
1081 dmam_pool_destroy(chan->lli_pool); in stm32_dma3_alloc_chan_resources()
1082 chan->lli_pool = NULL; in stm32_dma3_alloc_chan_resources()
1104 dmam_pool_destroy(chan->lli_pool); in stm32_dma3_free_chan_resources()
1105 chan->lli_pool = NULL; in stm32_dma3_free_chan_resources()