Home
last modified time | relevance | path

Searched refs:asrc (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-6.6/sound/soc/fsl/
H A Dfsl_asrc.c26 dev_err(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__)
29 dev_dbg(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__)
32 dev_warn(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__)
217 struct fsl_asrc *asrc = pair->asrc; in fsl_asrc_request_pair() local
218 struct device *dev = &asrc->pdev->dev; in fsl_asrc_request_pair()
222 spin_lock_irqsave(&asrc->lock, lock_flags); in fsl_asrc_request_pair()
225 if (asrc->pair[i] != NULL) in fsl_asrc_request_pair()
237 } else if (asrc->channel_avail < channels) { in fsl_asrc_request_pair()
241 asrc in fsl_asrc_request_pair()
260 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_release_pair() local
285 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_set_watermarks() local
326 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_set_ideal_ratio() local
381 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_config_pair() local
584 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_start_pair() local
618 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_stop_pair() local
634 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_get_dma_channel() local
646 struct fsl_asrc *asrc = snd_soc_dai_get_drvdata(dai); fsl_asrc_dai_startup() local
701 struct fsl_asrc *asrc = snd_soc_dai_get_drvdata(dai); fsl_asrc_dai_hw_params() local
785 struct fsl_asrc *asrc = snd_soc_dai_get_drvdata(dai); fsl_asrc_dai_probe() local
975 fsl_asrc_init(struct fsl_asrc *asrc) fsl_asrc_init() argument
1013 struct fsl_asrc *asrc = (struct fsl_asrc *)dev_id; fsl_asrc_isr() local
1073 struct fsl_asrc *asrc; fsl_asrc_probe() local
1264 struct fsl_asrc *asrc = dev_get_drvdata(dev); fsl_asrc_runtime_resume() local
1339 struct fsl_asrc *asrc = dev_get_drvdata(dev); fsl_asrc_runtime_suspend() local
[all...]
H A Dfsl_asrc_dma.c141 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()
226 if (!asrc->use_edma) { in fsl_asrc_dma_hw_params()
235 tmp_chan = asrc->get_dma_channel(pair, dir); in fsl_asrc_dma_hw_params()
258 width = snd_pcm_format_physical_width(asrc->asrc_format); in fsl_asrc_dma_hw_params()
290 config_be.src_addr = asrc->paddr + asrc in fsl_asrc_dma_hw_params()
337 struct fsl_asrc *asrc = dev_get_drvdata(dev); fsl_asrc_dma_startup() local
411 struct fsl_asrc *asrc; fsl_asrc_dma_shutdown() local
[all...]
H A Dfsl_asrc_common.h27 * @asrc: pointer to its parent module
39 struct fsl_asrc *asrc; member
105 #define DRV_NAME "fsl-asrc-dai"
H A Dfsl_easrc.c174 struct fsl_asrc *easrc = ctx->asrc; in fsl_easrc_set_rs_ratio()
513 * The audio float point data range is (-1, 1), the asrc would output in fsl_easrc_prefilter_config()
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()
[all...]
H A DMakefile17 snd-soc-fsl-asrc-objs := fsl_asrc.o fsl_asrc_dma.o
35 obj-$(CONFIG_SND_SOC_FSL_ASRC) += snd-soc-fsl-asrc.o
/kernel/linux/linux-5.10/sound/soc/fsl/
H A Dfsl_asrc.c25 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 in fsl_asrc_request_pair()
256 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_release_pair() local
281 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_set_watermarks() local
322 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_set_ideal_ratio() local
377 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_config_pair() local
580 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_start_pair() local
610 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_stop_pair() local
626 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_get_dma_channel() local
638 struct fsl_asrc *asrc = snd_soc_dai_get_drvdata(dai); fsl_asrc_dai_startup() local
693 struct fsl_asrc *asrc = snd_soc_dai_get_drvdata(dai); fsl_asrc_dai_hw_params() local
784 struct fsl_asrc *asrc = snd_soc_dai_get_drvdata(dai); fsl_asrc_dai_probe() local
967 fsl_asrc_init(struct fsl_asrc *asrc) fsl_asrc_init() argument
1005 struct fsl_asrc *asrc = (struct fsl_asrc *)dev_id; fsl_asrc_isr() local
1062 struct fsl_asrc *asrc; fsl_asrc_probe() local
1233 struct fsl_asrc *asrc = dev_get_drvdata(dev); fsl_asrc_runtime_resume() local
1289 struct fsl_asrc *asrc = dev_get_drvdata(dev); fsl_asrc_runtime_suspend() local
[all...]
H A Dfsl_asrc_dma.c140 struct fsl_asrc *asrc = pair->asrc; in fsl_asrc_dma_hw_params() local
174 dma_params_fe->addr = asrc->paddr + asrc->get_fifo_addr(!dir, index); in fsl_asrc_dma_hw_params()
177 pair->dma_chan[!dir] = asrc->get_dma_channel(pair, !dir); in fsl_asrc_dma_hw_params()
224 if (!asrc->use_edma) { in fsl_asrc_dma_hw_params()
232 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()
274 config_be.src_addr = asrc->paddr + asrc in fsl_asrc_dma_hw_params()
325 struct fsl_asrc *asrc = dev_get_drvdata(dev); fsl_asrc_dma_startup() local
399 struct fsl_asrc *asrc; fsl_asrc_dma_shutdown() local
[all...]
H A Dfsl_asrc_common.h27 * @asrc: pointer to its parent module
39 struct fsl_asrc *asrc; member
105 #define DRV_NAME "fsl-asrc-dai"
H A DMakefile17 snd-soc-fsl-asrc-objs := fsl_asrc.o fsl_asrc_dma.o
31 obj-$(CONFIG_SND_SOC_FSL_ASRC) += snd-soc-fsl-asrc.o
H A Dfsl_easrc.c174 struct fsl_asrc *easrc = ctx->asrc; in fsl_easrc_set_rs_ratio()
513 * The audio float point data range is (-1, 1), the asrc would output in fsl_easrc_prefilter_config()
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()
[all...]
/kernel/linux/linux-6.6/sound/soc/tegra/
H A Dtegra186_asrc.c71 static void tegra186_asrc_lock_stream(struct tegra186_asrc *asrc, in tegra186_asrc_lock_stream() argument
74 regmap_write(asrc->regmap, in tegra186_asrc_lock_stream()
82 struct tegra186_asrc *asrc = dev_get_drvdata(dev); in tegra186_asrc_runtime_suspend() local
84 regcache_cache_only(asrc->regmap, true); in tegra186_asrc_runtime_suspend()
85 regcache_mark_dirty(asrc->regmap); in tegra186_asrc_runtime_suspend()
92 struct tegra186_asrc *asrc = dev_get_drvdata(dev); in tegra186_asrc_runtime_resume() local
95 regcache_cache_only(asrc->regmap, false); in tegra186_asrc_runtime_resume()
102 regmap_write(asrc->regmap, TEGRA186_ASRC_GLOBAL_SCRATCH_ADDR, in tegra186_asrc_runtime_resume()
104 regmap_write(asrc->regmap, TEGRA186_ASRC_GLOBAL_ENB, in tegra186_asrc_runtime_resume()
107 regcache_sync(asrc in tegra186_asrc_runtime_resume()
130 tegra186_asrc_set_audio_cif(struct tegra186_asrc *asrc, struct snd_pcm_hw_params *params, unsigned int reg) tegra186_asrc_set_audio_cif() argument
168 struct tegra186_asrc *asrc = snd_soc_dai_get_drvdata(dai); tegra186_asrc_in_hw_params() local
191 struct tegra186_asrc *asrc = snd_soc_dai_get_drvdata(dai); tegra186_asrc_out_hw_params() local
247 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); tegra186_asrc_get_ratio_source() local
261 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); tegra186_asrc_put_ratio_source() local
281 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); tegra186_asrc_get_ratio_int() local
299 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); tegra186_asrc_put_ratio_int() local
329 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); tegra186_asrc_get_ratio_frac() local
347 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); tegra186_asrc_put_ratio_frac() local
377 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); tegra186_asrc_get_hwcomp_disable() local
391 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); tegra186_asrc_put_hwcomp_disable() local
409 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); tegra186_asrc_get_input_threshold() local
423 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); tegra186_asrc_put_input_threshold() local
442 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); tegra186_asrc_get_output_threshold() local
456 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); tegra186_asrc_put_output_threshold() local
473 struct tegra186_asrc *asrc = dev_get_drvdata(cmpnt->dev); tegra186_asrc_widget_event() local
967 struct tegra186_asrc *asrc; tegra186_asrc_platform_probe() local
[all...]
H A DMakefile14 snd-soc-tegra186-asrc-objs := tegra186_asrc.o
34 obj-$(CONFIG_SND_SOC_TEGRA186_ASRC) += snd-soc-tegra186-asrc.o
/kernel/linux/linux-6.6/sound/soc/sof/
H A Dipc3-topology.c639 struct sof_ipc_comp_asrc *asrc; in sof_ipc3_widget_setup_comp_asrc() local
640 size_t ipc_size = sizeof(*asrc); in sof_ipc3_widget_setup_comp_asrc()
643 asrc = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id); in sof_ipc3_widget_setup_comp_asrc()
644 if (!asrc) in sof_ipc3_widget_setup_comp_asrc()
647 swidget->private = asrc; in sof_ipc3_widget_setup_comp_asrc()
650 asrc->comp.type = SOF_COMP_ASRC; in sof_ipc3_widget_setup_comp_asrc()
651 asrc->config.hdr.size = sizeof(asrc->config); in sof_ipc3_widget_setup_comp_asrc()
653 /* parse one set of asrc tokens */ in sof_ipc3_widget_setup_comp_asrc()
654 ret = sof_update_ipc_object(scomp, asrc, SOF_ASRC_TOKEN in sof_ipc3_widget_setup_comp_asrc()
[all...]
/kernel/linux/linux-5.10/sound/soc/sof/
H A Dtopology.c2010 struct sof_ipc_comp_asrc *asrc; in sof_widget_load_asrc() local
2011 size_t ipc_size = sizeof(*asrc); in sof_widget_load_asrc()
2014 asrc = (struct sof_ipc_comp_asrc *) in sof_widget_load_asrc()
2016 if (!asrc) in sof_widget_load_asrc()
2020 asrc->comp.type = SOF_COMP_ASRC; in sof_widget_load_asrc()
2021 asrc->config.hdr.size = sizeof(asrc->config); in sof_widget_load_asrc()
2023 ret = sof_parse_tokens(scomp, asrc, asrc_tokens, in sof_widget_load_asrc()
2027 dev_err(scomp->dev, "error: parse asrc tokens failed %d\n", in sof_widget_load_asrc()
2032 ret = sof_parse_tokens(scomp, &asrc in sof_widget_load_asrc()
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/avs/
H A Dtopology.h90 } asrc; member
H A Dpath.c376 cfg.out_freq = t->cfg_ext->asrc.out_freq; in avs_asrc_create()
377 cfg.mode = t->cfg_ext->asrc.mode; in avs_asrc_create()
378 cfg.disable_jitter_buffer = t->cfg_ext->asrc.disable_jitter_buffer; in avs_asrc_create()
H A Dtopology.c696 .offset = offsetof(struct avs_tplg_modcfg_ext, asrc.out_freq),
702 .offset = offsetof(struct avs_tplg_modcfg_ext, asrc.mode),
708 .offset = offsetof(struct avs_tplg_modcfg_ext, asrc.disable_jitter_buffer),

Completed in 26 milliseconds