Lines Matching refs:dmaen
94 struct rsnd_dmaen *dmaen = rsnd_dma_to_dmaen(dma); in rsnd_dmaen_cleanup() local
101 if (dmaen->chan) in rsnd_dmaen_cleanup()
104 dmaen->chan = NULL; in rsnd_dmaen_cleanup()
114 struct rsnd_dmaen *dmaen = rsnd_dma_to_dmaen(dma); in rsnd_dmaen_prepare() local
118 if (dmaen->chan) in rsnd_dmaen_prepare()
126 dmaen->chan = rsnd_dmaen_request_channel(io, in rsnd_dmaen_prepare()
129 if (IS_ERR_OR_NULL(dmaen->chan)) { in rsnd_dmaen_prepare()
130 dmaen->chan = NULL; in rsnd_dmaen_prepare()
135 return snd_dmaengine_pcm_open(io->substream, dmaen->chan); in rsnd_dmaen_prepare()
143 struct rsnd_dmaen *dmaen = rsnd_dma_to_dmaen(dma); in rsnd_dmaen_start() local
184 ret = dmaengine_slave_config(dmaen->chan, &cfg); in rsnd_dmaen_start()