Home
last modified time | relevance | path

Searched refs:adau1977 (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/sound/soc/codecs/
Dadau1977.c111 struct adau1977 { struct
225 static int adau1977_reset(struct adau1977 *adau1977) in adau1977_reset() argument
235 regcache_cache_bypass(adau1977->regmap, true); in adau1977_reset()
236 ret = regmap_write(adau1977->regmap, ADAU1977_REG_POWER, in adau1977_reset()
238 regcache_cache_bypass(adau1977->regmap, false); in adau1977_reset()
263 static int adau1977_lookup_mcs(struct adau1977 *adau1977, unsigned int rate, in adau1977_lookup_mcs() argument
276 if (adau1977->sysclk % rate != 0) in adau1977_lookup_mcs()
279 mcs = adau1977->sysclk / rate; in adau1977_lookup_mcs()
296 struct adau1977 *adau1977 = snd_soc_component_get_drvdata(component); in adau1977_hw_params() local
308 if (adau1977->sysclk_src == ADAU1977_SYSCLK_SRC_MCLK) { in adau1977_hw_params()
[all …]
DMakefile24 snd-soc-adau1977-objs := adau1977.o
25 snd-soc-adau1977-spi-objs := adau1977-spi.o
26 snd-soc-adau1977-i2c-objs := adau1977-i2c.o
409 obj-$(CONFIG_SND_SOC_ADAU1977) += snd-soc-adau1977.o
410 obj-$(CONFIG_SND_SOC_ADAU1977_SPI) += snd-soc-adau1977-spi.o
411 obj-$(CONFIG_SND_SOC_ADAU1977_I2C) += snd-soc-adau1977-i2c.o