Lines Matching refs:dma_cfg
197 struct ep93xx_dma_chan_cfg dma_cfg; member
383 writel(edmac->dma_cfg.port & 0xf, edmac->regs + M2P_PPALLOC); in m2p_hw_setup()
522 if (edmac->dma_cfg.dir == DMA_MEM_TO_MEM) { in m2m_hw_setup()
528 switch (edmac->dma_cfg.port) { in m2m_hw_setup()
538 if (edmac->dma_cfg.dir == DMA_MEM_TO_DEV) { in m2m_hw_setup()
554 if (edmac->dma_cfg.dir == DMA_MEM_TO_DEV) { in m2m_hw_setup()
634 if (edmac->dma_cfg.dir == DMA_MEM_TO_MEM) { in m2m_hw_submit()
696 if (done && edmac->dma_cfg.dir == DMA_MEM_TO_MEM) { in m2m_hw_interrupt()
932 if (edmac->dma_cfg.port < EP93XX_DMA_I2S1 || in ep93xx_dma_alloc_chan_resources()
933 edmac->dma_cfg.port > EP93XX_DMA_IRDA) in ep93xx_dma_alloc_chan_resources()
935 if (edmac->dma_cfg.dir != ep93xx_dma_chan_direction(chan)) in ep93xx_dma_alloc_chan_resources()
938 if (edmac->dma_cfg.dir != DMA_MEM_TO_MEM) { in ep93xx_dma_alloc_chan_resources()
939 switch (edmac->dma_cfg.port) { in ep93xx_dma_alloc_chan_resources()
942 if (!is_slave_direction(edmac->dma_cfg.dir)) in ep93xx_dma_alloc_chan_resources()
1442 echan->dma_cfg = *cfg; in ep93xx_m2p_dma_filter()
1451 struct ep93xx_dma_chan_cfg dma_cfg; in ep93xx_m2p_dma_of_xlate() local
1461 dma_cfg.port = port; in ep93xx_m2p_dma_of_xlate()
1462 dma_cfg.dir = direction; in ep93xx_m2p_dma_of_xlate()
1464 return __dma_request_channel(&mask, ep93xx_m2p_dma_filter, &dma_cfg, ofdma->of_node); in ep93xx_m2p_dma_of_xlate()
1472 echan->dma_cfg = *cfg; in ep93xx_m2m_dma_filter()
1482 struct ep93xx_dma_chan_cfg dma_cfg; in ep93xx_m2m_dma_of_xlate() local
1497 dma_cfg.port = port; in ep93xx_m2m_dma_of_xlate()
1498 dma_cfg.dir = direction; in ep93xx_m2m_dma_of_xlate()
1500 return __dma_request_channel(&mask, ep93xx_m2m_dma_filter, &dma_cfg, ofdma->of_node); in ep93xx_m2m_dma_of_xlate()