Lines Matching refs:asrc
141 struct fsl_asrc *asrc = pair->asrc; in fsl_asrc_dma_hw_params() local
177 dma_params_fe->addr = asrc->paddr + asrc->get_fifo_addr(!dir, index); in fsl_asrc_dma_hw_params()
180 pair->dma_chan[!dir] = asrc->get_dma_channel(pair, !dir); in fsl_asrc_dma_hw_params()
221 if (!asrc->use_edma) { in fsl_asrc_dma_hw_params()
230 tmp_chan = asrc->get_dma_channel(pair, dir); in fsl_asrc_dma_hw_params()
253 width = snd_pcm_format_physical_width(asrc->asrc_format); in fsl_asrc_dma_hw_params()
285 config_be.src_addr = asrc->paddr + asrc->get_fifo_addr(OUT, index); in fsl_asrc_dma_hw_params()
288 config_be.dst_addr = asrc->paddr + asrc->get_fifo_addr(IN, index); in fsl_asrc_dma_hw_params()
332 struct fsl_asrc *asrc = dev_get_drvdata(dev); in fsl_asrc_dma_startup() local
346 pair = kzalloc(sizeof(*pair) + asrc->pair_priv_size, GFP_KERNEL); in fsl_asrc_dma_startup()
350 pair->asrc = asrc; in fsl_asrc_dma_startup()
359 ret = asrc->request_pair(1, pair); in fsl_asrc_dma_startup()
366 tmp_chan = asrc->get_dma_channel(pair, dir); in fsl_asrc_dma_startup()
392 asrc->release_pair(pair); in fsl_asrc_dma_startup()
406 struct fsl_asrc *asrc; in fsl_asrc_dma_shutdown() local
411 asrc = pair->asrc; in fsl_asrc_dma_shutdown()
413 if (asrc->pair[pair->index] == pair) in fsl_asrc_dma_shutdown()
414 asrc->pair[pair->index] = NULL; in fsl_asrc_dma_shutdown()