Home
last modified time | relevance | path

Searched refs:desc_pool (Results 1 – 10 of 10) sorted by relevance

/drivers/dma/xilinx/
Dxilinx_vdma.c220 struct dma_pool *desc_pool; member
314 segment = dma_pool_alloc(chan->desc_pool, GFP_ATOMIC, &phys); in xilinx_vdma_alloc_tx_segment()
332 dma_pool_free(chan->desc_pool, segment, segment->phys); in xilinx_vdma_free_tx_segment()
433 dma_pool_destroy(chan->desc_pool); in xilinx_vdma_free_chan_resources()
434 chan->desc_pool = NULL; in xilinx_vdma_free_chan_resources()
494 if (chan->desc_pool) in xilinx_vdma_alloc_chan_resources()
501 chan->desc_pool = dma_pool_create("xilinx_vdma_desc_pool", in xilinx_vdma_alloc_chan_resources()
505 if (!chan->desc_pool) { in xilinx_vdma_alloc_chan_resources()
/drivers/dma/
Dmmp_pdma.c117 struct dma_pool *desc_pool; /* Descriptors pool */ member
365 desc = dma_pool_alloc(chan->desc_pool, GFP_ATOMIC, &pdesc); in mmp_pdma_alloc_descriptor()
393 if (chan->desc_pool) in mmp_pdma_alloc_chan_resources()
396 chan->desc_pool = dma_pool_create(dev_name(&dchan->dev->device), in mmp_pdma_alloc_chan_resources()
401 if (!chan->desc_pool) { in mmp_pdma_alloc_chan_resources()
419 dma_pool_free(chan->desc_pool, desc, desc->async_tx.phys); in mmp_pdma_free_desc_list()
433 dma_pool_destroy(chan->desc_pool); in mmp_pdma_free_chan_resources()
434 chan->desc_pool = NULL; in mmp_pdma_free_chan_resources()
924 dma_pool_free(chan->desc_pool, desc, txd->phys); in dma_do_tasklet()
Dfsldma.c451 dma_pool_free(chan->desc_pool, desc, desc->async_tx.phys); in fsl_dma_free_descriptor()
465 desc = dma_pool_alloc(chan->desc_pool, GFP_ATOMIC, &pdesc); in fsl_dma_alloc_descriptor()
561 dma_pool_free(chan->desc_pool, desc, desc->async_tx.phys); in fsldma_clean_running_descriptor()
699 if (chan->desc_pool) in fsl_dma_alloc_chan_resources()
706 chan->desc_pool = dma_pool_create(chan->name, chan->dev, in fsl_dma_alloc_chan_resources()
709 if (!chan->desc_pool) { in fsl_dma_alloc_chan_resources()
759 dma_pool_destroy(chan->desc_pool); in fsl_dma_free_chan_resources()
760 chan->desc_pool = NULL; in fsl_dma_free_chan_resources()
Dpl330.c454 struct list_head desc_pool; member
1995 list_move_tail(&desc->node, &pch->dmac->desc_pool); in pl330_tasklet()
2102 list_splice_tail_init(&pch->submitted_list, &pl330->desc_pool); in pl330_control()
2103 list_splice_tail_init(&pch->work_list, &pl330->desc_pool); in pl330_control()
2104 list_splice_tail_init(&pch->completed_list, &pl330->desc_pool); in pl330_control()
2147 list_splice_tail_init(&pch->work_list, &pch->dmac->desc_pool); in pl330_free_chan_resources()
2230 list_add_tail(&desc[i].node, &pl330->desc_pool); in add_desc()
2245 if (!list_empty(&pl330->desc_pool)) { in pluck_desc()
2246 desc = list_entry(pl330->desc_pool.next, in pluck_desc()
2390 list_move_tail(&desc->node, &pl330->desc_pool); in pl330_prep_dma_cyclic()
[all …]
Dfsldma.h168 struct dma_pool *desc_pool; /* Descriptors pool */ member
/drivers/net/ethernet/micrel/
Dksz884x.c1428 struct ksz_shared_mem desc_pool; member
4406 adapter->desc_pool.alloc_size = in ksz_alloc_desc()
4411 adapter->desc_pool.alloc_virt = in ksz_alloc_desc()
4413 adapter->desc_pool.alloc_size, in ksz_alloc_desc()
4414 &adapter->desc_pool.dma_addr); in ksz_alloc_desc()
4415 if (adapter->desc_pool.alloc_virt == NULL) { in ksz_alloc_desc()
4416 adapter->desc_pool.alloc_size = 0; in ksz_alloc_desc()
4421 offset = (((ulong) adapter->desc_pool.alloc_virt % DESC_ALIGNMENT) ? in ksz_alloc_desc()
4423 ((ulong) adapter->desc_pool.alloc_virt % DESC_ALIGNMENT)) : 0); in ksz_alloc_desc()
4424 adapter->desc_pool.virt = adapter->desc_pool.alloc_virt + offset; in ksz_alloc_desc()
[all …]
/drivers/usb/gadget/udc/
Dgr_udc.h196 struct dma_pool *desc_pool; member
Dgr_udc.c256 dma_desc = dma_pool_alloc(ep->dev->desc_pool, gfp_flags, &paddr); in gr_alloc_dma_desc()
271 dma_pool_free(dev->desc_pool, desc, (dma_addr_t)desc->paddr); in gr_free_dma_desc()
2115 if (dev->desc_pool) in gr_remove()
2116 dma_pool_destroy(dev->desc_pool); in gr_remove()
2193 dev->desc_pool = dma_pool_create("desc_pool", dev->dev, in gr_probe()
2195 if (!dev->desc_pool) { in gr_probe()
/drivers/dma/dw/
Dregs.h278 struct dma_pool *desc_pool; member
Dcore.c1164 desc = dma_pool_alloc(dw->desc_pool, GFP_ATOMIC, &phys); in dwc_alloc_chan_resources()
1237 dma_pool_free(dw->desc_pool, desc, desc->txd.phys); in dwc_free_chan_resources()
1563 dw->desc_pool = dmam_pool_create("dw_dmac_desc_pool", chip->dev, in dw_dma_probe()
1565 if (!dw->desc_pool) { in dw_dma_probe()