Searched refs:dmas (Results 1 – 2 of 2) sorted by relevance
120 struct dma *dmas = dma_domain->dma_array; in dma_multi_chan_domain_register() local133 for (j = 0; j < dmas[i].plat_data.channels; ++j) { in dma_multi_chan_domain_register()135 if (!dma_is_scheduling_source(&dmas[i].chan[j])) in dma_multi_chan_domain_register()139 if (dmas[i].chan[j].status != COMP_STATE_ACTIVE) in dma_multi_chan_domain_register()143 if (core != dmas[i].chan[j].core) in dma_multi_chan_domain_register()150 dma_interrupt(&dmas[i].chan[j], DMA_IRQ_CLEAR); in dma_multi_chan_domain_register()172 dma_interrupt(&dmas[i].chan[j], DMA_IRQ_UNMASK); in dma_multi_chan_domain_register()211 struct dma *dmas = dma_domain->dma_array; in dma_multi_chan_domain_unregister() local223 for (j = 0; j < dmas[i].plat_data.channels; ++j) { in dma_multi_chan_domain_unregister()225 if (!dma_is_scheduling_source(&dmas[i].chan[j])) in dma_multi_chan_domain_unregister()[all …]
60 struct dma *dmas = dma_domain->dma_array; in dma_chan_min_period() local72 if (!dmas[i].sref) in dma_chan_min_period()75 for (j = 0; j < dmas[i].plat_data.channels; ++j) { in dma_chan_min_period()77 if (!dma_is_scheduling_source(&dmas[i].chan[j])) in dma_chan_min_period()81 if (dmas[i].chan[j].status != COMP_STATE_ACTIVE) in dma_chan_min_period()86 channel->period <= dmas[i].chan[j].period) in dma_chan_min_period()89 channel = &dmas[i].chan[j]; in dma_chan_min_period()262 static bool dma_chan_is_any_running(struct dma *dmas, uint32_t num) in dma_chan_is_any_running() argument271 if (!dmas[i].sref) in dma_chan_is_any_running()274 for (j = 0; j < dmas[i].plat_data.channels; ++j) { in dma_chan_is_any_running()[all …]