Searched refs:ak4641 (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/sound/soc/codecs/
H A Dak4641.c2 * ak4641.c -- AK4641 ALSA Soc Audio driver
28 #include <sound/ak4641.h>
30 #include "ak4641.h"
41 * ak4641 register cache
55 struct ak4641_priv *ak4641 = snd_soc_codec_get_drvdata(codec); ak4641_set_deemph() local
60 if (ak4641->deemph && deemph_settings[i] != 0 && ak4641_set_deemph()
61 abs(deemph_settings[i] - ak4641->playback_fs) < ak4641_set_deemph()
62 abs(deemph_settings[best] - ak4641->playback_fs)) ak4641_set_deemph()
65 if (!ak4641->deemph && deemph_settings[i] == 0) ak4641_set_deemph()
78 struct ak4641_priv *ak4641 = snd_soc_codec_get_drvdata(codec); ak4641_put_deemph() local
84 ak4641->deemph = deemph; ak4641_put_deemph()
93 struct ak4641_priv *ak4641 = snd_soc_codec_get_drvdata(codec); ak4641_get_deemph() local
95 ucontrol->value.integer.value[0] = ak4641->deemph; ak4641_get_deemph()
195 /* ak4641 dapm widgets */
291 struct ak4641_priv *ak4641 = snd_soc_codec_get_drvdata(codec); ak4641_set_dai_sysclk() local
293 ak4641->sysclk = freq; ak4641_set_dai_sysclk()
302 struct ak4641_priv *ak4641 = snd_soc_codec_get_drvdata(codec); ak4641_i2s_hw_params() local
307 fs = ak4641->sysclk / rate; ak4641_i2s_hw_params()
331 ak4641->playback_fs = rate; ak4641_i2s_hw_params()
401 struct ak4641_priv *ak4641 = snd_soc_codec_get_drvdata(codec); ak4641_set_bias_level() local
423 ret = regcache_sync(ak4641->regmap); ak4641_set_bias_level()
439 regcache_mark_dirty(ak4641->regmap); ak4641_set_bias_level()
466 .name = "ak4641-hifi",
486 .name = "ak4641-voice",
532 struct ak4641_priv *ak4641; ak4641_i2c_probe() local
535 ak4641 = devm_kzalloc(&i2c->dev, sizeof(struct ak4641_priv), ak4641_i2c_probe()
537 if (!ak4641) ak4641_i2c_probe()
540 ak4641->regmap = devm_regmap_init_i2c(i2c, &ak4641_regmap); ak4641_i2c_probe()
541 if (IS_ERR(ak4641->regmap)) ak4641_i2c_probe()
542 return PTR_ERR(ak4641->regmap); ak4641_i2c_probe()
547 GPIOF_OUT_INIT_LOW, "ak4641 power"); ak4641_i2c_probe()
553 GPIOF_OUT_INIT_LOW, "ak4641 npdn"); ak4641_i2c_probe()
562 i2c_set_clientdata(i2c, ak4641); ak4641_i2c_probe()
604 { "ak4641", 0 },
611 .name = "ak4641",
H A Dak4641.h2 * ak4641.h -- AK4641 SoC Audio driver
H A DMakefile30 snd-soc-ak4641-objs := ak4641.o
223 obj-$(CONFIG_SND_SOC_AK4641) += snd-soc-ak4641.o
/linux-4.4.14/sound/soc/pxa/
H A Dhx4700.c30 #include "../codecs/ak4641.h"
125 * Logic for a ak4641 as connected on a HP iPAQ hx4700
152 .name = "ak4641",
155 .codec_dai_name = "ak4641-hifi",
157 .codec_name = "ak4641.0-0012",
/linux-4.4.14/arch/arm/mach-pxa/
H A Dhx4700.c51 #include <sound/ak4641.h>
814 I2C_BOARD_INFO("ak4641", 0x12),

Completed in 143 milliseconds