Searched refs:es8328 (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/sound/soc/codecs/
H A Des8328-i2c.c2 * es8328-i2c.c -- ES8328 ALSA SoC I2C Audio driver
19 #include "es8328.h"
22 { "es8328", 0 },
28 { .compatible = "everest,es8328", },
48 .name = "es8328",
H A Des8328-spi.c2 * es8328.c -- ES8328 ALSA SoC SPI Audio driver
17 #include "es8328.h"
20 { .compatible = "everest,es8328", },
39 .name = "es8328",
H A Des8328.c2 * es8328.c -- ES8328 ALSA SoC Audio driver
27 #include "es8328.h"
100 struct es8328_priv *es8328 = snd_soc_codec_get_drvdata(codec); es8328_set_deemph() local
107 if (es8328->deemph) { es8328_set_deemph()
110 if (abs(deemph_settings[i].rate - es8328->playback_fs) < es8328_set_deemph()
111 abs(deemph_settings[best].rate - es8328->playback_fs)) es8328_set_deemph()
130 struct es8328_priv *es8328 = snd_soc_codec_get_drvdata(codec); es8328_get_deemph() local
132 ucontrol->value.integer.value[0] = es8328->deemph; es8328_get_deemph()
140 struct es8328_priv *es8328 = snd_soc_codec_get_drvdata(codec); es8328_put_deemph() local
151 es8328->deemph = deemph; es8328_put_deemph()
447 struct es8328_priv *es8328 = snd_soc_codec_get_drvdata(codec); es8328_hw_params() local
458 clk_rate = clk_get_rate(es8328->clk); es8328_hw_params()
476 es8328->playback_fs = params_rate(params); es8328_hw_params()
487 struct es8328_priv *es8328 = snd_soc_codec_get_drvdata(codec); es8328_set_dai_fmt() local
518 clk_rate = clk_get_rate(es8328->clk); es8328_set_dai_fmt()
588 .name = "es8328-hifi-analog",
608 struct es8328_priv *es8328; es8328_suspend() local
611 es8328 = snd_soc_codec_get_drvdata(codec); es8328_suspend()
613 clk_disable_unprepare(es8328->clk); es8328_suspend()
615 ret = regulator_bulk_disable(ARRAY_SIZE(es8328->supplies), es8328_suspend()
616 es8328->supplies); es8328_suspend()
627 struct es8328_priv *es8328; es8328_resume() local
630 es8328 = snd_soc_codec_get_drvdata(codec); es8328_resume()
632 ret = clk_prepare_enable(es8328->clk); es8328_resume()
638 ret = regulator_bulk_enable(ARRAY_SIZE(es8328->supplies), es8328_resume()
639 es8328->supplies); es8328_resume()
657 struct es8328_priv *es8328; es8328_codec_probe() local
660 es8328 = snd_soc_codec_get_drvdata(codec); es8328_codec_probe()
662 ret = regulator_bulk_enable(ARRAY_SIZE(es8328->supplies), es8328_codec_probe()
663 es8328->supplies); es8328_codec_probe()
670 es8328->clk = devm_clk_get(codec->dev, NULL); es8328_codec_probe()
671 if (IS_ERR(es8328->clk)) { es8328_codec_probe()
673 ret = PTR_ERR(es8328->clk); es8328_codec_probe()
677 ret = clk_prepare_enable(es8328->clk); es8328_codec_probe()
686 regulator_bulk_disable(ARRAY_SIZE(es8328->supplies), es8328_codec_probe()
687 es8328->supplies); es8328_codec_probe()
693 struct es8328_priv *es8328; es8328_remove() local
695 es8328 = snd_soc_codec_get_drvdata(codec); es8328_remove()
697 if (es8328->clk) es8328_remove()
698 clk_disable_unprepare(es8328->clk); es8328_remove()
700 regulator_bulk_disable(ARRAY_SIZE(es8328->supplies), es8328_remove()
701 es8328->supplies); es8328_remove()
732 struct es8328_priv *es8328; es8328_probe() local
739 es8328 = devm_kzalloc(dev, sizeof(*es8328), GFP_KERNEL); es8328_probe()
740 if (es8328 == NULL) es8328_probe()
743 es8328->regmap = regmap; es8328_probe()
745 for (i = 0; i < ARRAY_SIZE(es8328->supplies); i++) es8328_probe()
746 es8328->supplies[i].supply = supply_names[i]; es8328_probe()
748 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(es8328->supplies), es8328_probe()
749 es8328->supplies); es8328_probe()
755 dev_set_drvdata(dev, es8328); es8328_probe()
H A DMakefile58 snd-soc-es8328-objs := es8328.o
59 snd-soc-es8328-i2c-objs := es8328-i2c.o
60 snd-soc-es8328-spi-objs := es8328-spi.o
253 obj-$(CONFIG_SND_SOC_ES8328) += snd-soc-es8328.o
254 obj-$(CONFIG_SND_SOC_ES8328_I2C)+= snd-soc-es8328-i2c.o
255 obj-$(CONFIG_SND_SOC_ES8328_SPI)+= snd-soc-es8328-spi.o
H A Des8328.h2 * es8328.h -- ES8328 ALSA SoC Audio driver
/linux-4.4.14/sound/soc/fsl/
H A DMakefile55 snd-soc-imx-es8328-objs := imx-es8328.o
65 obj-$(CONFIG_SND_SOC_IMX_ES8328) += snd-soc-imx-es8328.o
H A Dimx-es8328.c163 data->dai.codec_dai_name = "es8328-hifi-analog"; imx_es8328_probe()
215 { .compatible = "fsl,imx-audio-es8328", },
222 .name = "imx-es8328",
233 MODULE_ALIAS("platform:imx-audio-es8328");

Completed in 265 milliseconds