Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/soc/imx/
Dimx8mp-blk-ctrl.c100 regmap_clear_bits(bc->regmap, GPR_REG0, USB_CLOCK_MODULE_EN); in imx8mp_hsio_blk_ctrl_power_off()
103 regmap_clear_bits(bc->regmap, GPR_REG0, PCIE_CLOCK_MODULE_EN); in imx8mp_hsio_blk_ctrl_power_off()
106 regmap_clear_bits(bc->regmap, GPR_REG0, in imx8mp_hsio_blk_ctrl_power_off()
136 regmap_clear_bits(bc->regmap, GPR_REG0, USB_CLOCK_MODULE_EN); in imx8mp_hsio_power_notifier()
247 regmap_clear_bits(bc->regmap, HDMI_TX_CONTROL0, BIT(3)); in imx8mp_hdmi_blk_ctrl_power_on()
266 regmap_clear_bits(bc->regmap, HDMI_RTX_CLK_CTL0, BIT(9)); in imx8mp_hdmi_blk_ctrl_power_off()
267 regmap_clear_bits(bc->regmap, HDMI_RTX_RESET_CTL0, BIT(16)); in imx8mp_hdmi_blk_ctrl_power_off()
270 regmap_clear_bits(bc->regmap, HDMI_RTX_RESET_CTL0, in imx8mp_hdmi_blk_ctrl_power_off()
272 regmap_clear_bits(bc->regmap, HDMI_RTX_CLK_CTL1, BIT(11)); in imx8mp_hdmi_blk_ctrl_power_off()
273 regmap_clear_bits(bc->regmap, HDMI_RTX_CLK_CTL0, in imx8mp_hdmi_blk_ctrl_power_off()
[all …]
Dimx8m-blk-ctrl.c99 regmap_clear_bits(bc->regmap, BLK_SFT_RSTN, data->rst_mask); in imx8m_blk_ctrl_power_on()
101 regmap_clear_bits(bc->regmap, BLK_MIPI_RESET_DIV, data->mipi_phy_rst_mask); in imx8m_blk_ctrl_power_on()
151 regmap_clear_bits(bc->regmap, BLK_MIPI_RESET_DIV, data->mipi_phy_rst_mask); in imx8m_blk_ctrl_power_off()
153 regmap_clear_bits(bc->regmap, BLK_SFT_RSTN, data->rst_mask); in imx8m_blk_ctrl_power_off()
154 regmap_clear_bits(bc->regmap, BLK_CLK_EN, data->clk_mask); in imx8m_blk_ctrl_power_off()
417 regmap_clear_bits(bc->regmap, BLK_SFT_RSTN, BIT(0) | BIT(1) | BIT(2)); in imx8mm_vpu_power_notifier()
Dimx93-blk-ctrl.c153 regmap_clear_bits(bc->regmap, BLK_CLK_EN, data->clk_mask); in imx93_blk_ctrl_power_on()
178 regmap_clear_bits(bc->regmap, BLK_SFT_RSTN, data->rst_mask); in imx93_blk_ctrl_power_off()
/linux-6.1.9/sound/soc/codecs/
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 …]
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()
352 regmap_clear_bits(jz_codec->regmap, JZ4760_CODEC_REG_CR1, in hpout_event()
576 regmap_clear_bits(regmap, JZ4760_CODEC_REG_CR3, in jz4760_codec_codec_init_regs()
580 regmap_clear_bits(regmap, JZ4760_CODEC_REG_CR3, in jz4760_codec_codec_init_regs()
589 regmap_clear_bits(regmap, JZ4760_CODEC_REG_ICR, REG_ICR_INT_FORM_MASK); in jz4760_codec_codec_init_regs()
596 regmap_clear_bits(regmap, JZ4760_CODEC_REG_CCR1, REG_CCR1_CRYSTAL_MASK); in jz4760_codec_codec_init_regs()
599 regmap_clear_bits(regmap, JZ4760_CODEC_REG_CR1, REG_CR1_HP_LOAD); in jz4760_codec_codec_init_regs()
606 regmap_clear_bits(regmap, JZ4760_CODEC_REG_AGC1, REG_AGC1_EN); in jz4760_codec_codec_init_regs()
609 regmap_clear_bits(regmap, JZ4760_CODEC_REG_GCR5, in jz4760_codec_codec_init_regs()
Djz4725b.c204 return regmap_clear_bits(map, JZ4725B_CODEC_REG_IFR, in jz4725b_out_stage_enable()
211 return regmap_clear_bits(map, JZ4725B_CODEC_REG_IFR, in jz4725b_out_stage_enable()
310 regmap_clear_bits(map, JZ4725B_CODEC_REG_PMR2, in jz4725b_codec_set_bias_level()
315 regmap_clear_bits(map, JZ4725B_CODEC_REG_PMR2, in jz4725b_codec_set_bias_level()
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()
Dcs35l45.c244 regmap_clear_bits(cs35l45->regmap, CS35L45_REFCLK_INPUT, CS35L45_PLL_REFCLK_EN_MASK); in cs35l45_set_pll()
245 regmap_clear_bits(cs35l45->regmap, CS35L45_REFCLK_INPUT, CS35L45_PLL_OPEN_LOOP_MASK); in cs35l45_set_pll()
531 regmap_clear_bits(cs35l45->regmap, CS35L45_ERROR_RELEASE, CS35L45_GLOBAL_ERR_RLS_MASK); in cs35l45_runtime_resume()
533 regmap_clear_bits(cs35l45->regmap, CS35L45_ERROR_RELEASE, CS35L45_GLOBAL_ERR_RLS_MASK); in cs35l45_runtime_resume()
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()
/linux-6.1.9/drivers/soc/mediatek/
Dmtk-pm-domains.c83 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_enable()
94 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_CLKISO_BIT); in scpsys_sram_enable()
109 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_ISOINT_B_BIT); in scpsys_sram_disable()
168 regmap_clear_bits(regmap, bpd[i].bus_prot_clr, mask); in _scpsys_bus_protect_disable()
231 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_CLK_DIS_BIT); in scpsys_power_on()
232 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ISO_BIT); in scpsys_power_on()
280 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_RST_B_BIT); in scpsys_power_off()
281 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_2ND_BIT); in scpsys_power_off()
282 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_BIT); in scpsys_power_off()
/linux-6.1.9/drivers/rtc/
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.1.9/drivers/regulator/
Dtps65910-regulator.c409 return regmap_clear_bits(regmap, reg, LDO_ST_ON_BIT); in tps65910_set_mode()
858 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config()
871 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config()
886 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config()
898 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config()
901 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config()
946 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config()
953 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config()
1117 regmap_clear_bits(pmic->mfd->regmap, TPS65910_DCDCCTRL, in tps65910_probe()
Dbd718x7-regulator.c142 ret = regmap_clear_bits(rdev->regmap, BD718XX_REG_MVRFLTMASK2, in voltage_change_done()
473 return regmap_clear_bits(rdev->regmap, BD718XX_REG_MVRFLTMASK2, in bd718x7_set_ldo_uvp()
536 return regmap_clear_bits(rdev->regmap, reg, bit); in bd718x7_set_buck_uvp()
557 return regmap_clear_bits(rdev->regmap, reg, bit); in bd718x7_set_buck_ovp()
/linux-6.1.9/drivers/gpio/
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()
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()
Dgpio-exar.c106 regmap_clear_bits(exar_gpio->regmap, addr, BIT(bit)); in exar_set_value()
117 regmap_clear_bits(exar_gpio->regmap, addr, BIT(bit)); in exar_direction_output()
Dgpio-bd71815.c51 ret = regmap_clear_bits(bd71815->regmap, BD71815_REG_GPO, bit); in bd71815gpo_set()
/linux-6.1.9/drivers/hwmon/
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.1.9/sound/soc/fsl/
Dfsl_micfil.c187 ret = regmap_clear_bits(micfil->regmap, REG_MICFIL_CTRL1, in fsl_micfil_reset()
203 ret = regmap_clear_bits(micfil->regmap, REG_MICFIL_CTRL1, in fsl_micfil_reset()
272 ret = regmap_clear_bits(micfil->regmap, REG_MICFIL_CTRL1, in fsl_micfil_trigger()
322 ret = regmap_clear_bits(micfil->regmap, REG_MICFIL_CTRL1, in fsl_micfil_hw_params()
/linux-6.1.9/drivers/spi/
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()
/linux-6.1.9/drivers/phy/marvell/
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()
/linux-6.1.9/drivers/mfd/
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()
/linux-6.1.9/drivers/gpu/drm/stm/
Dltdc.c814 regmap_clear_bits(ldev->regmap, LTDC_IER, IER_FUWIE | IER_FUEIE | IER_RRIE | IER_TERRIE); in ltdc_crtc_atomic_disable()
1143 regmap_clear_bits(ldev->regmap, LTDC_IER, IER_LIE); in ltdc_crtc_disable_vblank()
1161 ret = regmap_clear_bits(ldev->regmap, LTDC_GCR, GCR_CRCEN); in ltdc_crtc_set_crc_source()
1729 regmap_clear_bits(ldev->regmap, LTDC_GCR, GCR_LTDCEN); in ltdc_encoder_disable()
2017 regmap_clear_bits(ldev->regmap, LTDC_IER, IER_LIE | IER_RRIE | IER_FUWIE | in ltdc_load()
2020 regmap_clear_bits(ldev->regmap, LTDC_IER, IER_LIE | IER_RRIE | IER_FUWIE | in ltdc_load()
/linux-6.1.9/sound/soc/sunxi/
Dsun4i-codec.c264 regmap_clear_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_stop_playback()
383 regmap_clear_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_prepare_playback()
537 regmap_clear_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_hw_params_playback()
542 regmap_clear_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_hw_params_playback()
/linux-6.1.9/drivers/clk/mediatek/
Dclk-gate.c76 regmap_clear_bits(cg->regmap, cg->sta_ofs, BIT(cg->bit)); in mtk_cg_clr_bit_no_setclr()

12