Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/dma/
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()
Dimx-dma.c151 int descs_allocated; member
766 while (imxdmac->descs_allocated < IMXDMA_MAX_CHAN_DESCRIPTORS) { in imxdma_alloc_chan_resources()
780 imxdmac->descs_allocated++; in imxdma_alloc_chan_resources()
783 if (!imxdmac->descs_allocated) in imxdma_alloc_chan_resources()
786 return imxdmac->descs_allocated; in imxdma_alloc_chan_resources()
806 imxdmac->descs_allocated--; in imxdma_free_chan_resources()
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()
Dtxx9dmac.h176 unsigned int descs_allocated; member
/kernel/linux/linux-5.10/drivers/dma/sh/
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()
/kernel/linux/linux-5.10/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c211 atomic_inc(&chan->descs_allocated); in axi_desc_get()
235 atomic_sub(descs_put, &chan->descs_allocated); in axi_desc_put()
238 atomic_read(&chan->descs_allocated)); in axi_desc_put()
370 axi_chan_name(chan), atomic_read(&chan->descs_allocated)); in dma_chan_free_chan_resources()
894 atomic_set(&chan->descs_allocated, 0); in dw_probe()
Ddw-axi-dmac.h40 atomic_t descs_allocated; member
/kernel/linux/linux-5.10/drivers/dma/dw/
Dcore.c90 dwc->descs_allocated++; in dwc_desc_get()
110 dwc->descs_allocated--; in dwc_desc_put()
114 dwc->descs_allocated--; in dwc_desc_put()
1022 dwc->descs_allocated); in dwc_free_chan_resources()
Dregs.h283 unsigned int descs_allocated; member