Lines Matching +full:out +full:-
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
17 #include <sound/soc-dai.h>
19 #include "axg-fifo.h"
41 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_frddr_dai_prepare()
43 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_frddr_dai_prepare()
45 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_frddr_dai_prepare()
61 depth = min(period, fifo->depth); in axg_frddr_dai_hw_params()
62 val = (depth / AXG_FIFO_BURST) - 1; in axg_frddr_dai_hw_params()
63 regmap_update_bits(fifo->map, FIFO_CTRL1, CTRL1_FRDDR_DEPTH, in axg_frddr_dai_hw_params()
76 ret = clk_prepare_enable(fifo->pclk); in axg_frddr_dai_startup()
81 regmap_update_bits(fifo->map, FIFO_CTRL0, CTRL0_FRDDR_PP_MODE, 0); in axg_frddr_dai_startup()
91 clk_disable_unprepare(fifo->pclk); in axg_frddr_dai_shutdown()
122 "OUT 0", "OUT 1", "OUT 2", "OUT 3", "OUT 4", "OUT 5", "OUT 6", "OUT 7",
134 SND_SOC_DAPM_AIF_OUT("OUT 0", NULL, 0, SND_SOC_NOPM, 0, 0),
135 SND_SOC_DAPM_AIF_OUT("OUT 1", NULL, 0, SND_SOC_NOPM, 0, 0),
136 SND_SOC_DAPM_AIF_OUT("OUT 2", NULL, 0, SND_SOC_NOPM, 0, 0),
137 SND_SOC_DAPM_AIF_OUT("OUT 3", NULL, 0, SND_SOC_NOPM, 0, 0),
138 SND_SOC_DAPM_AIF_OUT("OUT 4", NULL, 0, SND_SOC_NOPM, 0, 0),
139 SND_SOC_DAPM_AIF_OUT("OUT 5", NULL, 0, SND_SOC_NOPM, 0, 0),
140 SND_SOC_DAPM_AIF_OUT("OUT 6", NULL, 0, SND_SOC_NOPM, 0, 0),
141 SND_SOC_DAPM_AIF_OUT("OUT 7", NULL, 0, SND_SOC_NOPM, 0, 0),
146 { "OUT 0", "OUT 0", "SINK SEL" },
147 { "OUT 1", "OUT 1", "SINK SEL" },
148 { "OUT 2", "OUT 2", "SINK SEL" },
149 { "OUT 3", "OUT 3", "SINK SEL" },
150 { "OUT 4", "OUT 4", "SINK SEL" },
151 { "OUT 5", "OUT 5", "SINK SEL" },
152 { "OUT 6", "OUT 6", "SINK SEL" },
153 { "OUT 7", "OUT 7", "SINK SEL" },
238 SND_SOC_DAPM_AIF_OUT("OUT 0", NULL, 0, SND_SOC_NOPM, 0, 0),
239 SND_SOC_DAPM_AIF_OUT("OUT 1", NULL, 0, SND_SOC_NOPM, 0, 0),
240 SND_SOC_DAPM_AIF_OUT("OUT 2", NULL, 0, SND_SOC_NOPM, 0, 0),
241 SND_SOC_DAPM_AIF_OUT("OUT 3", NULL, 0, SND_SOC_NOPM, 0, 0),
242 SND_SOC_DAPM_AIF_OUT("OUT 4", NULL, 0, SND_SOC_NOPM, 0, 0),
243 SND_SOC_DAPM_AIF_OUT("OUT 5", NULL, 0, SND_SOC_NOPM, 0, 0),
244 SND_SOC_DAPM_AIF_OUT("OUT 6", NULL, 0, SND_SOC_NOPM, 0, 0),
245 SND_SOC_DAPM_AIF_OUT("OUT 7", NULL, 0, SND_SOC_NOPM, 0, 0),
258 { "OUT 0", "OUT 0", "SINK 1 SEL" },
259 { "OUT 1", "OUT 1", "SINK 1 SEL" },
260 { "OUT 2", "OUT 2", "SINK 1 SEL" },
261 { "OUT 3", "OUT 3", "SINK 1 SEL" },
262 { "OUT 4", "OUT 4", "SINK 1 SEL" },
263 { "OUT 5", "OUT 5", "SINK 1 SEL" },
264 { "OUT 6", "OUT 6", "SINK 1 SEL" },
265 { "OUT 7", "OUT 7", "SINK 1 SEL" },
266 { "OUT 0", "OUT 0", "SINK 2 SEL" },
267 { "OUT 1", "OUT 1", "SINK 2 SEL" },
268 { "OUT 2", "OUT 2", "SINK 2 SEL" },
269 { "OUT 3", "OUT 3", "SINK 2 SEL" },
270 { "OUT 4", "OUT 4", "SINK 2 SEL" },
271 { "OUT 5", "OUT 5", "SINK 2 SEL" },
272 { "OUT 6", "OUT 6", "SINK 2 SEL" },
273 { "OUT 7", "OUT 7", "SINK 2 SEL" },
274 { "OUT 0", "OUT 0", "SINK 3 SEL" },
275 { "OUT 1", "OUT 1", "SINK 3 SEL" },
276 { "OUT 2", "OUT 2", "SINK 3 SEL" },
277 { "OUT 3", "OUT 3", "SINK 3 SEL" },
278 { "OUT 4", "OUT 4", "SINK 3 SEL" },
279 { "OUT 5", "OUT 5", "SINK 3 SEL" },
280 { "OUT 6", "OUT 6", "SINK 3 SEL" },
281 { "OUT 7", "OUT 7", "SINK 3 SEL" },
345 SND_SOC_DAPM_AIF_OUT("OUT 0", NULL, 0, SND_SOC_NOPM, 0, 0),
346 SND_SOC_DAPM_AIF_OUT("OUT 1", NULL, 0, SND_SOC_NOPM, 0, 0),
347 SND_SOC_DAPM_AIF_OUT("OUT 2", NULL, 0, SND_SOC_NOPM, 0, 0),
348 SND_SOC_DAPM_AIF_OUT("OUT 3", NULL, 0, SND_SOC_NOPM, 0, 0),
349 SND_SOC_DAPM_AIF_OUT("OUT 4", NULL, 0, SND_SOC_NOPM, 0, 0),
350 SND_SOC_DAPM_AIF_OUT("OUT 5", NULL, 0, SND_SOC_NOPM, 0, 0),
351 SND_SOC_DAPM_AIF_OUT("OUT 6", NULL, 0, SND_SOC_NOPM, 0, 0),
352 SND_SOC_DAPM_AIF_OUT("OUT 7", NULL, 0, SND_SOC_NOPM, 0, 0),
377 .compatible = "amlogic,axg-frddr",
380 .compatible = "amlogic,g12a-frddr",
383 .compatible = "amlogic,sm1-frddr",
392 .name = "axg-frddr",