/linux-6.1.9/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() 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() [all …]
|
D | fsl_asrc_common.h | 39 struct fsl_asrc *asrc; member
|
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
|
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()
|
/linux-6.1.9/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-6.1.9/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 | nvidia,tegra186-asrc.yaml | 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra186-asrc.yaml# 30 pattern: "^asrc@[0-9a-f]*$" 34 - const: nvidia,tegra186-asrc 37 - nvidia,tegra234-asrc 38 - nvidia,tegra194-asrc 39 - const: nvidia,tegra186-asrc 75 asrc@2910000 { 76 compatible = "nvidia,tegra186-asrc";
|
D | fsl,easrc.yaml | 52 fsl,asrc-rate: 58 fsl,asrc-format: 74 - fsl,asrc-rate 75 - fsl,asrc-format 98 fsl,asrc-rate = <8000>; 99 fsl,asrc-format = <2>;
|
D | fsl-asoc-card.txt | 8 have ASRC (Documentation/devicetree/bindings/sound/fsl,asrc.txt) inside. And 61 - audio-asrc : The phandle of ASRC. It can be absent if there's no 100 audio-asrc = <&asrc>;
|
D | nvidia,tegra210-ahub.yaml | 109 '^asrc@[0-9a-f]+$': 111 $ref: nvidia,tegra186-asrc.yaml#
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | imx6sx-sdb-mqs.dts | 17 audio-asrc = <&asrc>;
|
D | imx6ul.dtsi | 348 asrc: asrc@2034000 { label 349 compatible = "fsl,imx6ul-asrc", "fsl,imx53-asrc"; 368 fsl,asrc-rate = <48000>; 369 fsl,asrc-width = <16>;
|
D | imx6qdl-mba6.dtsi | 116 audio-asrc = <&asrc>;
|
D | imx6sx-sabreauto.dts | 83 audio-asrc = <&asrc>;
|
D | imx6ul-14x14-evk.dtsi | 68 audio-asrc = <&asrc>;
|
D | mba6ulx.dtsi | 145 audio-asrc = <&asrc>;
|
D | imx6sx.dtsi | 401 asrc: asrc@2034000 { label 402 compatible = "fsl,imx6sx-asrc", "fsl,imx53-asrc"; 422 fsl,asrc-rate = <48000>; 423 fsl,asrc-width = <16>;
|
D | imx6qdl.dtsi | 459 asrc: asrc@2034000 { label 460 compatible = "fsl,imx53-asrc"; 479 fsl,asrc-rate = <48000>; 480 fsl,asrc-width = <16>;
|
/linux-6.1.9/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 | 89 audio-asrc = <&easrc>; 105 fsl,asrc-rate = <48000>;
|
D | imx8mn-beacon-baseboard.dtsi | 149 fsl,asrc-rate = <48000>;
|
/linux-6.1.9/sound/soc/sof/ |
D | ipc3-topology.c | 626 struct sof_ipc_comp_asrc *asrc; in sof_ipc3_widget_setup_comp_asrc() local 627 size_t ipc_size = sizeof(*asrc); in sof_ipc3_widget_setup_comp_asrc() 630 asrc = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id); in sof_ipc3_widget_setup_comp_asrc() 631 if (!asrc) in sof_ipc3_widget_setup_comp_asrc() 634 swidget->private = asrc; in sof_ipc3_widget_setup_comp_asrc() 637 asrc->comp.type = SOF_COMP_ASRC; in sof_ipc3_widget_setup_comp_asrc() 638 asrc->config.hdr.size = sizeof(asrc->config); in sof_ipc3_widget_setup_comp_asrc() 641 ret = sof_update_ipc_object(scomp, asrc, SOF_ASRC_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_asrc() 642 swidget->num_tuples, sizeof(*asrc), 1); in sof_ipc3_widget_setup_comp_asrc() 647 ret = sof_update_ipc_object(scomp, &asrc->config, SOF_COMP_TOKENS, in sof_ipc3_widget_setup_comp_asrc() [all …]
|
/linux-6.1.9/sound/soc/intel/avs/ |
D | topology.h | 90 } asrc; member
|