Lines Matching +full:dma +full:- +full:channel
1 /* SPDX-License-Identifier: GPL-2.0+
4 * Author: Lars-Peter Clausen <lars@metafoo.de>
15 * snd_pcm_substream_to_dma_direction - Get dma_transfer_direction for a PCM
19 * Return: DMA transfer direction
24 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
48 * The DAI supports packed transfers, eg 2 16-bit samples in a 32-bit word.
50 * the supported sample formats and set the DMA transfer size to undefined.
58 * struct snd_dmaengine_dai_dma_data - DAI DMA configuration data
64 * @filter_data: Custom DMA channel filter data, this will usually be used when
65 * requesting the DMA channel.
66 * @chan_name: Custom channel name to use when requesting DMA channel.
75 * DMA loops in this area in order to transfer the data.
102 * Try to request the DMA channel using compat_request_channel or
107 * Don't try to request the DMA channels through devicetree. This flag only
112 * The PCM is half duplex and the DMA channel is shared between capture and
118 * struct snd_dmaengine_pcm_config - Configuration data for dmaengine based PCM
119 * @prepare_slave_config: Callback used to fill in the DMA slave_config for a
121 * @compat_request_channel: Callback to request a DMA channel for platforms
127 * channel for platforms which do not use devicetree. The filter parameter
128 * will be the DAI's DMA data.
129 * @dma_dev: If set, request DMA channel on this device rather than the DAI
131 * @chan_names: If set, these custom DMA channel names will be requested at
137 * compat_request_channel will be used to request the channel and
138 * compat_filter_fn will be ignored. Otherwise the channel will be requested
149 int channel, unsigned long hwoff,