Home
last modified time | relevance | path

Searched full:asrc (Results 1 – 25 of 182) sorted by relevance

12345678

/kernel/linux/linux-6.6/sound/soc/fsl/
Dfsl_asrc.c3 // Freescale ASRC ALSA SoC Digital Audio Interface (DAI) driver
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__)
206 * fsl_asrc_request_pair - Request ASRC pair
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()
[all …]
Dfsl_easrc.h16 /* ASRC Input Write FIFO */
18 /* ASRC Output Read FIFO */
20 /* ASRC Context Control */
22 /* ASRC Context Control Extended 1 */
24 /* ASRC Context Control Extended 2 */
26 /* ASRC Control Input Access */
28 /* ASRC Datapath Processor Control Slot0 */
33 /* ASRC Datapath Processor Control Slot1 */
38 /* ASRC Context Output Control */
40 /* ASRC Control Output Access */
[all …]
Dfsl_asrc_dma.c3 // Freescale ASRC ALSA SoC Platform (DMA) driver
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
[all …]
Dfsl-asoc-card.c3 // Freescale Generic ASoC Sound Card driver with ASRC
90 * @asrc_rate: ASRC sample rate used by Back-Ends
91 * @asrc_format: ASRC sample format used by Back-Ends
117 * Note: keep all ASRC routes in the second half
118 * to drop them easily for non-ASRC cases.
124 /* 2nd half -- ASRC DAPM routes */
125 {"CPU-Playback", NULL, "ASRC-Playback"},
126 {"ASRC-Capture", NULL, "CPU-Capture"},
133 /* 2nd half -- ASRC DAPM routes */
134 {"CPU AC97 Playback", NULL, "ASRC-Playback"},
[all …]
Dfsl_asrc_common.h25 * fsl_asrc_pair: ASRC Pair common data
27 * @asrc: pointer to its parent module
39 struct fsl_asrc *asrc; member
55 * fsl_asrc: ASRC common data
105 #define DRV_NAME "fsl-asrc-dai"
DKconfig7 tristate "Asynchronous Sample Rate Converter (ASRC) module support"
12 Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)
96 Say Y if you want to add Enhanced ASRC support for NXP. The ASRC is
99 old ASRC.
320 tristate "Generic ASoC Sound Card with ASRC support"
334 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_asrc.c3 // Freescale ASRC ALSA SoC Digital Audio Interface (DAI) driver
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__)
202 * fsl_asrc_request_pair - Request ASRC pair
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()
[all …]
Dfsl_easrc.h16 /* ASRC Input Write FIFO */
18 /* ASRC Output Read FIFO */
20 /* ASRC Context Control */
22 /* ASRC Context Control Extended 1 */
24 /* ASRC Context Control Extended 2 */
26 /* ASRC Control Input Access */
28 /* ASRC Datapath Processor Control Slot0 */
33 /* ASRC Datapath Processor Control Slot1 */
38 /* ASRC Context Output Control */
40 /* ASRC Control Output Access */
[all …]
Dfsl_asrc_dma.c3 // Freescale ASRC ALSA SoC Platform (DMA) driver
140 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->get_fifo_addr(OUT, index); in fsl_asrc_dma_hw_params()
277 config_be.dst_addr = asrc->paddr + asrc->get_fifo_addr(IN, index); in fsl_asrc_dma_hw_params()
325 struct fsl_asrc *asrc = dev_get_drvdata(dev); in fsl_asrc_dma_startup() local
[all …]
Dfsl-asoc-card.c3 // Freescale Generic ASoC Sound Card driver with ASRC
79 * @asrc_rate: ASRC sample rate used by Back-Ends
80 * @asrc_format: ASRC sample format used by Back-Ends
106 * Note: keep all ASRC routes in the second half
107 * to drop them easily for non-ASRC cases.
113 /* 2nd half -- ASRC DAPM routes */
114 {"CPU-Playback", NULL, "ASRC-Playback"},
115 {"ASRC-Capture", NULL, "CPU-Capture"},
122 /* 2nd half -- ASRC DAPM routes */
123 {"CPU AC97 Playback", NULL, "ASRC-Playback"},
[all …]
Dfsl_asrc_common.h25 * fsl_asrc_pair: ASRC Pair common data
27 * @asrc: pointer to its parent module
39 struct fsl_asrc *asrc; member
55 * fsl_asrc: ASRC common data
105 #define DRV_NAME "fsl-asrc-dai"
DKconfig7 tristate "Asynchronous Sample Rate Converter (ASRC) module support"
12 Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)
93 Say Y if you want to add Enhanced ASRC support for NXP. The ASRC is
96 old ASRC.
314 tristate "Generic ASoC Sound Card with ASRC support"
325 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
/kernel/linux/linux-6.6/sound/soc/tegra/
Dtegra186_asrc.c3 // tegra186_asrc.c - Tegra186 ASRC driver
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()
[all …]
Dtegra186_asrc.h3 * tegra186_asrc.h - Definitions for Tegra186 ASRC driver
12 /* ASRC stream related offset */
35 /* ASRC Global registers offset */
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dnvidia,tegra186-asrc.yaml4 $id: http://devicetree.org/schemas/sound/nvidia,tegra186-asrc.yaml#
7 title: Tegra186 ASRC
10 Asynchronous Sample Rate Converter (ASRC) converts the sampling frequency
13 ASRC has two modes of operation. One where ratio can be programmed in SW
30 pattern: "^asrc@[0-9a-f]*$"
34 - const: nvidia,tegra186-asrc
37 - nvidia,tegra234-asrc
38 - nvidia,tegra194-asrc
39 - const: nvidia,tegra186-asrc
45 pattern: "^ASRC[1-9]$"
[all …]
Dfsl,asrc.txt1 Freescale Asynchronous Sample Rate Converter (ASRC) Controller
3 The Asynchronous Sample Rate Converter (ASRC) converts the sampling rate of a
13 "fsl,imx35-asrc",
14 "fsl,imx53-asrc",
15 "fsl,imx8qm-asrc",
16 "fsl,imx8qxp-asrc",
33 "spba" The spba clock is required when ASRC is placed as a
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
[all …]
Dfsl-asoc-card.txt1 Freescale Generic ASoC Sound Card with ASRC support
8 have ASRC (Documentation/devicetree/bindings/sound/fsl,asrc.txt) inside. And
14 sample rates support through ASRC.
63 - audio-asrc : The phandle of ASRC. It can be absent if there's no
64 need to add ASRC support via DPCM.
102 audio-asrc = <&asrc>;
Dfsl,easrc.yaml7 title: NXP Asynchronous Sample Rate Converter (ASRC) Controller
58 fsl,asrc-rate:
64 fsl,asrc-format:
80 - fsl,asrc-rate
81 - fsl,asrc-format
104 fsl,asrc-rate = <8000>;
105 fsl,asrc-format = <2>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dfsl,asrc.txt1 Freescale Asynchronous Sample Rate Converter (ASRC) Controller
3 The Asynchronous Sample Rate Converter (ASRC) converts the sampling rate of a
13 "fsl,imx35-asrc",
14 "fsl,imx53-asrc",
15 "fsl,imx8qm-asrc",
16 "fsl,imx8qxp-asrc",
33 "spba" The spba clock is required when ASRC is placed as a
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
[all …]
Dfsl-asoc-card.txt1 Freescale Generic ASoC Sound Card with ASRC support
8 have ASRC (Documentation/devicetree/bindings/sound/fsl,asrc.txt) inside. And
14 sample rates support through ASRC.
55 - audio-asrc : The phandle of ASRC. It can be absent if there's no
56 need to add ASRC support via DPCM.
93 audio-asrc = <&asrc>;
Dfsl,easrc.yaml7 title: NXP Asynchronous Sample Rate Converter (ASRC) Controller
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>;
/kernel/linux/linux-6.6/sound/soc/codecs/
Dcs42l43.c72 { name_str, "ASRC INT1", "ASRC_INT1" }, \
73 { name_str, "ASRC INT2", "ASRC_INT2" }, \
74 { name_str, "ASRC INT3", "ASRC_INT3" }, \
75 { name_str, "ASRC INT4", "ASRC_INT4" }, \
76 { name_str, "ASRC DEC1", "ASRC_DEC1" }, \
77 { name_str, "ASRC DEC2", "ASRC_DEC2" }, \
78 { name_str, "ASRC DEC3", "ASRC_DEC3" }, \
79 { name_str, "ASRC DEC4", "ASRC_DEC4" }, \
755 "ASRC INT1", "ASRC INT2", "ASRC INT3", "ASRC INT4",
756 "ASRC DEC1", "ASRC DEC2", "ASRC DEC3", "ASRC DEC4",
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/
Dimx8mn-bsh-smm-s2pro.dts26 audio-asrc = <&easrc>;
42 fsl,asrc-rate = <48000>;
43 fsl,asrc-format = <10>;
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6sx-sdb-mqs.dts17 audio-asrc = <&asrc>;
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
Dimx6sx-sdb-mqs.dts17 audio-asrc = <&asrc>;

12345678