Home
last modified time | relevance | path

Searched refs:power1 (Results 1 – 3 of 3) sorted by relevance

/sound/soc/codecs/
Dwm8974.c505 u16 power1 = snd_soc_read(codec, WM8974_POWER1) & ~0x3; in wm8974_set_bias_level() local
510 power1 |= 0x1; /* VMID 50k */ in wm8974_set_bias_level()
511 snd_soc_write(codec, WM8974_POWER1, power1); in wm8974_set_bias_level()
515 power1 |= WM8974_POWER1_BIASEN | WM8974_POWER1_BUFIOEN; in wm8974_set_bias_level()
521 snd_soc_write(codec, WM8974_POWER1, power1 | 0x3); in wm8974_set_bias_level()
525 power1 |= 0x2; /* VMID 500k */ in wm8974_set_bias_level()
526 snd_soc_write(codec, WM8974_POWER1, power1); in wm8974_set_bias_level()
Dwm8510.c510 u16 power1 = snd_soc_read(codec, WM8510_POWER1) & ~0x3; in wm8510_set_bias_level() local
515 power1 |= 0x1; /* VMID 50k */ in wm8510_set_bias_level()
516 snd_soc_write(codec, WM8510_POWER1, power1); in wm8510_set_bias_level()
520 power1 |= WM8510_POWER1_BIASEN | WM8510_POWER1_BUFIOEN; in wm8510_set_bias_level()
526 snd_soc_write(codec, WM8510_POWER1, power1 | 0x3); in wm8510_set_bias_level()
530 power1 |= 0x2; /* VMID 500k */ in wm8510_set_bias_level()
531 snd_soc_write(codec, WM8510_POWER1, power1); in wm8510_set_bias_level()
Dwm8978.c859 u16 power1 = snd_soc_read(codec, WM8978_POWER_MANAGEMENT_1) & ~3; in wm8978_set_bias_level() local
864 power1 |= 1; /* VMID 75k */ in wm8978_set_bias_level()
865 snd_soc_write(codec, WM8978_POWER_MANAGEMENT_1, power1); in wm8978_set_bias_level()
869 power1 |= 0xc; in wm8978_set_bias_level()
874 power1 | 0x3); in wm8978_set_bias_level()
878 power1 |= 0x2; /* VMID 500k */ in wm8978_set_bias_level()
879 snd_soc_write(codec, WM8978_POWER_MANAGEMENT_1, power1); in wm8978_set_bias_level()
889 dev_dbg(codec->dev, "%s: %d, %x\n", __func__, level, power1); in wm8978_set_bias_level()