Searched refs:descs_allocated (Results 1 – 10 of 10) sorted by relevance
66 int descs_allocated; member418 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()
82 int descs_allocated; member295 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()
102 unsigned int descs_allocated; member467 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()
151 int descs_allocated; member747 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()
232 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()
176 unsigned int descs_allocated; member
233 atomic_inc(&chan->descs_allocated); in axi_desc_get()242 int count = atomic_read(&chan->descs_allocated); in axi_desc_put()253 atomic_sub(descs_put, &chan->descs_allocated); in axi_desc_put()256 atomic_read(&chan->descs_allocated)); in axi_desc_put()470 axi_chan_name(chan), atomic_read(&chan->descs_allocated)); in dma_chan_free_chan_resources()963 int count = atomic_read(&chan->descs_allocated); in axi_chan_list_dump_lli()1006 int count = atomic_read(&chan->descs_allocated); in axi_chan_block_xfer_complete()1384 atomic_set(&chan->descs_allocated, 0); in dw_probe()
41 atomic_t descs_allocated; member
90 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()
283 unsigned int descs_allocated; member