Home
last modified time | relevance | path

Searched refs:nau8540 (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/sound/soc/codecs/
Dnau8540.c237 struct nau8540 *nau8540 = snd_soc_component_get_drvdata(component); in adc_power_control() local
242 regmap_update_bits(nau8540->regmap, NAU8540_REG_PCM_CTRL1, in adc_power_control()
244 regmap_update_bits(nau8540->regmap, NAU8540_REG_PCM_CTRL2, in adc_power_control()
247 regmap_update_bits(nau8540->regmap, NAU8540_REG_PCM_CTRL1, in adc_power_control()
249 regmap_update_bits(nau8540->regmap, NAU8540_REG_PCM_CTRL2, in adc_power_control()
259 struct nau8540 *nau8540 = snd_soc_component_get_drvdata(component); in aiftx_power_control() local
262 regmap_write(nau8540->regmap, NAU8540_REG_RST, 0x0001); in aiftx_power_control()
263 regmap_write(nau8540->regmap, NAU8540_REG_RST, 0x0000); in aiftx_power_control()
360 static int nau8540_clock_check(struct nau8540 *nau8540, int rate, int osr) in nau8540_clock_check() argument
366 dev_err(nau8540->dev, "exceed the maximum frequency of CLK_ADC\n"); in nau8540_clock_check()
[all …]
Dnau8540.h214 struct nau8540 { struct
DMakefile132 snd-soc-nau8540-objs := nau8540.o
441 obj-$(CONFIG_SND_SOC_NAU8540) += snd-soc-nau8540.o
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dnau8540.txt7 - compatible : "nuvoton,nau8540"
13 codec: nau8540@1c {
14 compatible = "nuvoton,nau8540";