Home
last modified time | relevance | path

Searched refs:chn_mode (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/include/linux/dma/
Dsprd-dma.h9 #define SPRD_DMA_FLAGS(chn_mode, trg_mode, req_mode, int_type) \ argument
10 ((chn_mode) << SPRD_DMA_CHN_MODE_SHIFT | \
/Linux-v5.4/drivers/dma/
Dsprd-dma.c198 enum sprd_dma_chn_mode chn_mode; member
436 switch (schan->chn_mode) { in sprd_dma_set_2stage_config()
479 schan->chn_mode); in sprd_dma_set_2stage_config()
523 if (schan->chn_mode && sprd_dma_set_2stage_config(schan)) in sprd_dma_start()
535 schan->chn_mode != SPRD_DMA_DST_CHN0 && in sprd_dma_start()
536 schan->chn_mode != SPRD_DMA_DST_CHN1) in sprd_dma_start()
727 enum sprd_dma_chn_mode chn_mode = schan->chn_mode; in sprd_dma_fill_desc() local
745 if (chn_mode == SPRD_DMA_DST_CHN0 || in sprd_dma_fill_desc()
746 chn_mode == SPRD_DMA_DST_CHN1) in sprd_dma_fill_desc()
951 schan->chn_mode = in sprd_dma_prep_slave_sg()