Home
last modified time | relevance | path

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

/openbmc/linux/drivers/dma/sh/
H A Drz-dmac.c69 int descs_allocated; member
420 while (channel->descs_allocated < RZ_DMAC_MAX_CHAN_DESCRIPTORS) { in rz_dmac_alloc_chan_resources()
428 channel->descs_allocated++; in rz_dmac_alloc_chan_resources()
431 if (!channel->descs_allocated) in rz_dmac_alloc_chan_resources()
434 return channel->descs_allocated; in rz_dmac_alloc_chan_resources()
464 channel->descs_allocated--; in rz_dmac_free_chan_resources()
H A Dusb-dmac.c82 int descs_allocated; member
295 chan->descs_allocated = 0; in usb_dmac_desc_free()
386 while (uchan->descs_allocated < USB_DMAC_INITIAL_NR_DESC) { in usb_dmac_alloc_chan_resources()
393 uchan->descs_allocated++; in usb_dmac_alloc_chan_resources()
/openbmc/linux/drivers/dma/
H A Dpch_dma.c102 unsigned int descs_allocated; member
467 pd_chan->descs_allocated++; in pdc_desc_get()
502 return pd_chan->descs_allocated; in pd_alloc_chan_resources()
518 pd_chan->descs_allocated = i; in pd_alloc_chan_resources()
524 return pd_chan->descs_allocated; in pd_alloc_chan_resources()
540 pd_chan->descs_allocated = 0; in pd_free_chan_resources()
H A Dimx-dma.c151 int descs_allocated; member
747 while (imxdmac->descs_allocated < IMXDMA_MAX_CHAN_DESCRIPTORS) { in imxdma_alloc_chan_resources()
760 imxdmac->descs_allocated++; in imxdma_alloc_chan_resources()
763 if (!imxdmac->descs_allocated) in imxdma_alloc_chan_resources()
766 return imxdmac->descs_allocated; in imxdma_alloc_chan_resources()
786 imxdmac->descs_allocated--; in imxdma_free_chan_resources()
H A Dtxx9dmac.c232 dc->descs_allocated++; in txx9dmac_desc_get()
1019 i = dc->descs_allocated; in txx9dmac_alloc_chan_resources()
1020 while (dc->descs_allocated < TXX9_DMA_INITIAL_DESC_COUNT) { in txx9dmac_alloc_chan_resources()
1033 i = ++dc->descs_allocated; in txx9dmac_alloc_chan_resources()
1051 dc->descs_allocated); in txx9dmac_free_chan_resources()
1060 dc->descs_allocated = 0; in txx9dmac_free_chan_resources()
H A Dtxx9dmac.h176 unsigned int descs_allocated; member
/openbmc/linux/drivers/dma/dw-axi-dmac/
H A Ddw-axi-dmac-platform.c277 atomic_inc(&chan->descs_allocated); in axi_desc_get()
297 atomic_sub(descs_put, &chan->descs_allocated); in axi_desc_put()
300 atomic_read(&chan->descs_allocated)); in axi_desc_put()
515 axi_chan_name(chan), atomic_read(&chan->descs_allocated)); in dma_chan_free_chan_resources()
1008 int count = atomic_read(&chan->descs_allocated); in axi_chan_list_dump_lli()
1051 int count = atomic_read(&chan->descs_allocated); in axi_chan_block_xfer_complete()
1454 atomic_set(&chan->descs_allocated, 0); in dw_probe()
H A Ddw-axi-dmac.h44 atomic_t descs_allocated; member
/openbmc/linux/drivers/dma/dw/
H A Dcore.c88 dwc->descs_allocated++; in dwc_desc_get()
108 dwc->descs_allocated--; in dwc_desc_put()
112 dwc->descs_allocated--; in dwc_desc_put()
1093 dwc->descs_allocated); in dwc_free_chan_resources()
H A Dregs.h283 unsigned int descs_allocated; member