Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
H A Dwm8940.c481 u16 pwr_reg = snd_soc_component_read(component, WM8940_POWER1) & 0x1F0; in wm8940_set_bias_level()
487 pwr_reg |= (1 << 2) | (1 << 3); in wm8940_set_bias_level()
494 ret = snd_soc_component_write(component, WM8940_POWER1, pwr_reg | 0x1); in wm8940_set_bias_level()
498 pwr_reg |= (1 << 2) | (1 << 3); in wm8940_set_bias_level()
499 ret = snd_soc_component_write(component, WM8940_POWER1, pwr_reg | 0x1); in wm8940_set_bias_level()
511 pwr_reg |= (1 << 2) | (1 << 3); in wm8940_set_bias_level()
513 ret = snd_soc_component_write(component, WM8940_POWER1, pwr_reg | 0x2); in wm8940_set_bias_level()
516 ret = snd_soc_component_write(component, WM8940_POWER1, pwr_reg); in wm8940_set_bias_level()
480 u16 pwr_reg = snd_soc_component_read(component, WM8940_POWER1) & 0x1F0; wm8940_set_bias_level() local
H A Dwm8958-dsp2.c328 int pwr_reg = snd_soc_component_read(component, WM8994_POWER_MANAGEMENT_5); in wm8958_dsp_apply()
333 pwr_reg &= (WM8994_AIF1DAC1L_ENA | WM8994_AIF1DAC1R_ENA); in wm8958_dsp_apply()
337 pwr_reg &= (WM8994_AIF1DAC2L_ENA | WM8994_AIF1DAC2R_ENA); in wm8958_dsp_apply()
341 pwr_reg &= (WM8994_AIF2DACL_ENA | WM8994_AIF2DACR_ENA); in wm8958_dsp_apply()
353 if (!pwr_reg) in wm8958_dsp_apply()
359 path, wm8994->dsp_active, start, pwr_reg, reg); in wm8958_dsp_apply()
327 int pwr_reg = snd_soc_component_read(component, WM8994_POWER_MANAGEMENT_5); wm8958_dsp_apply() local
H A Dwm8753.c1334 u16 pwr_reg = snd_soc_component_read(component, WM8753_PWR1) & 0xfe3e; in wm8753_set_bias_level() local
1339 snd_soc_component_write(component, WM8753_PWR1, pwr_reg | 0x00c0); in wm8753_set_bias_level()
1348 snd_soc_component_write(component, WM8753_PWR1, pwr_reg | 0x01c1); in wm8753_set_bias_level()
1353 snd_soc_component_write(component, WM8753_PWR1, pwr_reg | 0x0141); in wm8753_set_bias_level()
/linux/drivers/mmc/host/
H A Dmmci_stm32_sdmmc.c394 pwr |= host->pwr_reg & (MCI_STM32_VSWITCHEN | in mmci_sdmmc_set_pwrreg()
662 mmci_write_pwrreg(host, host->pwr_reg | MCI_STM32_VSWITCHEN); in sdmmc_pre_sig_volt_vswitch()
674 host->pwr_reg & MCI_STM32_VSWITCHEN) { in sdmmc_post_sig_volt_switch()
675 mmci_write_pwrreg(host, host->pwr_reg | MCI_STM32_VSWITCH); in sdmmc_post_sig_volt_switch()
687 mmci_write_pwrreg(host, host->pwr_reg & in sdmmc_post_sig_volt_switch()
731 host->pwr_reg = readl_relaxed(host->base + MMCIPOWER); in sdmmc_variant_init()
/linux/drivers/clk/mediatek/
H A Dclk-mt7986-apmixed.c26 .id = _id, .name = _name, .reg = _reg, .pwr_reg = _pwr_reg, \
H A Dclk-mt7981-apmixed.c28 .id = _id, .name = _name, .reg = _reg, .pwr_reg = _pwr_reg, \
H A Dclk-mt8188-apmixedsys.c39 .pwr_reg = _pwr_reg, \
H A Dclk-mt6735-apmixedsys.c54 .pwr_reg = _pwr_reg, \
H A Dclk-mt8195-apmixedsys.c40 .pwr_reg = _pwr_reg, \
H A Dclk-pll.c336 pll->pwr_addr = base + data->pwr_reg; in mtk_clk_register_pll_ops()
H A Dclk-mt2701.c925 .pwr_reg = _pwr_reg, \
H A Dclk-mt6765.c676 .pwr_reg = _pwr_reg, \
/linux/drivers/clk/
H A Dclk-rp1.c324 u32 pwr_reg; member
396 u32 pwr = clockman_read(clockman, data->pwr_reg); in rp1_pll_core_is_on()
413 clockman_write(clockman, data->pwr_reg, PLL_PWR_MASK); in rp1_pll_core_on()
421 clockman_write(clockman, data->pwr_reg, fbdiv_frac ? 0 : PLL_PWR_DSMPD); in rp1_pll_core_on()
442 clockman_write(clockman, data->pwr_reg, 0); in rp1_pll_core_off()
495 clockman_write(clockman, data->pwr_reg, fbdiv_frac ? 0 : PLL_PWR_DSMPD); in rp1_pll_core_set_rate()
1311 .pwr_reg = PLL_SYS_PWR,
1326 .pwr_reg = PLL_AUDIO_PWR,
1341 .pwr_reg = PLL_VIDEO_PWR,