Lines Matching refs:dmas

120 	struct dma *dmas = dma_domain->dma_array;  in dma_multi_chan_domain_register()  local
133 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() local
223 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()
229 if (dmas[i].chan[j].status == COMP_STATE_ACTIVE) in dma_multi_chan_domain_unregister()
233 if (core != dmas[i].chan[j].core) in dma_multi_chan_domain_unregister()
240 dma_interrupt(&dmas[i].chan[j], DMA_IRQ_MASK); in dma_multi_chan_domain_unregister()
241 dma_interrupt(&dmas[i].chan[j], DMA_IRQ_CLEAR); in dma_multi_chan_domain_unregister()
274 struct dma *dmas = dma_domain->dma_array; in dma_multi_chan_domain_is_pending() local
281 for (j = 0; j < dmas[i].plat_data.channels; ++j) { in dma_multi_chan_domain_is_pending()
283 status = dma_interrupt(&dmas[i].chan[j], in dma_multi_chan_domain_is_pending()
323 notifier_event(&dmas[i].chan[j], NOTIFIER_ID_DMA_IRQ, in dma_multi_chan_domain_is_pending()
325 &dmas[i].chan[j], in dma_multi_chan_domain_is_pending()
330 dma_interrupt(&dmas[i].chan[j], DMA_IRQ_CLEAR); in dma_multi_chan_domain_is_pending()