Searched refs:ad1836 (Results 1 - 9 of 9) sorted by relevance
/linux-4.1.27/sound/soc/codecs/ |
H A D | ad1836.c | 24 #include "ad1836.h" 167 struct ad1836_priv *ad1836 = snd_soc_codec_get_drvdata(dai->codec); ad1836_hw_params() local 186 regmap_update_bits(ad1836->regmap, AD1836_DAC_CTRL1, ad1836_hw_params() 190 regmap_update_bits(ad1836->regmap, AD1836_ADC_CTRL2, ad1836_hw_params() 226 [AD1836] = AD183X_DAI("ad1836", 3, 2), 233 struct ad1836_priv *ad1836 = snd_soc_codec_get_drvdata(codec); ad1836_suspend() local 235 return regmap_update_bits(ad1836->regmap, AD1836_ADC_CTRL2, ad1836_suspend() 241 struct ad1836_priv *ad1836 = snd_soc_codec_get_drvdata(codec); ad1836_resume() local 243 return regmap_update_bits(ad1836->regmap, AD1836_ADC_CTRL2, ad1836_resume() 253 struct ad1836_priv *ad1836 = snd_soc_codec_get_drvdata(codec); ad1836_probe() local 259 num_dacs = ad183x_dais[ad1836->type].playback.channels_max / 2; ad1836_probe() 260 num_adcs = ad183x_dais[ad1836->type].capture.channels_max / 2; ad1836_probe() 262 /* default setting for ad1836 */ ad1836_probe() 264 regmap_write(ad1836->regmap, AD1836_DAC_CTRL1, 0x300); ad1836_probe() 266 regmap_write(ad1836->regmap, AD1836_DAC_CTRL2, 0x0); ad1836_probe() 268 regmap_write(ad1836->regmap, AD1836_ADC_CTRL1, 0x100); ad1836_probe() 270 regmap_write(ad1836->regmap, AD1836_ADC_CTRL2, 0x180); ad1836_probe() 273 regmap_write(ad1836->regmap, AD1836_DAC_L_VOL(i), 0x3FF); ad1836_probe() 274 regmap_write(ad1836->regmap, AD1836_DAC_R_VOL(i), 0x3FF); ad1836_probe() 277 if (ad1836->type == AD1836) { ad1836_probe() 279 regmap_write(ad1836->regmap, AD1836_ADC_CTRL3, 0x3A); ad1836_probe() 285 regmap_write(ad1836->regmap, AD1836_ADC_CTRL3, 0x00); ad1836_probe() 318 struct ad1836_priv *ad1836 = snd_soc_codec_get_drvdata(codec); ad1836_remove() local 320 return regmap_update_bits(ad1836->regmap, AD1836_ADC_CTRL2, ad1836_remove() 367 struct ad1836_priv *ad1836; ad1836_spi_probe() local 370 ad1836 = devm_kzalloc(&spi->dev, sizeof(struct ad1836_priv), ad1836_spi_probe() 372 if (ad1836 == NULL) ad1836_spi_probe() 375 ad1836->regmap = devm_regmap_init_spi(spi, &ad1836_regmap_config); ad1836_spi_probe() 376 if (IS_ERR(ad1836->regmap)) ad1836_spi_probe() 377 return PTR_ERR(ad1836->regmap); ad1836_spi_probe() 379 ad1836->type = spi_get_device_id(spi)->driver_data; ad1836_spi_probe() 381 spi_set_drvdata(spi, ad1836); ad1836_spi_probe() 384 &soc_codec_dev_ad1836, &ad183x_dais[ad1836->type], 1); ad1836_spi_probe() 396 { "ad1836", AD1836 }, 406 .name = "ad1836", 416 MODULE_DESCRIPTION("ASoC ad1836 driver");
|
H A D | Makefile | 4 snd-soc-ad1836-objs := ad1836.o 187 obj-$(CONFIG_SND_SOC_AD1836) += snd-soc-ad1836.o
|
/linux-4.1.27/sound/soc/blackfin/ |
H A D | bf5xx-ad1836.c | 2 * File: sound/soc/blackfin/bf5xx-ad1836.c 6 * Description: Board driver for ad1836 sound chip 31 #include "../codecs/ad1836.h" 58 .name = "ad1836", 60 .codec_dai_name = "ad1836-hifi", 67 .name = "bfin-ad1836", 106 .name = "bfin-snd-ad1836",
|
H A D | Makefile | 19 snd-ad1836-objs := bf5xx-ad1836.o 30 obj-$(CONFIG_SND_BF5XX_SOC_AD1836) += snd-ad1836.o
|
/linux-4.1.27/arch/blackfin/mach-bf533/boards/ |
H A D | stamp.c | 226 .modalias = "ad1836", 230 .platform_data = "ad1836", /* only includes chip name for the moment */ 662 .name = "bfin-snd-ad1836",
|
/linux-4.1.27/arch/blackfin/mach-bf561/boards/ |
H A D | ezkit.c | 340 .platform_data = "ad1836", /* only includes chip name for the moment */ 538 .name = "bfin-snd-ad1836",
|
/linux-4.1.27/arch/blackfin/mach-bf527/boards/ |
H A D | ezkit.c | 575 .name = "bfin-snd-ad1836", 603 .platform_data = "ad1836",
|
/linux-4.1.27/arch/blackfin/mach-bf537/boards/ |
H A D | stamp.c | 965 .modalias = "ad1836", 969 .platform_data = "ad1836", /* only includes chip name for the moment */ 2614 .name = "bfin-snd-ad1836",
|
/linux-4.1.27/arch/blackfin/mach-bf609/boards/ |
H A D | ezkit.c | 850 .name = "bfin-snd-ad1836",
|
Completed in 267 milliseconds