Lines Matching +full:dma +full:- +full:channels
1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <linux/dma-mapping.h>
10 * M2P channels.
25 /* M2M channels */
30 * struct ep93xx_dma_data - configuration data for the EP93xx dmaengine
36 * function. Note that this is only needed for slave/cyclic channels. For
37 * memcpy channels %NULL data should be passed.
46 * struct ep93xx_dma_chan_data - platform specific data for a DMA channel
58 * struct ep93xx_dma_platform_data - platform data for the dmaengine driver
59 * @channels: array of channels which are passed to the driver
60 * @num_channels: number of channels in the array
62 * This structure is passed to the DMA engine driver via platform data. For
63 * M2P channels, contract is that even channels are for TX and odd for RX.
64 * There is no requirement for the M2M channels.
67 struct ep93xx_dma_chan_data *channels; member
73 return !strcmp(dev_name(chan->device->dev), "ep93xx-dma-m2p"); in ep93xx_dma_chan_is_m2p()
77 * ep93xx_dma_chan_direction - returns direction the channel can be used
81 * channel supports given DMA direction. Only M2P channels have such
82 * limitation, for M2M channels the direction is configurable.
90 /* even channels are for TX, odd for RX */ in ep93xx_dma_chan_direction()
91 return (chan->chan_id % 2 == 0) ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in ep93xx_dma_chan_direction()