Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/dma/
Dpch_dma.c110 unsigned int descs_allocated; member
475 pd_chan->descs_allocated++; in pdc_desc_get()
510 return pd_chan->descs_allocated; in pd_alloc_chan_resources()
526 pd_chan->descs_allocated = i; in pd_alloc_chan_resources()
532 return pd_chan->descs_allocated; in pd_alloc_chan_resources()
548 pd_chan->descs_allocated = 0; in pd_free_chan_resources()
Dimx-dma.c151 int descs_allocated; member
756 while (imxdmac->descs_allocated < IMXDMA_MAX_CHAN_DESCRIPTORS) { in imxdma_alloc_chan_resources()
770 imxdmac->descs_allocated++; in imxdma_alloc_chan_resources()
773 if (!imxdmac->descs_allocated) in imxdma_alloc_chan_resources()
776 return imxdmac->descs_allocated; in imxdma_alloc_chan_resources()
796 imxdmac->descs_allocated--; in imxdma_free_chan_resources()
Dtxx9dmac.c235 dc->descs_allocated++; in txx9dmac_desc_get()
1024 i = dc->descs_allocated; in txx9dmac_alloc_chan_resources()
1025 while (dc->descs_allocated < TXX9_DMA_INITIAL_DESC_COUNT) { in txx9dmac_alloc_chan_resources()
1038 i = ++dc->descs_allocated; in txx9dmac_alloc_chan_resources()
1056 dc->descs_allocated); in txx9dmac_free_chan_resources()
1065 dc->descs_allocated = 0; in txx9dmac_free_chan_resources()
Dat_hdmac.c159 atchan->descs_allocated++; in atc_desc_get()
1586 return atchan->descs_allocated; in atc_alloc_chan_resources()
1600 atchan->descs_allocated = i; in atc_alloc_chan_resources()
1610 atchan->descs_allocated); in atc_alloc_chan_resources()
1612 return atchan->descs_allocated; in atc_alloc_chan_resources()
1627 atchan->descs_allocated); in atc_free_chan_resources()
1641 atchan->descs_allocated = 0; in atc_free_chan_resources()
Dtxx9dmac.h179 unsigned int descs_allocated; member
Dat_hdmac_regs.h271 unsigned int descs_allocated; member
/Linux-v4.19/drivers/dma/sh/
Dusb-dmac.c85 int descs_allocated; member
298 chan->descs_allocated = 0; in usb_dmac_desc_free()
389 while (uchan->descs_allocated < USB_DMAC_INITIAL_NR_DESC) { in usb_dmac_alloc_chan_resources()
396 uchan->descs_allocated++; in usb_dmac_alloc_chan_resources()
/Linux-v4.19/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()
891 atomic_set(&chan->descs_allocated, 0); in dw_probe()
Ddw-axi-dmac.h40 atomic_t descs_allocated; member
/Linux-v4.19/drivers/dma/dw/
Dregs.h270 unsigned int descs_allocated; member
Dcore.c114 dwc->descs_allocated++; in dwc_desc_get()
134 dwc->descs_allocated--; in dwc_desc_put()
138 dwc->descs_allocated--; in dwc_desc_put()
1159 dwc->descs_allocated); in dwc_free_chan_resources()