Searched refs:ak4104 (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/sound/soc/codecs/ |
H A D | ak4104.c | 69 struct ak4104_private *ak4104 = snd_soc_codec_get_drvdata(codec); ak4104_set_dai_fmt() local 92 ret = regmap_update_bits(ak4104->regmap, AK4104_REG_CONTROL1, ak4104_set_dai_fmt() 106 struct ak4104_private *ak4104 = snd_soc_codec_get_drvdata(codec); ak4104_hw_params() local 111 regmap_write(ak4104->regmap, AK4104_REG_CHN_STATUS(0), val); ak4104_hw_params() 148 ret = regmap_write(ak4104->regmap, AK4104_REG_CHN_STATUS(3), val); ak4104_hw_params() 161 .name = "ak4104-hifi", 176 struct ak4104_private *ak4104 = snd_soc_codec_get_drvdata(codec); ak4104_probe() local 179 ret = regulator_enable(ak4104->regulator); ak4104_probe() 186 ret = regmap_update_bits(ak4104->regmap, AK4104_REG_CONTROL1, ak4104_probe() 193 ret = regmap_update_bits(ak4104->regmap, AK4104_REG_TX, ak4104_probe() 201 regulator_disable(ak4104->regulator); ak4104_probe() 207 struct ak4104_private *ak4104 = snd_soc_codec_get_drvdata(codec); ak4104_remove() local 209 regmap_update_bits(ak4104->regmap, AK4104_REG_CONTROL1, ak4104_remove() 211 regulator_disable(ak4104->regulator); ak4104_remove() 268 struct ak4104_private *ak4104; ak4104_spi_probe() local 278 ak4104 = devm_kzalloc(&spi->dev, sizeof(struct ak4104_private), ak4104_spi_probe() 280 if (ak4104 == NULL) ak4104_spi_probe() 283 ak4104->regulator = devm_regulator_get(&spi->dev, "vdd"); ak4104_spi_probe() 284 if (IS_ERR(ak4104->regulator)) { ak4104_spi_probe() 285 ret = PTR_ERR(ak4104->regulator); ak4104_spi_probe() 290 ak4104->regmap = devm_regmap_init_spi(spi, &ak4104_regmap); ak4104_spi_probe() 291 if (IS_ERR(ak4104->regmap)) { ak4104_spi_probe() 292 ret = PTR_ERR(ak4104->regmap); ak4104_spi_probe() 304 "ak4104 reset"); ak4104_spi_probe() 313 ret = regmap_read(ak4104->regmap, AK4104_REG_RESERVED, &val); ak4104_spi_probe() 319 spi_set_drvdata(spi, ak4104); ak4104_spi_probe() 333 { .compatible = "asahi-kasei,ak4104", }, 339 { "ak4104", 0 }, 346 .name = "ak4104",
|
H A D | Makefile | 26 snd-soc-ak4104-objs := ak4104.o 219 obj-$(CONFIG_SND_SOC_AK4104) += snd-soc-ak4104.o
|
/linux-4.4.14/sound/soc/pxa/ |
H A D | raumfeld.c | 219 .name = "ak4104", \ 222 .codec_dai_name = "ak4104-hifi", \
|
/linux-4.4.14/arch/arm/mach-pxa/ |
H A D | raumfeld.c | 668 .modalias = "ak4104-codec", \ 989 ret = gpio_request(GPIO_SPDIF_RESET, "ak4104 s/pdif reset"); raumfeld_audio_init()
|
Completed in 303 milliseconds