Lines Matching refs:tmp_chan
139 struct dma_chan *tmp_chan = NULL, *be_chan = NULL; in fsl_asrc_dma_hw_params() local
210 tmp_chan = be_chan; in fsl_asrc_dma_hw_params()
212 if (!tmp_chan) in fsl_asrc_dma_hw_params()
213 tmp_chan = dma_request_slave_channel(dev_be, tx ? "tx" : "rx"); in fsl_asrc_dma_hw_params()
223 tmp_data = tmp_chan->private; in fsl_asrc_dma_hw_params()
227 dma_release_channel(tmp_chan); in fsl_asrc_dma_hw_params()
230 tmp_chan = asrc->get_dma_channel(pair, dir); in fsl_asrc_dma_hw_params()
231 tmp_data = tmp_chan->private; in fsl_asrc_dma_hw_params()
235 dma_release_channel(tmp_chan); in fsl_asrc_dma_hw_params()
243 pair->dma_chan[dir] = tmp_chan; in fsl_asrc_dma_hw_params()
334 struct dma_chan *tmp_chan = NULL; in fsl_asrc_dma_startup() local
366 tmp_chan = asrc->get_dma_channel(pair, dir); in fsl_asrc_dma_startup()
367 if (!tmp_chan) { in fsl_asrc_dma_startup()
379 tmp_chan); in fsl_asrc_dma_startup()
389 dma_release_channel(tmp_chan); in fsl_asrc_dma_startup()