/Linux-v6.6/sound/soc/fsl/ |
D | fsl_asrc.c | 26 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->channel_avail -= channels; in fsl_asrc_request_pair() 242 asrc->pair[index] = pair; in fsl_asrc_request_pair() [all …]
|
D | fsl_asrc_dma.c | 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() 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->get_fifo_addr(OUT, index); in fsl_asrc_dma_hw_params() 293 config_be.dst_addr = asrc->paddr + asrc->get_fifo_addr(IN, index); in fsl_asrc_dma_hw_params() 337 struct fsl_asrc *asrc = dev_get_drvdata(dev); in fsl_asrc_dma_startup() local 351 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 35 obj-$(CONFIG_SND_SOC_FSL_ASRC) += snd-soc-fsl-asrc.o
|
/Linux-v6.6/sound/soc/tegra/ |
D | tegra186_asrc.c | 71 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->regmap); in tegra186_asrc_runtime_resume() [all …]
|
D | Makefile | 14 snd-soc-tegra186-asrc-objs := tegra186_asrc.o 34 obj-$(CONFIG_SND_SOC_TEGRA186_ASRC) += snd-soc-tegra186-asrc.o
|
/Linux-v6.6/Documentation/devicetree/bindings/sound/ |
D | fsl,asrc.txt | 13 "fsl,imx35-asrc", 14 "fsl,imx53-asrc", 15 "fsl,imx8qm-asrc", 16 "fsl,imx8qxp-asrc", 39 - fsl,asrc-rate : Defines a mutual sample rate used by DPCM Back Ends. 41 - fsl,asrc-width : Defines a mutual sample width used by DPCM Back Ends. 43 - fsl,asrc-clk-map : Defines clock map used in driver. which is required 54 - fsl,asrc-format : Defines a mutual sample format used by DPCM Back 55 Ends, which can replace the fsl,asrc-width. 60 asrc: asrc@2034000 { [all …]
|
D | fsl-asoc-card.txt | 8 have ASRC (Documentation/devicetree/bindings/sound/fsl,asrc.txt) inside. And 63 - audio-asrc : The phandle of ASRC. It can be absent if there's no 102 audio-asrc = <&asrc>;
|
/Linux-v6.6/arch/arm/boot/dts/nxp/imx/ |
D | imx6sx-sdb-mqs.dts | 17 audio-asrc = <&asrc>;
|
D | imx6ul.dtsi | 347 asrc: asrc@2034000 { label 348 compatible = "fsl,imx6ul-asrc", "fsl,imx53-asrc"; 367 fsl,asrc-rate = <48000>; 368 fsl,asrc-width = <16>;
|
D | imx6sx-sabreauto.dts | 83 audio-asrc = <&asrc>;
|
D | imx6qdl-mba6.dtsi | 116 audio-asrc = <&asrc>;
|
D | imx6ul-14x14-evk.dtsi | 70 audio-asrc = <&asrc>;
|
D | mba6ulx.dtsi | 145 audio-asrc = <&asrc>;
|
D | imx6sx.dtsi | 400 asrc: asrc@2034000 { label 401 compatible = "fsl,imx6sx-asrc", "fsl,imx53-asrc"; 421 fsl,asrc-rate = <48000>; 422 fsl,asrc-width = <16>;
|
D | imx6qdl.dtsi | 458 asrc: asrc@2034000 { label 459 compatible = "fsl,imx53-asrc"; 478 fsl,asrc-rate = <48000>; 479 fsl,asrc-width = <16>;
|
D | imx6qdl-sabreauto.dtsi | 129 audio-asrc = <&asrc>;
|
D | imx6qdl-sabresd.dtsi | 104 audio-asrc = <&asrc>;
|
/Linux-v6.6/arch/arm64/boot/dts/freescale/ |
D | imx8mn-bsh-smm-s2pro.dts | 26 audio-asrc = <&easrc>; 42 fsl,asrc-rate = <48000>; 43 fsl,asrc-format = <10>;
|
D | imx8mn-evk.dtsi | 102 audio-asrc = <&easrc>; 118 fsl,asrc-rate = <48000>;
|
D | imx8mn-beacon-baseboard.dtsi | 207 fsl,asrc-rate = <48000>;
|
/Linux-v6.6/sound/soc/sof/ |
D | ipc3-topology.c | 637 struct sof_ipc_comp_asrc *asrc; in sof_ipc3_widget_setup_comp_asrc() local 638 size_t ipc_size = sizeof(*asrc); in sof_ipc3_widget_setup_comp_asrc() 641 asrc = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id); in sof_ipc3_widget_setup_comp_asrc() 642 if (!asrc) in sof_ipc3_widget_setup_comp_asrc() 645 swidget->private = asrc; in sof_ipc3_widget_setup_comp_asrc() 648 asrc->comp.type = SOF_COMP_ASRC; in sof_ipc3_widget_setup_comp_asrc() 649 asrc->config.hdr.size = sizeof(asrc->config); in sof_ipc3_widget_setup_comp_asrc() 652 ret = sof_update_ipc_object(scomp, asrc, SOF_ASRC_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_asrc() 653 swidget->num_tuples, sizeof(*asrc), 1); in sof_ipc3_widget_setup_comp_asrc() 658 ret = sof_update_ipc_object(scomp, &asrc->config, SOF_COMP_TOKENS, in sof_ipc3_widget_setup_comp_asrc() [all …]
|
/Linux-v6.6/sound/soc/intel/avs/ |
D | topology.h | 90 } asrc; member
|
D | path.c | 376 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()
|