Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/dma/sh/
Drz-dmac.c66 int descs_allocated; member
418 while (channel->descs_allocated < RZ_DMAC_MAX_CHAN_DESCRIPTORS) { in rz_dmac_alloc_chan_resources()
426 channel->descs_allocated++; in rz_dmac_alloc_chan_resources()
429 if (!channel->descs_allocated) in rz_dmac_alloc_chan_resources()
432 return channel->descs_allocated; in rz_dmac_alloc_chan_resources()
462 channel->descs_allocated--; in rz_dmac_free_chan_resources()
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()
/linux-5.19.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
747 while (imxdmac->descs_allocated < IMXDMA_MAX_CHAN_DESCRIPTORS) { in imxdma_alloc_chan_resources()
761 imxdmac->descs_allocated++; in imxdma_alloc_chan_resources()
764 if (!imxdmac->descs_allocated) in imxdma_alloc_chan_resources()
767 return imxdmac->descs_allocated; in imxdma_alloc_chan_resources()
787 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
/linux-5.19.10/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c270 atomic_inc(&chan->descs_allocated); in axi_desc_get()
279 int count = atomic_read(&chan->descs_allocated); in axi_desc_put()
290 atomic_sub(descs_put, &chan->descs_allocated); in axi_desc_put()
293 atomic_read(&chan->descs_allocated)); in axi_desc_put()
510 axi_chan_name(chan), atomic_read(&chan->descs_allocated)); in dma_chan_free_chan_resources()
1003 int count = atomic_read(&chan->descs_allocated); in axi_chan_list_dump_lli()
1040 int count = atomic_read(&chan->descs_allocated); in axi_chan_block_xfer_complete()
1434 atomic_set(&chan->descs_allocated, 0); in dw_probe()
Ddw-axi-dmac.h43 atomic_t descs_allocated; member
/linux-5.19.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