Lines Matching full:periods
89 * @periods: Number of periods in the cyclic transfer
104 u32 periods; member
672 unsigned int periods = size / period_size; in xdma_prep_dma_cyclic() local
681 * periods and periods size. in xdma_prep_dma_cyclic()
688 if (periods > XDMA_DESC_ADJACENT) { in xdma_prep_dma_cyclic()
689 xdma_err(xdev, "number of periods limited to %u\n", XDMA_DESC_ADJACENT); in xdma_prep_dma_cyclic()
693 sw_desc = xdma_alloc_desc(xdma_chan, periods, true); in xdma_prep_dma_cyclic()
697 sw_desc->periods = periods; in xdma_prep_dma_cyclic()
714 for (i = 0; i < periods; i++) { in xdma_prep_dma_cyclic()
759 sw_desc->periods = xt->numf; in xdma_prep_interleaved_dma()
862 period_idx = desc->completed_desc_num % desc->periods; in xdma_tx_status()
863 residue = (desc->periods - period_idx) * desc->period_size; in xdma_tx_status()
937 desc->frames_left = desc->periods; in xdma_channel_isr()