Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/dma/
Dsprd-dma.c201 enum sprd_dma_chn_mode chn_mode; member
439 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() local
772 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()