Searched refs:pchan (Results 1 – 1 of 1) sorted by relevance
31 struct mxs_dma_chan *pchan; in mxs_dma_validate_chan() local36 pchan = mxs_dma_channels + channel; in mxs_dma_validate_chan()37 if (!(pchan->flags & MXS_DMA_FLAGS_ALLOCATED)) in mxs_dma_validate_chan()113 struct mxs_dma_chan *pchan; in mxs_dma_enable() local121 pchan = mxs_dma_channels + channel; in mxs_dma_enable()123 if (pchan->pending_num == 0) { in mxs_dma_enable()124 pchan->flags |= MXS_DMA_FLAGS_BUSY; in mxs_dma_enable()128 pdesc = list_first_entry(&pchan->active, struct mxs_dma_desc, node); in mxs_dma_enable()132 if (pchan->flags & MXS_DMA_FLAGS_BUSY) { in mxs_dma_enable()146 writel(pchan->pending_num, in mxs_dma_enable()[all …]