/openbmc/linux/drivers/pmdomain/imx/ |
H A D | imx8mp-blk-ctrl.c | 198 regmap_clear_bits(bc->regmap, GPR_REG0, USB_CLOCK_MODULE_EN); in imx8mp_hsio_blk_ctrl_power_off() 201 regmap_clear_bits(bc->regmap, GPR_REG0, PCIE_CLOCK_MODULE_EN); in imx8mp_hsio_blk_ctrl_power_off() 204 regmap_clear_bits(bc->regmap, GPR_REG0, in imx8mp_hsio_blk_ctrl_power_off() 234 regmap_clear_bits(bc->regmap, GPR_REG0, USB_CLOCK_MODULE_EN); in imx8mp_hsio_power_notifier() 349 regmap_clear_bits(bc->regmap, HDMI_TX_CONTROL0, BIT(3)); in imx8mp_hdmi_blk_ctrl_power_on() 368 regmap_clear_bits(bc->regmap, HDMI_RTX_CLK_CTL0, BIT(9)); in imx8mp_hdmi_blk_ctrl_power_off() 369 regmap_clear_bits(bc->regmap, HDMI_RTX_RESET_CTL0, BIT(16)); in imx8mp_hdmi_blk_ctrl_power_off() 372 regmap_clear_bits(bc->regmap, HDMI_RTX_RESET_CTL0, in imx8mp_hdmi_blk_ctrl_power_off() 374 regmap_clear_bits(bc->regmap, HDMI_RTX_CLK_CTL1, BIT(11)); in imx8mp_hdmi_blk_ctrl_power_off() 375 regmap_clear_bits(b in imx8mp_hdmi_blk_ctrl_power_off() [all...] |
H A D | imx8m-blk-ctrl.c | 101 regmap_clear_bits(bc->regmap, BLK_SFT_RSTN, data->rst_mask); in imx8m_blk_ctrl_power_on() 103 regmap_clear_bits(bc->regmap, BLK_MIPI_RESET_DIV, data->mipi_phy_rst_mask); in imx8m_blk_ctrl_power_on() 153 regmap_clear_bits(bc->regmap, BLK_MIPI_RESET_DIV, data->mipi_phy_rst_mask); in imx8m_blk_ctrl_power_off() 155 regmap_clear_bits(bc->regmap, BLK_SFT_RSTN, data->rst_mask); in imx8m_blk_ctrl_power_off() 156 regmap_clear_bits(bc->regmap, BLK_CLK_EN, data->clk_mask); in imx8m_blk_ctrl_power_off() 428 regmap_clear_bits(bc->regmap, BLK_SFT_RSTN, BIT(0) | BIT(1) | BIT(2)); in imx8mm_vpu_power_notifier()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | jz4770.c | 196 regmap_clear_bits(regmap, JZ4770_CODEC_REG_CR_VIC, in jz4770_codec_set_bias_level() 199 regmap_clear_bits(regmap, JZ4770_CODEC_REG_CR_VIC, in jz4770_codec_set_bias_level() 384 regmap_clear_bits(jz_codec->regmap, JZ4770_CODEC_REG_CR_HP, in hpout_event() 615 regmap_clear_bits(regmap, JZ4770_CODEC_REG_CR_MIC, in jz4770_codec_codec_init_regs() 619 regmap_clear_bits(regmap, JZ4770_CODEC_REG_CR_ADC, in jz4770_codec_codec_init_regs() 629 regmap_clear_bits(regmap, JZ4770_CODEC_REG_ICR, REG_ICR_INT_FORM_MASK); in jz4770_codec_codec_init_regs() 636 regmap_clear_bits(regmap, JZ4770_CODEC_REG_CCR, REG_CCR_CRYSTAL_MASK); in jz4770_codec_codec_init_regs() 639 regmap_clear_bits(regmap, JZ4770_CODEC_REG_CR_HP, REG_CR_HP_LOAD); in jz4770_codec_codec_init_regs() 642 regmap_clear_bits(regmap, JZ4770_CODEC_REG_AGC1, REG_AGC1_EN); in jz4770_codec_codec_init_regs() 648 regmap_clear_bits(regmap, JZ4770_CODEC_REG_GCR_DACL, in jz4770_codec_codec_init_regs() [all …]
|
H A D | jz4760.c | 180 regmap_clear_bits(regmap, JZ4760_CODEC_REG_PMR1, REG_PMR1_SB); in jz4760_codec_set_bias_level() 182 regmap_clear_bits(regmap, JZ4760_CODEC_REG_PMR1, REG_PMR1_SB_SLEEP); in jz4760_codec_set_bias_level() 361 regmap_clear_bits(jz_codec->regmap, JZ4760_CODEC_REG_CR1, in hpout_event() 585 regmap_clear_bits(regmap, JZ4760_CODEC_REG_CR3, in jz4760_codec_codec_init_regs() 589 regmap_clear_bits(regmap, JZ4760_CODEC_REG_CR3, in jz4760_codec_codec_init_regs() 598 regmap_clear_bits(regmap, JZ4760_CODEC_REG_ICR, REG_ICR_INT_FORM_MASK); in jz4760_codec_codec_init_regs() 605 regmap_clear_bits(regmap, JZ4760_CODEC_REG_CCR1, REG_CCR1_CRYSTAL_MASK); in jz4760_codec_codec_init_regs() 608 regmap_clear_bits(regmap, JZ4760_CODEC_REG_CR1, REG_CR1_HP_LOAD); in jz4760_codec_codec_init_regs() 615 regmap_clear_bits(regmap, JZ4760_CODEC_REG_AGC1, REG_AGC1_EN); in jz4760_codec_codec_init_regs() 618 regmap_clear_bits(regmap, JZ4760_CODEC_REG_GCR5, in jz4760_codec_codec_init_regs()
|
H A D | jz4725b.c | 273 return regmap_clear_bits(map, JZ4725B_CODEC_REG_IFR, in jz4725b_out_stage_enable() 280 return regmap_clear_bits(map, JZ4725B_CODEC_REG_IFR, in jz4725b_out_stage_enable() 381 regmap_clear_bits(map, JZ4725B_CODEC_REG_PMR2, in jz4725b_codec_set_bias_level() 386 regmap_clear_bits(map, JZ4725B_CODEC_REG_PMR2, in jz4725b_codec_set_bias_level()
|
H A D | tfa989x.c | 254 ret = regmap_clear_bits(regmap, TFA989X_CURRENTSENSE4, 0x1); in tfa9897_init() 291 ret = regmap_clear_bits(regmap, TFA989X_I2SREG, TFA989X_I2SREG_CHSA_MSK); in tfa989x_dsp_bypass() 304 return regmap_clear_bits(regmap, TFA989X_SYS_CTRL, in tfa989x_dsp_bypass()
|
H A D | jz4740.c | 225 regmap_clear_bits(regmap, JZ4740_REG_CODEC_1, in jz4740_codec_wakeup() 246 regmap_clear_bits(regmap, JZ4740_REG_CODEC_1, mask); in jz4740_codec_set_bias_level()
|
/openbmc/linux/drivers/misc/ |
H A D | tps6594-pfsm.c | 116 ret = regmap_clear_bits(regmap, TPS6594_REG_FSM_I2C_TRIGGERS, in tps6594_pfsm_configure_ret_trig() 125 ret = regmap_clear_bits(regmap, TPS6594_REG_FSM_I2C_TRIGGERS, in tps6594_pfsm_configure_ret_trig() 141 ret = regmap_clear_bits(pfsm->regmap, TPS6594_REG_RTC_CTRL_2, in tps6594_pfsm_ioctl() 182 ret = regmap_clear_bits(pfsm->regmap, TPS6594_REG_FSM_NSLEEP_TRIGGERS, in tps6594_pfsm_ioctl() 213 ret = regmap_clear_bits(pfsm->regmap, TPS6594_REG_FSM_NSLEEP_TRIGGERS, in tps6594_pfsm_ioctl()
|
H A D | tps6594-esm.c | 90 ret = regmap_clear_bits(tps->regmap, TPS6594_REG_ESM_SOC_START_REG, in tps6594_esm_remove() 97 ret = regmap_clear_bits(tps->regmap, TPS6594_REG_ESM_SOC_MODE_CFG, in tps6594_esm_remove() 112 ret = regmap_clear_bits(tps->regmap, TPS6594_REG_ESM_SOC_START_REG, in tps6594_esm_suspend()
|
/openbmc/linux/drivers/pmdomain/mediatek/ |
H A D | mtk-pm-domains.c | 84 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_enable() 95 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_CLKISO_BIT); in scpsys_sram_enable() 110 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_ISOINT_B_BIT); in scpsys_sram_disable() 169 regmap_clear_bits(regmap, bpd[i].bus_prot_clr, mask); in _scpsys_bus_protect_disable() 223 regmap_clear_bits(scpsys->base, pd->data->ext_buck_iso_offs, in scpsys_power_on() 236 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_CLK_DIS_BIT); in scpsys_power_on() 237 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ISO_BIT); in scpsys_power_on() 289 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_RST_B_BIT); in scpsys_power_off() 290 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_2ND_BIT); in scpsys_power_off() 291 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_BIT); in scpsys_power_off()
|
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl_micfil.c | 452 ret = regmap_clear_bits(micfil->regmap, REG_MICFIL_CTRL1, in fsl_micfil_reset() 468 ret = regmap_clear_bits(micfil->regmap, REG_MICFIL_CTRL1, in fsl_micfil_reset() 540 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_CTRL2, in fsl_micfil_init_hwvad_energy_mode() 544 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_CTRL2, in fsl_micfil_init_hwvad_energy_mode() 548 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_SCONFIG, in fsl_micfil_init_hwvad_energy_mode() 552 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_SCONFIG, in fsl_micfil_init_hwvad_energy_mode() 560 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_NCONFIG, in fsl_micfil_init_hwvad_energy_mode() 564 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_NCONFIG, in fsl_micfil_init_hwvad_energy_mode() 568 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_NCONFIG, in fsl_micfil_init_hwvad_energy_mode() 594 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_NCONFIG, in fsl_micfil_init_hwvad_envelope_mode() [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-rx8010.c | 161 err = regmap_clear_bits(rx8010->regs, RX8010_CTRL, RX8010_CTRL_STOP); in rx8010_set_time() 165 err = regmap_clear_bits(rx8010->regs, RX8010_FLAG, RX8010_FLAG_VLF); in rx8010_set_time() 265 err = regmap_clear_bits(rx8010->regs, RX8010_FLAG, RX8010_FLAG_AF); in rx8010_set_alarm() 277 err = regmap_clear_bits(rx8010->regs, RX8010_EXT, RX8010_EXT_WADA); in rx8010_set_alarm() 324 err = regmap_clear_bits(rx8010->regs, RX8010_FLAG, RX8010_FLAG_AF); in rx8010_alarm_irq_enable()
|
/openbmc/linux/drivers/regulator/ |
H A D | tps65910-regulator.c | 408 return regmap_clear_bits(regmap, reg, LDO_ST_ON_BIT); in tps65910_set_mode() 857 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 870 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 885 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 897 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 900 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 945 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 952 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 1116 regmap_clear_bits(pmic->mfd->regmap, TPS65910_DCDCCTRL, in tps65910_probe()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-wcove.c | 134 regmap_clear_bits(wg->regmap, reg, mask); in wcove_update_irq_mask() 213 regmap_clear_bits(wg->regmap, reg, 1); in wcove_gpio_set() 484 ret = regmap_clear_bits(wg->regmap, IRQ_MASK_BASE + 0, GPIO_IRQ0_MASK); in wcove_gpio_probe() 489 ret = regmap_clear_bits(wg->regmap, IRQ_MASK_BASE + 1, GPIO_IRQ1_MASK); in wcove_gpio_probe()
|
H A D | gpio-tps65910.c | 49 regmap_clear_bits(tps65910->regmap, TPS65910_GPIO0 + offset, in tps65910_gpio_set() 71 return regmap_clear_bits(tps65910->regmap, TPS65910_GPIO0 + offset, in tps65910_gpio_input()
|
H A D | gpio-bd71815.c | 51 ret = regmap_clear_bits(bd71815->regmap, BD71815_REG_GPO, bit); in bd71815gpo_set()
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-stm32.c | 163 regmap_clear_bits(priv->regmap, TIM_CCER, ccen); in stm32_pwm_raw_capture() 164 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_pwm_raw_capture() 441 regmap_clear_bits(priv->regmap, TIM_CCER, mask); in stm32_pwm_disable() 445 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_pwm_disable() 581 regmap_clear_bits(priv->regmap, TIM_CCER, TIM_CCER_CC1NE); in stm32_pwm_detect_complementary()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-mt6323.c | 397 ret = regmap_clear_bits(regmap, regs->top_ckpdn[0], RG_VWLED_32K_CK_PDN); in mtk_wled_hw_on() 401 ret = regmap_clear_bits(regmap, regs->top_ckpdn[0], RG_VWLED_6M_CK_PDN); in mtk_wled_hw_on() 405 ret = regmap_clear_bits(regmap, regs->top_ckpdn[0], RG_VWLED_1M_CK_PDN); in mtk_wled_hw_on() 431 ret = regmap_clear_bits(regmap, regs->iwled_en_ctrl, BIT(led->id + 1)); in mtk_wled_hw_off() 435 ret = regmap_clear_bits(regmap, regs->iwled_en_ctrl, BIT(led->id)); in mtk_wled_hw_off()
|
/openbmc/linux/drivers/hwmon/ |
H A D | max31760.c | 267 return regmap_clear_bits(state->regmap, REG_CR3, BIT(channel)); in max31760_write() 288 return regmap_clear_bits(state->regmap, REG_CR2, CR2_DFC); in max31760_write() 475 ret = regmap_clear_bits(state->regmap, REG_CR1, CR1_HYST); in pwm1_auto_point_temp_hyst_store() 574 return regmap_clear_bits(state->regmap, REG_CR2, CR2_STBY); in max31760_resume()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | adi-axi-adc.c | 93 return regmap_clear_bits(st->regmap, in axi_adc_data_format_set() 119 return regmap_clear_bits(st->regmap, ADI_AXI_REG_CHAN_CTRL(chan), in axi_adc_chan_disable()
|
/openbmc/linux/sound/soc/jz4740/ |
H A D | jz4740-i2s.c | 140 regmap_clear_bits(i2s->regmap, JZ_REG_AIC_CONF, JZ_AIC_CONF_ENABLE); in jz4740_i2s_shutdown() 165 regmap_clear_bits(i2s->regmap, JZ_REG_AIC_CTRL, mask); in jz4740_i2s_trigger() 423 regmap_clear_bits(i2s->regmap, JZ_REG_AIC_CONF, JZ_AIC_CONF_ENABLE); in jz4740_i2s_suspend()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-ingenic.c | 86 regmap_clear_bits(priv->map, REG_SSICR1, REG_SSICR1_UNFIN); in spi_ingenic_set_cs() 87 regmap_clear_bits(priv->map, REG_SSISR, in spi_ingenic_set_cs() 322 regmap_clear_bits(priv->map, REG_SSICR0, REG_SSICR0_SSIE); in spi_ingenic_unprepare_hardware()
|
/openbmc/linux/drivers/phy/marvell/ |
H A D | phy-mvebu-cp110-utmi.c | 171 regmap_clear_bits(utmi->syscon, SYSCON_UTMI_CFG_REG(port->id), in mvebu_cp110_utmi_phy_power_off() 184 regmap_clear_bits(utmi->syscon, SYSCON_USB_CFG_REG, USB_CFG_PLL_MASK); in mvebu_cp110_utmi_phy_power_off()
|
/openbmc/linux/drivers/iio/accel/ |
H A D | kionix-kx022a.c | 338 ret = regmap_clear_bits(data->regmap, KX022A_REG_CNTL, in kx022a_turn_on_off_unlocked() 743 return regmap_clear_bits(data->regmap, KX022A_REG_CNTL, in kx022a_set_drdy_irq() 774 ret = regmap_clear_bits(data->regmap, data->ien_reg, KX022A_MASK_WMI); in kx022a_fifo_disable() 778 ret = regmap_clear_bits(data->regmap, KX022A_REG_BUF_CNTL2, in kx022a_fifo_disable()
|
/openbmc/linux/drivers/mfd/ |
H A D | tps65910.c | 295 ret = regmap_clear_bits(tps65910->regmap, TPS65910_DEVCTRL, in tps65910_ck32k_init() 357 regmap_clear_bits(tps65910->regmap, TPS65910_DEVCTRL, in tps65910_sleepinit()
|