Home
last modified time | relevance | path

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

1234567

/linux-6.15/drivers/pmdomain/imx/
H A Dimx8mp-blk-ctrl.c204 regmap_clear_bits(bc->regmap, GPR_REG0, in imx8mp_hsio_blk_ctrl_power_off()
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()
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(bc->regmap, HDMI_RTX_CLK_CTL0, in imx8mp_hdmi_blk_ctrl_power_off()
392 regmap_clear_bits(bc->regmap, HDMI_TX_CONTROL0, BIT(1)); in imx8mp_hdmi_blk_ctrl_power_off()
393 regmap_clear_bits(bc->regmap, HDMI_RTX_RESET_CTL0, in imx8mp_hdmi_blk_ctrl_power_off()
395 regmap_clear_bits(bc->regmap, HDMI_RTX_CLK_CTL1, in imx8mp_hdmi_blk_ctrl_power_off()
398 regmap_clear_bits(bc->regmap, HDMI_RTX_CLK_CTL0, 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()
429 regmap_clear_bits(bc->regmap, BLK_SFT_RSTN, BIT(0) | BIT(1) | BIT(2)); in imx8mm_vpu_power_notifier()
/linux-6.15/drivers/phy/freescale/
H A Dphy-fsl-imx8qm-hsio.c396 regmap_clear_bits(priv->misc, HSIO_CTRL0, in imx_hsio_power_off()
402 regmap_clear_bits(priv->ctrl, in imx_hsio_power_off()
405 regmap_clear_bits(priv->ctrl, in imx_hsio_power_off()
408 regmap_clear_bits(priv->ctrl, in imx_hsio_power_off()
412 regmap_clear_bits(priv->ctrl, in imx_hsio_power_off()
415 regmap_clear_bits(priv->ctrl, in imx_hsio_power_off()
418 regmap_clear_bits(priv->ctrl, in imx_hsio_power_off()
424 regmap_clear_bits(priv->phy, in imx_hsio_power_off()
427 regmap_clear_bits(priv->phy, in imx_hsio_power_off()
436 regmap_clear_bits(priv->phy, in imx_hsio_power_off()
[all …]
/linux-6.15/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()
356 regmap_clear_bits(jz_codec->regmap, JZ4770_CODEC_REG_CR_HP, in hpout_event()
587 regmap_clear_bits(regmap, JZ4770_CODEC_REG_CR_MIC, in jz4770_codec_codec_init_regs()
591 regmap_clear_bits(regmap, JZ4770_CODEC_REG_CR_ADC, in jz4770_codec_codec_init_regs()
601 regmap_clear_bits(regmap, JZ4770_CODEC_REG_ICR, REG_ICR_INT_FORM_MASK); in jz4770_codec_codec_init_regs()
608 regmap_clear_bits(regmap, JZ4770_CODEC_REG_CCR, REG_CCR_CRYSTAL_MASK); in jz4770_codec_codec_init_regs()
611 regmap_clear_bits(regmap, JZ4770_CODEC_REG_CR_HP, REG_CR_HP_LOAD); in jz4770_codec_codec_init_regs()
614 regmap_clear_bits(regmap, JZ4770_CODEC_REG_AGC1, REG_AGC1_EN); in jz4770_codec_codec_init_regs()
620 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()
337 regmap_clear_bits(jz_codec->regmap, JZ4760_CODEC_REG_CR1, in hpout_event()
561 regmap_clear_bits(regmap, JZ4760_CODEC_REG_CR3, in jz4760_codec_codec_init_regs()
565 regmap_clear_bits(regmap, JZ4760_CODEC_REG_CR3, in jz4760_codec_codec_init_regs()
574 regmap_clear_bits(regmap, JZ4760_CODEC_REG_ICR, REG_ICR_INT_FORM_MASK); in jz4760_codec_codec_init_regs()
581 regmap_clear_bits(regmap, JZ4760_CODEC_REG_CCR1, REG_CCR1_CRYSTAL_MASK); in jz4760_codec_codec_init_regs()
584 regmap_clear_bits(regmap, JZ4760_CODEC_REG_CR1, REG_CR1_HP_LOAD); in jz4760_codec_codec_init_regs()
591 regmap_clear_bits(regmap, JZ4760_CODEC_REG_AGC1, REG_AGC1_EN); in jz4760_codec_codec_init_regs()
594 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()
/linux-6.15/drivers/iio/adc/
H A Dmp2629_adc.c165 regmap_clear_bits(info->regmap, MP2629_REG_ADC_CTRL, in mp2629_adc_probe()
167 regmap_clear_bits(info->regmap, MP2629_REG_ADC_CTRL, MP2629_ADC_START); in mp2629_adc_probe()
181 regmap_clear_bits(info->regmap, MP2629_REG_ADC_CTRL, in mp2629_adc_remove()
183 regmap_clear_bits(info->regmap, MP2629_REG_ADC_CTRL, MP2629_ADC_START); in mp2629_adc_remove()
H A Dberlin2-adc.c132 regmap_clear_bits(priv->regmap, BERLIN2_SM_ADC_STATUS, in berlin2_adc_read()
142 regmap_clear_bits(priv->regmap, BERLIN2_SM_CTRL, in berlin2_adc_read()
183 regmap_clear_bits(priv->regmap, BERLIN2_SM_TSEN_STATUS, in berlin2_adc_tsen_read()
193 regmap_clear_bits(priv->regmap, BERLIN2_SM_TSEN_CTRL, in berlin2_adc_tsen_read()
287 regmap_clear_bits(regmap, BERLIN2_SM_CTRL, BERLIN2_SM_CTRL_ADC_POWER); in berlin2_adc_powerdown()
H A Dsc27xx_adc.c562 regmap_clear_bits(data->regmap, data->base + SC27XX_ADC_CTL, in sc27xx_adc_read()
791 regmap_clear_bits(data->regmap, data->var_data->clk_en, in sc27xx_adc_enable()
794 regmap_clear_bits(data->regmap, data->var_data->module_en, in sc27xx_adc_enable()
805 regmap_clear_bits(data->regmap, data->var_data->clk_en, in sc27xx_adc_disable()
808 regmap_clear_bits(data->regmap, data->var_data->module_en, in sc27xx_adc_disable()
H A Dmeson_saradc.c561 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_stop_sample_engine()
570 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_stop_sample_engine()
610 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_DELAY, in meson_sar_adc_unlock()
865 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_init()
871 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_REG3, in meson_sar_adc_init()
965 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_DELTA_10, in meson_sar_adc_init()
967 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_DELTA_10, in meson_sar_adc_init()
1066 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_REG3, in meson_sar_adc_hw_enable()
1091 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_REG3, in meson_sar_adc_hw_disable()
H A Dintel_mrfld_adc.c84 regmap_clear_bits(regmap, BCOVE_MADCIRQ, BCOVE_ADCIRQ_ALL); in mrfld_adc_single_conv()
85 regmap_clear_bits(regmap, BCOVE_MIRQLVL1, BCOVE_LVL1_ADC); in mrfld_adc_single_conv()
/linux-6.15/drivers/usb/typec/mux/
H A Dwcd939x-usbss.c278 ret = regmap_clear_bits(usbss->regmap, WCD_USBSS_SWITCH_SETTINGS_ENABLE, in wcd939x_usbss_set()
290 ret = regmap_clear_bits(usbss->regmap, WCD_USBSS_SWITCH_SELECT0, in wcd939x_usbss_set()
300 ret = regmap_clear_bits(usbss->regmap, WCD_USBSS_SWITCH_SELECT1, in wcd939x_usbss_set()
318 ret = regmap_clear_bits(usbss->regmap, WCD_USBSS_EQUALIZER1, in wcd939x_usbss_set()
386 ret = regmap_clear_bits(usbss->regmap, WCD_USBSS_MG1_BIAS, in wcd939x_usbss_set()
390 ret = regmap_clear_bits(usbss->regmap, WCD_USBSS_MG2_BIAS, in wcd939x_usbss_set()
404 ret = regmap_clear_bits(usbss->regmap, WCD_USBSS_SWITCH_SELECT1, in wcd939x_usbss_set()
644 ret = regmap_clear_bits(usbss->regmap, WCD_USBSS_USB_SS_CNTL, in wcd939x_usbss_probe()
682 ret = regmap_clear_bits(usbss->regmap, WCD_USBSS_USB_SS_CNTL, in wcd939x_usbss_probe()
/linux-6.15/drivers/misc/
H A Dtps6594-pfsm.c118 ret = regmap_clear_bits(regmap, TPS6594_REG_FSM_I2C_TRIGGERS, in tps6594_pfsm_configure_ret_trig()
127 ret = regmap_clear_bits(regmap, TPS6594_REG_FSM_I2C_TRIGGERS, in tps6594_pfsm_configure_ret_trig()
145 ret = regmap_clear_bits(pfsm->regmap, TPS6594_REG_RTC_CTRL_2, in tps6594_pfsm_ioctl()
196 ret = regmap_clear_bits(pfsm->regmap, TPS6594_REG_FSM_NSLEEP_TRIGGERS, in tps6594_pfsm_ioctl()
233 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()
/linux-6.15/drivers/pmdomain/mediatek/
H A Dmtk-pm-domains.c87 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_enable()
98 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_CLKISO_BIT); in scpsys_sram_enable()
113 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_ISOINT_B_BIT); in scpsys_sram_disable()
154 regmap_clear_bits(regmap, bpd->bus_prot_clr, bpd->bus_prot_set_clr_mask); in scpsys_bus_protect_clear()
250 regmap_clear_bits(scpsys->base, pd->data->ext_buck_iso_offs, in scpsys_power_on()
263 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_CLK_DIS_BIT); in scpsys_power_on()
264 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ISO_BIT); in scpsys_power_on()
335 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_RST_B_BIT); in scpsys_power_off()
336 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_2ND_BIT); in scpsys_power_off()
337 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_BIT); in scpsys_power_off()
/linux-6.15/sound/soc/fsl/
H A Dfsl_micfil.c483 ret = regmap_clear_bits(micfil->regmap, REG_MICFIL_CTRL1, in fsl_micfil_reset()
499 ret = regmap_clear_bits(micfil->regmap, REG_MICFIL_CTRL1, in fsl_micfil_reset()
554 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_CTRL2, in fsl_micfil_init_hwvad_energy_mode()
558 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_CTRL2, in fsl_micfil_init_hwvad_energy_mode()
562 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_SCONFIG, in fsl_micfil_init_hwvad_energy_mode()
566 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_SCONFIG, in fsl_micfil_init_hwvad_energy_mode()
574 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_NCONFIG, in fsl_micfil_init_hwvad_energy_mode()
578 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_NCONFIG, in fsl_micfil_init_hwvad_energy_mode()
658 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_CTRL1, in fsl_micfil_hwvad_enable()
683 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_CTRL1, in fsl_micfil_hwvad_disable()
[all …]
/linux-6.15/drivers/iio/trigger/
H A Dstm32-timer-trigger.c196 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_ARPE); in stm32_timer_stop()
197 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_timer_stop()
203 regmap_clear_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2); in stm32_timer_stop()
205 regmap_clear_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS); in stm32_timer_stop()
511 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_counter_write_raw()
697 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_ARPE); in stm32_count_set_preset()
773 regmap_clear_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2); in stm32_timer_detect_trgo2()
835 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_timer_trigger_remove()
856 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_timer_trigger_suspend()
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/drivers/gpio/
H A Dgpio-wcove.c135 regmap_clear_bits(wg->regmap, reg, mask); in wcove_update_irq_mask()
214 regmap_clear_bits(wg->regmap, reg, 1); in wcove_gpio_set()
485 ret = regmap_clear_bits(wg->regmap, IRQ_MASK_BASE + 0, GPIO_IRQ0_MASK); in wcove_gpio_probe()
490 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()
/linux-6.15/drivers/pwm/
H A Dpwm-adp5585.c65 regmap_clear_bits(regmap, ADP5585_GENERAL_CFG, ADP5585_OSC_EN); in pwm_adp5585_apply()
66 regmap_clear_bits(regmap, ADP5585_PWM_CFG, ADP5585_PWM_EN); in pwm_adp5585_apply()
/linux-6.15/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()
/linux-6.15/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()

1234567