Searched refs:asrc (Results 1 – 6 of 6) sorted by relevance
/sound/soc/fsl/ |
D | fsl_asrc.c | 25 dev_err(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__) 28 dev_dbg(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__) 213 struct fsl_asrc *asrc = pair->asrc; in fsl_asrc_request_pair() local 214 struct device *dev = &asrc->pdev->dev; in fsl_asrc_request_pair() 218 spin_lock_irqsave(&asrc->lock, lock_flags); in fsl_asrc_request_pair() 221 if (asrc->pair[i] != NULL) in fsl_asrc_request_pair() 233 } else if (asrc->channel_avail < channels) { in fsl_asrc_request_pair() 237 asrc->channel_avail -= channels; in fsl_asrc_request_pair() 238 asrc->pair[index] = pair; in fsl_asrc_request_pair() 243 spin_unlock_irqrestore(&asrc->lock, lock_flags); in fsl_asrc_request_pair() [all …]
|
D | fsl_asrc_dma.c | 140 struct fsl_asrc *asrc = pair->asrc; in fsl_asrc_dma_hw_params() local 175 dma_params_fe->addr = asrc->paddr + asrc->get_fifo_addr(!dir, index); in fsl_asrc_dma_hw_params() 178 pair->dma_chan[!dir] = asrc->get_dma_channel(pair, !dir); in fsl_asrc_dma_hw_params() 225 if (!asrc->use_edma) { in fsl_asrc_dma_hw_params() 233 tmp_chan = asrc->get_dma_channel(pair, dir); in fsl_asrc_dma_hw_params() 256 width = snd_pcm_format_physical_width(asrc->asrc_format); in fsl_asrc_dma_hw_params() 277 config_be.src_addr = asrc->paddr + asrc->get_fifo_addr(OUT, index); in fsl_asrc_dma_hw_params() 280 config_be.dst_addr = asrc->paddr + asrc->get_fifo_addr(IN, index); in fsl_asrc_dma_hw_params() 324 struct fsl_asrc *asrc = dev_get_drvdata(dev); in fsl_asrc_dma_startup() local 338 pair = kzalloc(sizeof(*pair) + asrc->pair_priv_size, GFP_KERNEL); in fsl_asrc_dma_startup() [all …]
|
D | fsl_asrc_common.h | 39 struct fsl_asrc *asrc; member
|
D | fsl_easrc.c | 174 struct fsl_asrc *easrc = ctx->asrc; in fsl_easrc_set_rs_ratio() 750 struct fsl_asrc *easrc = ctx->asrc; in fsl_easrc_config_one_slot() 1046 struct fsl_asrc *easrc = ctx->asrc; in fsl_easrc_process_format() 1129 struct fsl_asrc *easrc = ctx->asrc; in fsl_easrc_set_ctx_format() 1206 easrc = ctx->asrc; in fsl_easrc_set_ctx_organziation() 1243 struct fsl_asrc *easrc = ctx->asrc; in fsl_easrc_request_context() 1293 easrc = ctx->asrc; in fsl_easrc_release_context() 1312 struct fsl_asrc *easrc = ctx->asrc; in fsl_easrc_start_context() 1330 struct fsl_asrc *easrc = ctx->asrc; in fsl_easrc_stop_context() 1378 struct fsl_asrc *easrc = ctx->asrc; in fsl_easrc_get_dma_channel()
|
D | Makefile | 17 snd-soc-fsl-asrc-objs := fsl_asrc.o fsl_asrc_dma.o 34 obj-$(CONFIG_SND_SOC_FSL_ASRC) += snd-soc-fsl-asrc.o
|
/sound/soc/sof/ |
D | topology.c | 2017 struct sof_ipc_comp_asrc *asrc; in sof_widget_load_asrc() local 2018 size_t ipc_size = sizeof(*asrc); in sof_widget_load_asrc() 2021 asrc = (struct sof_ipc_comp_asrc *) in sof_widget_load_asrc() 2023 if (!asrc) in sof_widget_load_asrc() 2027 asrc->comp.type = SOF_COMP_ASRC; in sof_widget_load_asrc() 2028 asrc->config.hdr.size = sizeof(asrc->config); in sof_widget_load_asrc() 2030 ret = sof_parse_tokens(scomp, asrc, asrc_tokens, in sof_widget_load_asrc() 2039 ret = sof_parse_tokens(scomp, &asrc->config, comp_tokens, in sof_widget_load_asrc() 2050 swidget->widget->name, asrc->source_rate, asrc->sink_rate, in sof_widget_load_asrc() 2051 asrc->asynchronous_mode, asrc->operation_mode); in sof_widget_load_asrc() [all …]
|