/kernel/linux/linux-5.10/sound/soc/meson/ |
D | aiu.c | 83 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_cpu_component_probe() local 86 return clk_prepare_enable(aiu->i2s.clks[PCLK].clk); in aiu_cpu_component_probe() 91 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_cpu_component_remove() local 93 clk_disable_unprepare(aiu->i2s.clks[PCLK].clk); in aiu_cpu_component_remove() 217 struct aiu *aiu = dev_get_drvdata(dev); in aiu_clk_get() local 220 aiu->pclk = devm_clk_get(dev, "pclk"); in aiu_clk_get() 221 if (IS_ERR(aiu->pclk)) { in aiu_clk_get() 222 if (PTR_ERR(aiu->pclk) != -EPROBE_DEFER) in aiu_clk_get() 224 return PTR_ERR(aiu->pclk); in aiu_clk_get() 227 aiu->spdif_mclk = devm_clk_get(dev, "spdif_mclk"); in aiu_clk_get() [all …]
|
D | Makefile | 3 snd-soc-meson-aiu-objs := aiu.o 4 snd-soc-meson-aiu-objs += aiu-acodec-ctrl.o 5 snd-soc-meson-aiu-objs += aiu-codec-ctrl.o 6 snd-soc-meson-aiu-objs += aiu-encoder-i2s.o 7 snd-soc-meson-aiu-objs += aiu-encoder-spdif.o 8 snd-soc-meson-aiu-objs += aiu-fifo.o 9 snd-soc-meson-aiu-objs += aiu-fifo-i2s.o 10 snd-soc-meson-aiu-objs += aiu-fifo-spdif.o 29 obj-$(CONFIG_SND_MESON_AIU) += snd-soc-meson-aiu.o
|
D | aiu-encoder-spdif.c | 100 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_encoder_spdif_hw_params() local 144 ret = clk_set_rate(aiu->spdif.clks[MCLK].clk, mrate); in aiu_encoder_spdif_hw_params() 168 struct aiu *aiu = snd_soc_component_get_drvdata(dai->component); in aiu_encoder_spdif_startup() local 183 ret = clk_set_parent(aiu->spdif.clks[MCLK].clk, in aiu_encoder_spdif_startup() 184 aiu->spdif_mclk); in aiu_encoder_spdif_startup() 188 ret = clk_bulk_prepare_enable(aiu->spdif.clk_num, aiu->spdif.clks); in aiu_encoder_spdif_startup() 198 struct aiu *aiu = snd_soc_component_get_drvdata(dai->component); in aiu_encoder_spdif_shutdown() local 200 clk_bulk_disable_unprepare(aiu->spdif.clk_num, aiu->spdif.clks); in aiu_encoder_spdif_shutdown()
|
D | aiu-encoder-i2s.c | 147 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_encoder_i2s_set_clocks() local 153 fs = DIV_ROUND_CLOSEST(clk_get_rate(aiu->i2s.clks[MCLK].clk), srate); in aiu_encoder_i2s_set_clocks() 171 if (aiu->platform->has_clk_ctrl_more_i2s_div) in aiu_encoder_i2s_set_clocks() 270 struct aiu *aiu = snd_soc_component_get_drvdata(dai->component); in aiu_encoder_i2s_set_sysclk() local 279 ret = clk_set_rate(aiu->i2s.clks[MCLK].clk, freq); in aiu_encoder_i2s_set_sysclk() 296 struct aiu *aiu = snd_soc_component_get_drvdata(dai->component); in aiu_encoder_i2s_startup() local 308 ret = clk_bulk_prepare_enable(aiu->i2s.clk_num, aiu->i2s.clks); in aiu_encoder_i2s_startup() 318 struct aiu *aiu = snd_soc_component_get_drvdata(dai->component); in aiu_encoder_i2s_shutdown() local 320 clk_bulk_disable_unprepare(aiu->i2s.clk_num, aiu->i2s.clks); in aiu_encoder_i2s_shutdown()
|
D | aiu-fifo-i2s.c | 154 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_fifo_i2s_dai_probe() local 167 fifo->pclk = aiu->i2s.clks[PCLK].clk; in aiu_fifo_i2s_dai_probe() 168 fifo->irq = aiu->i2s.irq; in aiu_fifo_i2s_dai_probe()
|
D | aiu-fifo-spdif.c | 169 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_fifo_spdif_dai_probe() local 182 fifo->pclk = aiu->spdif.clks[PCLK].clk; in aiu_fifo_spdif_dai_probe() 183 fifo->irq = aiu->spdif.irq; in aiu_fifo_spdif_dai_probe()
|
D | aiu.h | 35 struct aiu { struct
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
D | meson-gx-p23x-q20x.dtsi | 11 #include <dt-bindings/sound/meson-aiu.h> 143 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 147 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 151 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 156 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 160 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 165 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 173 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 181 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 195 &aiu {
|
D | meson-gxl-s805x-libretech-ac.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 136 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 140 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 145 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 149 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 154 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 162 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 176 &aiu {
|
D | meson-gxl-s905x-libretech-cc.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 155 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 159 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 164 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 168 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 173 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 181 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 195 &aiu {
|
D | meson-gxl-s905x-libretech-cc-v2.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 175 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 179 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 184 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 189 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 199 &aiu {
|
D | meson-gx-libretech-pc.dtsi | 11 #include <dt-bindings/sound/meson-aiu.h> 207 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 211 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 216 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 220 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 225 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 233 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 247 &aiu {
|
D | meson-gxbb.dtsi | 64 &aiu { 65 compatible = "amlogic,aiu-gxbb", "amlogic,aiu";
|
D | meson-gxl.dtsi | 80 &aiu { 81 compatible = "amlogic,aiu-gxl", "amlogic,aiu";
|
D | meson-gx.dtsi | 282 aiu: audio-controller@5400 { label 283 compatible = "amlogic,aiu";
|