Searched refs:aiu (Results 1 – 7 of 7) sorted by relevance
/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 | 153 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_fifo_i2s_dai_probe() local 166 fifo->pclk = aiu->i2s.clks[PCLK].clk; in aiu_fifo_i2s_dai_probe() 167 fifo->irq = aiu->i2s.irq; in aiu_fifo_i2s_dai_probe()
|
D | aiu-fifo-spdif.c | 168 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_fifo_spdif_dai_probe() local 181 fifo->pclk = aiu->spdif.clks[PCLK].clk; in aiu_fifo_spdif_dai_probe() 182 fifo->irq = aiu->spdif.irq; in aiu_fifo_spdif_dai_probe()
|
D | aiu.h | 35 struct aiu { struct
|