Home
last modified time | relevance | path

Searched refs:pwr_reg (Results 1 – 12 of 12) sorted by relevance

/linux-4.1.27/sound/soc/codecs/
Dwm8940.c474 u16 pwr_reg = snd_soc_read(codec, WM8940_POWER1) & 0x1F0; in wm8940_set_bias_level() local
480 pwr_reg |= (1 << 2) | (1 << 3); in wm8940_set_bias_level()
487 ret = snd_soc_write(codec, WM8940_POWER1, pwr_reg | 0x1); in wm8940_set_bias_level()
491 pwr_reg |= (1 << 2) | (1 << 3); in wm8940_set_bias_level()
492 ret = snd_soc_write(codec, WM8940_POWER1, pwr_reg | 0x1); in wm8940_set_bias_level()
504 pwr_reg |= (1 << 2) | (1 << 3); in wm8940_set_bias_level()
506 ret = snd_soc_write(codec, WM8940_POWER1, pwr_reg | 0x2); in wm8940_set_bias_level()
509 ret = snd_soc_write(codec, WM8940_POWER1, pwr_reg); in wm8940_set_bias_level()
Dwm8961.c200 u16 pwr_reg = snd_soc_read(codec, WM8961_PWR_MGMT_2); in wm8961_hp_event() local
215 pwr_reg |= WM8961_LOUT1_PGA | WM8961_ROUT1_PGA; in wm8961_hp_event()
216 snd_soc_write(codec, WM8961_PWR_MGMT_2, pwr_reg); in wm8961_hp_event()
274 pwr_reg &= ~(WM8961_LOUT1_PGA | WM8961_ROUT1_PGA); in wm8961_hp_event()
275 snd_soc_write(codec, WM8961_PWR_MGMT_2, pwr_reg); in wm8961_hp_event()
290 u16 pwr_reg = snd_soc_read(codec, WM8961_PWR_MGMT_2); in wm8961_spk_event() local
295 pwr_reg |= WM8961_SPKL_PGA | WM8961_SPKR_PGA; in wm8961_spk_event()
296 snd_soc_write(codec, WM8961_PWR_MGMT_2, pwr_reg); in wm8961_spk_event()
309 pwr_reg &= ~(WM8961_SPKL_PGA | WM8961_SPKR_PGA); in wm8961_spk_event()
310 snd_soc_write(codec, WM8961_PWR_MGMT_2, pwr_reg); in wm8961_spk_event()
Dwm8971.c568 u16 pwr_reg = snd_soc_read(codec, WM8971_PWR1) & 0xfe3e; in wm8971_set_bias_level() local
573 snd_soc_write(codec, WM8971_PWR1, pwr_reg | 0x00c1); in wm8971_set_bias_level()
583 snd_soc_write(codec, WM8971_PWR1, pwr_reg | 0x01c0); in wm8971_set_bias_level()
588 snd_soc_write(codec, WM8971_PWR1, pwr_reg | 0x0140); in wm8971_set_bias_level()
Dwm8750.c627 u16 pwr_reg = snd_soc_read(codec, WM8750_PWR1) & 0xfe3e; in wm8750_set_bias_level() local
632 snd_soc_write(codec, WM8750_PWR1, pwr_reg | 0x00c0); in wm8750_set_bias_level()
641 snd_soc_write(codec, WM8750_PWR1, pwr_reg | 0x01c1); in wm8750_set_bias_level()
648 snd_soc_write(codec, WM8750_PWR1, pwr_reg | 0x0141); in wm8750_set_bias_level()
Dwm8988.c729 u16 pwr_reg = snd_soc_read(codec, WM8988_PWR1) & ~0x1c1; in wm8988_set_bias_level() local
737 snd_soc_write(codec, WM8988_PWR1, pwr_reg | 0x00c0); in wm8988_set_bias_level()
745 snd_soc_write(codec, WM8988_PWR1, pwr_reg | 0x1c1); in wm8988_set_bias_level()
752 snd_soc_write(codec, WM8988_PWR1, pwr_reg | 0x0141); in wm8988_set_bias_level()
Dwm8958-dsp2.c334 int pwr_reg = snd_soc_read(codec, WM8994_POWER_MANAGEMENT_5); in wm8958_dsp_apply() local
339 pwr_reg &= (WM8994_AIF1DAC1L_ENA | WM8994_AIF1DAC1R_ENA); in wm8958_dsp_apply()
343 pwr_reg &= (WM8994_AIF1DAC2L_ENA | WM8994_AIF1DAC2R_ENA); in wm8958_dsp_apply()
347 pwr_reg &= (WM8994_AIF2DACL_ENA | WM8994_AIF2DACR_ENA); in wm8958_dsp_apply()
359 if (!pwr_reg) in wm8958_dsp_apply()
365 path, wm8994->dsp_active, start, pwr_reg, reg); in wm8958_dsp_apply()
Dwm8753.c1343 u16 pwr_reg = snd_soc_read(codec, WM8753_PWR1) & 0xfe3e; in wm8753_set_bias_level() local
1348 snd_soc_write(codec, WM8753_PWR1, pwr_reg | 0x00c0); in wm8753_set_bias_level()
1357 snd_soc_write(codec, WM8753_PWR1, pwr_reg | 0x01c1); in wm8753_set_bias_level()
1362 snd_soc_write(codec, WM8753_PWR1, pwr_reg | 0x0141); in wm8753_set_bias_level()
Dwm8904.c721 int pwr_reg; in out_pga_event() local
731 pwr_reg = WM8904_POWER_MANAGEMENT_2; in out_pga_event()
739 pwr_reg = WM8904_POWER_MANAGEMENT_3; in out_pga_event()
754 snd_soc_update_bits(codec, pwr_reg, in out_pga_event()
851 snd_soc_update_bits(codec, pwr_reg, in out_pga_event()
/linux-4.1.27/drivers/usb/gadget/udc/
Ds3c2410_udc.c131 u32 addr_reg, pwr_reg, ep_int_reg, usb_int_reg; in s3c2410_udc_debugfs_seq_show() local
137 pwr_reg = udc_read(S3C2410_UDC_PWR_REG); in s3c2410_udc_debugfs_seq_show()
170 addr_reg, pwr_reg, ep_int_reg, usb_int_reg, in s3c2410_udc_debugfs_seq_show()
870 int pwr_reg; in s3c2410_udc_irq() local
893 pwr_reg = udc_read(S3C2410_UDC_PWR_REG); in s3c2410_udc_irq()
899 usb_status, usbd_status, pwr_reg, ep0csr); in s3c2410_udc_irq()
914 ep0csr, pwr_reg); in s3c2410_udc_irq()
989 if (!usb_status && !usbd_status && !pwr_reg && !ep0csr) { in s3c2410_udc_irq()
/linux-4.1.27/drivers/mmc/host/
Dmmci.h214 u32 pwr_reg; member
Dmmci.c291 if (host->pwr_reg != pwr) { in mmci_write_pwrreg()
292 host->pwr_reg = pwr; in mmci_write_pwrreg()
1809 writel(host->pwr_reg, host->base + MMCIPOWER); in mmci_restore()
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
Dhdmi.c315 HDMI_CFG(pwr_reg, 8x74),
326 HDMI_CFG(pwr_reg, 8x74),