Symbol: aiu
sound/soc/meson/aiu-encoder-i2s.c
147
struct aiu *aiu = snd_soc_component_get_drvdata(component);
sound/soc/meson/aiu-encoder-i2s.c
153
fs = DIV_ROUND_CLOSEST(clk_get_rate(aiu->i2s.clks[MCLK].clk), srate);
sound/soc/meson/aiu-encoder-i2s.c
171
if (aiu->platform->has_clk_ctrl_more_i2s_div)
sound/soc/meson/aiu-encoder-i2s.c
274
struct aiu *aiu = snd_soc_component_get_drvdata(dai->component);
sound/soc/meson/aiu-encoder-i2s.c
283
ret = clk_set_rate(aiu->i2s.clks[MCLK].clk, freq);
sound/soc/meson/aiu-encoder-i2s.c
300
struct aiu *aiu = snd_soc_component_get_drvdata(dai->component);
sound/soc/meson/aiu-encoder-i2s.c
312
ret = clk_bulk_prepare_enable(aiu->i2s.clk_num, aiu->i2s.clks);
sound/soc/meson/aiu-encoder-i2s.c
322
struct aiu *aiu = snd_soc_component_get_drvdata(dai->component);
sound/soc/meson/aiu-encoder-i2s.c
324
clk_bulk_disable_unprepare(aiu->i2s.clk_num, aiu->i2s.clks);
sound/soc/meson/aiu-encoder-spdif.c
100
struct aiu *aiu = snd_soc_component_get_drvdata(component);
sound/soc/meson/aiu-encoder-spdif.c
144
ret = clk_set_rate(aiu->spdif.clks[MCLK].clk, mrate);
sound/soc/meson/aiu-encoder-spdif.c
168
struct aiu *aiu = snd_soc_component_get_drvdata(dai->component);
sound/soc/meson/aiu-encoder-spdif.c
183
ret = clk_set_parent(aiu->spdif.clks[MCLK].clk,
sound/soc/meson/aiu-encoder-spdif.c
184
aiu->spdif_mclk);
sound/soc/meson/aiu-encoder-spdif.c
188
ret = clk_bulk_prepare_enable(aiu->spdif.clk_num, aiu->spdif.clks);
sound/soc/meson/aiu-encoder-spdif.c
198
struct aiu *aiu = snd_soc_component_get_drvdata(dai->component);
sound/soc/meson/aiu-encoder-spdif.c
200
clk_bulk_disable_unprepare(aiu->spdif.clk_num, aiu->spdif.clks);
sound/soc/meson/aiu-fifo-i2s.c
156
struct aiu *aiu = snd_soc_component_get_drvdata(component);
sound/soc/meson/aiu-fifo-i2s.c
169
fifo->pclk = aiu->i2s.clks[PCLK].clk;
sound/soc/meson/aiu-fifo-i2s.c
170
fifo->irq = aiu->i2s.irq;
sound/soc/meson/aiu-fifo-spdif.c
171
struct aiu *aiu = snd_soc_component_get_drvdata(component);
sound/soc/meson/aiu-fifo-spdif.c
184
fifo->pclk = aiu->spdif.clks[PCLK].clk;
sound/soc/meson/aiu-fifo-spdif.c
185
fifo->irq = aiu->spdif.irq;
sound/soc/meson/aiu.c
214
struct aiu *aiu = dev_get_drvdata(dev);
sound/soc/meson/aiu.c
222
aiu->spdif_mclk = devm_clk_get(dev, "spdif_mclk");
sound/soc/meson/aiu.c
223
if (IS_ERR(aiu->spdif_mclk))
sound/soc/meson/aiu.c
224
return dev_err_probe(dev, PTR_ERR(aiu->spdif_mclk),
sound/soc/meson/aiu.c
228
&aiu->i2s);
sound/soc/meson/aiu.c
233
&aiu->spdif);
sound/soc/meson/aiu.c
245
struct aiu *aiu;
sound/soc/meson/aiu.c
248
aiu = devm_kzalloc(dev, sizeof(*aiu), GFP_KERNEL);
sound/soc/meson/aiu.c
249
if (!aiu)
sound/soc/meson/aiu.c
252
aiu->platform = device_get_match_data(dev);
sound/soc/meson/aiu.c
253
if (!aiu->platform)
sound/soc/meson/aiu.c
256
platform_set_drvdata(pdev, aiu);
sound/soc/meson/aiu.c
273
aiu->i2s.irq = platform_get_irq_byname(pdev, "i2s");
sound/soc/meson/aiu.c
274
if (aiu->i2s.irq < 0)
sound/soc/meson/aiu.c
275
return aiu->i2s.irq;
sound/soc/meson/aiu.c
277
aiu->spdif.irq = platform_get_irq_byname(pdev, "spdif");
sound/soc/meson/aiu.c
278
if (aiu->spdif.irq < 0)
sound/soc/meson/aiu.c
279
return aiu->spdif.irq;
sound/soc/meson/aiu.c
302
if (aiu->platform->has_acodec) {
sound/soc/meson/aiu.c
83
struct aiu *aiu = snd_soc_component_get_drvdata(component);
sound/soc/meson/aiu.c
86
return clk_prepare_enable(aiu->i2s.clks[PCLK].clk);
sound/soc/meson/aiu.c
91
struct aiu *aiu = snd_soc_component_get_drvdata(component);
sound/soc/meson/aiu.c
93
clk_disable_unprepare(aiu->i2s.clks[PCLK].clk);