Home
last modified time | relevance | path

Searched refs:regmap_set_bits (Results 1 – 25 of 46) sorted by relevance

12

/Linux-v6.1/drivers/soc/imx/
Dimx8mp-blk-ctrl.c81 regmap_set_bits(bc->regmap, GPR_REG0, USB_CLOCK_MODULE_EN); in imx8mp_hsio_blk_ctrl_power_on()
84 regmap_set_bits(bc->regmap, GPR_REG0, PCIE_CLOCK_MODULE_EN); in imx8mp_hsio_blk_ctrl_power_on()
87 regmap_set_bits(bc->regmap, GPR_REG0, in imx8mp_hsio_blk_ctrl_power_on()
132 regmap_set_bits(bc->regmap, GPR_REG0, USB_CLOCK_MODULE_EN); in imx8mp_hsio_power_notifier()
145 regmap_set_bits(bc->regmap, GPR_REG0, USB_CLOCK_MODULE_EN); in imx8mp_hsio_power_notifier()
210 regmap_set_bits(bc->regmap, HDMI_RTX_CLK_CTL0, BIT(9)); in imx8mp_hdmi_blk_ctrl_power_on()
211 regmap_set_bits(bc->regmap, HDMI_RTX_RESET_CTL0, BIT(16)); in imx8mp_hdmi_blk_ctrl_power_on()
214 regmap_set_bits(bc->regmap, HDMI_RTX_CLK_CTL0, in imx8mp_hdmi_blk_ctrl_power_on()
217 regmap_set_bits(bc->regmap, HDMI_RTX_CLK_CTL1, BIT(11)); in imx8mp_hdmi_blk_ctrl_power_on()
218 regmap_set_bits(bc->regmap, HDMI_RTX_RESET_CTL0, in imx8mp_hdmi_blk_ctrl_power_on()
[all …]
Dimx8m-blk-ctrl.c109 regmap_set_bits(bc->regmap, BLK_CLK_EN, data->clk_mask); in imx8m_blk_ctrl_power_on()
122 regmap_set_bits(bc->regmap, BLK_SFT_RSTN, data->rst_mask); in imx8m_blk_ctrl_power_on()
124 regmap_set_bits(bc->regmap, BLK_MIPI_RESET_DIV, data->mipi_phy_rst_mask); in imx8m_blk_ctrl_power_on()
418 regmap_set_bits(bc->regmap, BLK_CLK_EN, BIT(0) | BIT(1) | BIT(2)); in imx8mm_vpu_power_notifier()
429 regmap_set_bits(bc->regmap, 0x8, 0xffffffff); in imx8mm_vpu_power_notifier()
430 regmap_set_bits(bc->regmap, 0xc, 0xffffffff); in imx8mm_vpu_power_notifier()
431 regmap_set_bits(bc->regmap, 0x10, 0xffffffff); in imx8mm_vpu_power_notifier()
432 regmap_set_bits(bc->regmap, 0x14, 0xffffffff); in imx8mm_vpu_power_notifier()
522 regmap_set_bits(bc->regmap, BLK_CLK_EN, BIT(12)); in imx8mm_disp_power_notifier()
523 regmap_set_bits(bc->regmap, BLK_SFT_RSTN, BIT(6)); in imx8mm_disp_power_notifier()
[all …]
Dimx93-blk-ctrl.c156 regmap_set_bits(bc->regmap, BLK_SFT_RSTN, data->rst_mask); in imx93_blk_ctrl_power_on()
179 regmap_set_bits(bc->regmap, BLK_CLK_EN, data->clk_mask); in imx93_blk_ctrl_power_off()
/Linux-v6.1/sound/soc/codecs/
Djz4770.c204 regmap_set_bits(regmap, JZ4770_CODEC_REG_CR_VIC, in jz4770_codec_set_bias_level()
206 regmap_set_bits(regmap, JZ4770_CODEC_REG_CR_VIC, in jz4770_codec_set_bias_level()
298 regmap_set_bits(jz_codec->regmap, JZ4770_CODEC_REG_IFR, in jz4770_codec_mute_stream()
400 regmap_set_bits(jz_codec->regmap, JZ4770_CODEC_REG_IFR, in hpout_event()
407 regmap_set_bits(jz_codec->regmap, JZ4770_CODEC_REG_CR_HP, in hpout_event()
420 regmap_set_bits(jz_codec->regmap, JZ4770_CODEC_REG_IFR, in hpout_event()
609 regmap_set_bits(regmap, JZ4770_CODEC_REG_CR_HP, REG_CR_HP_SEL_MASK); in jz4770_codec_codec_init_regs()
612 regmap_set_bits(regmap, JZ4770_CODEC_REG_CR_LO, REG_CR_LO_SEL_MASK); in jz4770_codec_codec_init_regs()
623 regmap_set_bits(regmap, JZ4770_CODEC_REG_AICR_ADC, in jz4770_codec_codec_init_regs()
625 regmap_set_bits(regmap, JZ4770_CODEC_REG_AICR_DAC, in jz4770_codec_codec_init_regs()
[all …]
Djz4760.c186 regmap_set_bits(regmap, JZ4760_CODEC_REG_PMR1, REG_PMR1_SB_SLEEP); in jz4760_codec_set_bias_level()
187 regmap_set_bits(regmap, JZ4760_CODEC_REG_PMR1, REG_PMR1_SB); in jz4760_codec_set_bias_level()
368 regmap_set_bits(jz_codec->regmap, JZ4760_CODEC_REG_IFR, in hpout_event()
375 regmap_set_bits(jz_codec->regmap, JZ4760_CODEC_REG_CR1, in hpout_event()
388 regmap_set_bits(jz_codec->regmap, JZ4760_CODEC_REG_IFR, in hpout_event()
573 regmap_set_bits(regmap, JZ4760_CODEC_REG_CR1, REG_CR1_OUTSEL_MASK); in jz4760_codec_codec_init_regs()
584 regmap_set_bits(regmap, JZ4760_CODEC_REG_AICR, in jz4760_codec_codec_init_regs()
602 regmap_set_bits(jz_codec->regmap, JZ4760_CODEC_REG_CR2, in jz4760_codec_codec_init_regs()
Djz4740.c222 regmap_set_bits(regmap, JZ4740_REG_CODEC_1, JZ4740_CODEC_1_RESET); in jz4740_codec_wakeup()
257 regmap_set_bits(regmap, JZ4740_REG_CODEC_1, mask); in jz4740_codec_set_bias_level()
261 regmap_set_bits(regmap, JZ4740_REG_CODEC_1, mask); in jz4740_codec_set_bias_level()
Dcs35l45.c240 regmap_set_bits(cs35l45->regmap, CS35L45_REFCLK_INPUT, CS35L45_PLL_OPEN_LOOP_MASK); in cs35l45_set_pll()
246 regmap_set_bits(cs35l45->regmap, CS35L45_REFCLK_INPUT, CS35L45_PLL_REFCLK_EN_MASK); in cs35l45_set_pll()
532 regmap_set_bits(cs35l45->regmap, CS35L45_ERROR_RELEASE, CS35L45_GLOBAL_ERR_RLS_MASK); in cs35l45_runtime_resume()
Djz4725b.c320 regmap_set_bits(map, JZ4725B_CODEC_REG_PMR2, in jz4725b_codec_set_bias_level()
324 regmap_set_bits(map, JZ4725B_CODEC_REG_PMR2, in jz4725b_codec_set_bias_level()
/Linux-v6.1/drivers/soc/mediatek/
Dmtk-pm-domains.c92 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_ISOINT_B_BIT); in scpsys_sram_enable()
107 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_CLKISO_BIT); in scpsys_sram_disable()
112 regmap_set_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_disable()
131 regmap_set_bits(regmap, bpd[i].bus_prot_set, mask); in _scpsys_bus_protect_enable()
222 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_BIT); in scpsys_power_on()
223 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_2ND_BIT); in scpsys_power_on()
233 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_RST_B_BIT); in scpsys_power_on()
279 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_ISO_BIT); in scpsys_power_off()
280 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_CLK_DIS_BIT); in scpsys_power_off()
Dmtk-infracfg.c89 regmap_set_bits(infracfg, MT8192_INFRA_CTRL, in mtk_infracfg_init()
/Linux-v6.1/drivers/mfd/
Dtps65910.c317 ret = regmap_set_bits(tps65910->regmap, TPS65910_DEVCTRL, in tps65910_sleepinit()
325 ret = regmap_set_bits(tps65910->regmap, in tps65910_sleepinit()
335 ret = regmap_set_bits(tps65910->regmap, in tps65910_sleepinit()
345 ret = regmap_set_bits(tps65910->regmap, in tps65910_sleepinit()
503 ret = regmap_set_bits(tps65910->regmap, TPS65910_DEVCTRL, in tps65910_i2c_probe()
/Linux-v6.1/drivers/gpio/
Dgpio-tps65910.c46 regmap_set_bits(tps65910->regmap, TPS65910_GPIO0 + offset, in tps65910_gpio_set()
62 return regmap_set_bits(tps65910->regmap, TPS65910_GPIO0 + offset, in tps65910_gpio_output()
160 ret = regmap_set_bits(tps65910->regmap, in tps65910_gpio_probe()
Dgpio-exar.c104 regmap_set_bits(exar_gpio->regmap, addr, BIT(bit)); in exar_set_value()
128 regmap_set_bits(exar_gpio->regmap, addr, BIT(bit)); in exar_direction_input()
Dgpio-wcove.c132 regmap_set_bits(wg->regmap, reg, mask); in wcove_update_irq_mask()
211 regmap_set_bits(wg->regmap, reg, 1); in wcove_gpio_set()
358 regmap_set_bits(wg->regmap, reg, mask); in wcove_gpio_irq_handler()
Dgpio-bd71815.c49 ret = regmap_set_bits(bd71815->regmap, BD71815_REG_GPO, bit); in bd71815gpo_set()
/Linux-v6.1/drivers/hwmon/
Dmax31760.c270 return regmap_set_bits(state->regmap, REG_CR3, BIT(channel)); in max31760_write()
285 return regmap_set_bits(state->regmap, REG_CR2, CR2_DFC); in max31760_write()
477 ret = regmap_set_bits(state->regmap, REG_CR1, CR1_HYST); in pwm1_auto_point_temp_hyst_store()
537 ret = regmap_set_bits(state->regmap, REG_CR2, CR2_ALERTS); in max31760_probe()
567 return regmap_set_bits(state->regmap, REG_CR2, CR2_STBY); in max31760_suspend()
/Linux-v6.1/drivers/gpu/drm/ingenic/
Dingenic-ipu.c357 regmap_set_bits(ipu->map, JZ_REG_IPU_CTRL, JZ_IPU_CTRL_RST); in ingenic_ipu_plane_atomic_update()
360 regmap_set_bits(ipu->map, JZ_REG_IPU_CTRL, in ingenic_ipu_plane_atomic_update()
385 regmap_set_bits(ipu->map, JZ_REG_IPU_CTRL, JZ_IPU_CTRL_SPKG_SEL); in ingenic_ipu_plane_atomic_update()
479 regmap_set_bits(ipu->map, JZ_REG_IPU_CTRL, JZ_IPU_CTRL_CSC_EN); in ingenic_ipu_plane_atomic_update()
557 regmap_set_bits(ipu->map, JZ_REG_IPU_CTRL, in ingenic_ipu_plane_atomic_update()
660 regmap_set_bits(ipu->map, JZ_REG_IPU_CTRL, JZ_IPU_CTRL_STOP); in ingenic_ipu_plane_atomic_disable()
778 regmap_set_bits(ipu->map, JZ_REG_IPU_CTRL, JZ_IPU_CTRL_RUN); in ingenic_ipu_irq_handler()
/Linux-v6.1/drivers/regulator/
Dtps65910-regulator.c406 return regmap_set_bits(regmap, reg, in tps65910_set_mode()
855 ret = regmap_set_bits(mfd->regmap, in tps65910_set_ext_sleep_config()
868 ret = regmap_set_bits(mfd->regmap, in tps65910_set_ext_sleep_config()
883 ret = regmap_set_bits(mfd->regmap, in tps65910_set_ext_sleep_config()
950 ret = regmap_set_bits(mfd->regmap, in tps65910_set_ext_sleep_config()
1101 err = regmap_set_bits(pmic->mfd->regmap, TPS65910_DEVCTRL, in tps65910_probe()
/Linux-v6.1/drivers/spi/
Dspi-ingenic.c92 regmap_set_bits(priv->map, REG_SSICR1, REG_SSICR1_UNFIN); in spi_ingenic_set_cs()
95 regmap_set_bits(priv->map, REG_SSICR0, in spi_ingenic_set_cs()
313 regmap_set_bits(priv->map, REG_SSICR0, REG_SSICR0_SSIE); in spi_ingenic_prepare_hardware()
/Linux-v6.1/drivers/phy/marvell/
Dphy-mvebu-cp110-utmi.c229 regmap_set_bits(utmi->syscon, SYSCON_UTMI_CFG_REG(port->id), in mvebu_cp110_utmi_phy_power_on()
265 regmap_set_bits(utmi->syscon, SYSCON_USB_CFG_REG, USB_CFG_PLL_MASK); in mvebu_cp110_utmi_phy_power_on()
/Linux-v6.1/sound/soc/sunxi/
Dsun4i-codec.c253 regmap_set_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_start_playback()
257 regmap_set_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_start_playback()
363 regmap_set_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_prepare_playback()
533 regmap_set_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_hw_params_playback()
546 regmap_set_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_hw_params_playback()
610 regmap_set_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_startup()
/Linux-v6.1/drivers/net/ethernet/mediatek/
Dmtk_star_emac.c528 regmap_set_bits(priv->regs, MTK_STAR_REG_TX_DMA_CTRL, in mtk_star_dma_start()
530 regmap_set_bits(priv->regs, MTK_STAR_REG_RX_DMA_CTRL, in mtk_star_dma_start()
555 regmap_set_bits(priv->regs, MTK_STAR_REG_RX_DMA_CTRL, in mtk_star_dma_resume_rx()
561 regmap_set_bits(priv->regs, MTK_STAR_REG_TX_DMA_CTRL, in mtk_star_dma_resume_tx()
865 regmap_set_bits(priv->regs, MTK_STAR_REG_HASH_CTRL, in mtk_star_reset_hash_table()
867 regmap_set_bits(priv->regs, MTK_STAR_REG_TEST1, in mtk_star_reset_hash_table()
1212 regmap_set_bits(priv->regs, MTK_STAR_REG_ARL_CFG, in mtk_star_set_rx_mode()
/Linux-v6.1/drivers/gpu/drm/stm/
Dltdc.c788 regmap_set_bits(ldev->regmap, LTDC_IER, IER_FUWIE | IER_FUEIE | IER_RRIE | IER_TERRIE); in ltdc_crtc_atomic_enable()
792 regmap_set_bits(ldev->regmap, LTDC_SRCR, SRCR_VBR); in ltdc_crtc_atomic_enable()
818 regmap_set_bits(ldev->regmap, LTDC_SRCR, SRCR_IMR); in ltdc_crtc_atomic_disable()
1046 regmap_set_bits(ldev->regmap, LTDC_SRCR, SRCR_VBR); in ltdc_crtc_atomic_flush()
1131 regmap_set_bits(ldev->regmap, LTDC_IER, IER_LIE); in ltdc_crtc_enable_vblank()
1158 ret = regmap_set_bits(ldev->regmap, LTDC_GCR, GCR_CRCEN); in ltdc_crtc_set_crc_source()
1747 regmap_set_bits(ldev->regmap, LTDC_GCR, GCR_LTDCEN); in ltdc_encoder_enable()
/Linux-v6.1/drivers/clk/
Dclk-versaclock5.c396 ret = regmap_set_bits(vc5->regmap, VC5_VCO_CTRL_AND_PREDIV, in vc5_pfd_set_rate()
587 return regmap_set_bits(vc5->regmap, VC5_GLOBAL_REGISTER, in vc5_fod_set_rate()
616 ret = regmap_set_bits(vc5->regmap, in vc5_clk_out_prepare()
641 ret = regmap_set_bits(vc5->regmap, VC5_CLK_OUTPUT_CFG(hwdata->num, 1), in vc5_clk_out_prepare()
/Linux-v6.1/drivers/clk/mediatek/
Dclk-gate.c69 regmap_set_bits(cg->regmap, cg->sta_ofs, BIT(cg->bit)); in mtk_cg_set_bit_no_setclr()

12