Searched refs:chn_mode (Results 1 – 2 of 2) sorted by relevance
9 #define SPRD_DMA_FLAGS(chn_mode, trg_mode, req_mode, int_type) \ argument10 ((chn_mode) << SPRD_DMA_CHN_MODE_SHIFT | \
201 enum sprd_dma_chn_mode chn_mode; member439 switch (schan->chn_mode) { in sprd_dma_set_2stage_config()482 schan->chn_mode); in sprd_dma_set_2stage_config()548 if (schan->chn_mode && sprd_dma_set_2stage_config(schan)) in sprd_dma_start()561 schan->chn_mode != SPRD_DMA_DST_CHN0 && in sprd_dma_start()562 schan->chn_mode != SPRD_DMA_DST_CHN1) in sprd_dma_start()754 enum sprd_dma_chn_mode chn_mode = schan->chn_mode; in sprd_dma_fill_desc() local772 if (chn_mode == SPRD_DMA_DST_CHN0 || in sprd_dma_fill_desc()773 chn_mode == SPRD_DMA_DST_CHN1) in sprd_dma_fill_desc()985 schan->chn_mode = in sprd_dma_prep_slave_sg()