Home
last modified time | relevance | path

Searched refs:regmap_clear_bits (Results 1 – 25 of 73) sorted by relevance

123

/openbmc/linux/drivers/pmdomain/imx/
H A Dimx8mp-blk-ctrl.c198 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 Dimx8m-blk-ctrl.c101 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 Djz4770.c196 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 Djz4760.c180 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 Djz4725b.c273 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 Dtfa989x.c254 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 Djz4740.c225 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 Dtps6594-pfsm.c116 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 Dtps6594-esm.c90 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 Dmtk-pm-domains.c84 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 Dfsl_micfil.c452 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 Drtc-rx8010.c161 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 Dtps65910-regulator.c408 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 Dgpio-wcove.c134 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 Dgpio-tps65910.c49 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 Dgpio-bd71815.c51 ret = regmap_clear_bits(bd71815->regmap, BD71815_REG_GPO, bit); in bd71815gpo_set()
/openbmc/linux/drivers/pwm/
H A Dpwm-stm32.c163 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 Dleds-mt6323.c397 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 Dmax31760.c267 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 Dadi-axi-adc.c93 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 Djz4740-i2s.c140 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 Dspi-ingenic.c86 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 Dphy-mvebu-cp110-utmi.c171 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 Dkionix-kx022a.c338 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 Dtps65910.c295 ret = regmap_clear_bits(tps65910->regmap, TPS65910_DEVCTRL, in tps65910_ck32k_init()
357 regmap_clear_bits(tps65910->regmap, TPS65910_DEVCTRL, in tps65910_sleepinit()

123