Home
last modified time | relevance | path

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

123456

/linux/drivers/pmdomain/imx/
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 …]
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/drivers/phy/freescale/
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/sound/soc/codecs/
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 …]
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()
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()
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/drivers/iio/adc/
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()
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()
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()
A Dmeson_saradc.c563 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_stop_sample_engine()
572 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_stop_sample_engine()
612 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_DELAY, in meson_sar_adc_unlock()
867 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_sar_adc_init()
873 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_REG3, in meson_sar_adc_init()
967 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_DELTA_10, in meson_sar_adc_init()
969 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_DELTA_10, in meson_sar_adc_init()
1069 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_REG3, in meson_sar_adc_hw_enable()
1094 regmap_clear_bits(priv->regmap, MESON_SAR_ADC_REG3, in meson_sar_adc_hw_disable()
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/drivers/usb/typec/mux/
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/drivers/misc/
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()
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/drivers/pmdomain/mediatek/
A Dmtk-pm-domains.c86 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_enable()
97 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_CLKISO_BIT); in scpsys_sram_enable()
112 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_ISOINT_B_BIT); in scpsys_sram_disable()
153 regmap_clear_bits(regmap, bpd->bus_prot_clr, bpd->bus_prot_set_clr_mask); in scpsys_bus_protect_clear()
249 regmap_clear_bits(scpsys->base, pd->data->ext_buck_iso_offs, in scpsys_power_on()
262 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_CLK_DIS_BIT); in scpsys_power_on()
263 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ISO_BIT); in scpsys_power_on()
334 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_RST_B_BIT); in scpsys_power_off()
335 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_2ND_BIT); in scpsys_power_off()
336 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_BIT); in scpsys_power_off()
/linux/sound/soc/fsl/
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()
644 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_CTRL1, in fsl_micfil_hwvad_enable()
669 regmap_clear_bits(micfil->regmap, REG_MICFIL_VAD0_CTRL1, in fsl_micfil_hwvad_disable()
[all …]
/linux/drivers/iio/trigger/
A Dstm32-timer-trigger.c192 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_ARPE); in stm32_timer_stop()
193 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_timer_stop()
199 regmap_clear_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2); in stm32_timer_stop()
201 regmap_clear_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS); in stm32_timer_stop()
503 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_counter_write_raw()
684 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_ARPE); in stm32_count_set_preset()
760 regmap_clear_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2); in stm32_timer_detect_trgo2()
821 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_timer_trigger_remove()
842 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_timer_trigger_suspend()
/linux/drivers/rtc/
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/drivers/regulator/
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/drivers/gpio/
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()
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/drivers/pwm/
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/drivers/hwmon/
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/drivers/leds/
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()

Completed in 62 milliseconds

123456