Home
last modified time | relevance | path

Searched refs:regmap_update_bits (Results 1 – 25 of 66) sorted by relevance

123

/drivers/power/domain/
A Dmeson-gx-pwrc-vpu.c52 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_on()
58 regmap_update_bits(priv->regmap_hhi, HHI_VPU_MEM_PD_REG0, in meson_gx_pwrc_vpu_on()
64 regmap_update_bits(priv->regmap_hhi, HHI_VPU_MEM_PD_REG1, in meson_gx_pwrc_vpu_on()
70 regmap_update_bits(priv->regmap_hhi, HHI_MEM_PD_REG0, in meson_gx_pwrc_vpu_on()
80 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_on()
99 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_g12a_pwrc_vpu_on()
105 regmap_update_bits(priv->regmap_hhi, HHI_VPU_MEM_PD_REG0, in meson_g12a_pwrc_vpu_on()
111 regmap_update_bits(priv->regmap_hhi, HHI_VPU_MEM_PD_REG1, in meson_g12a_pwrc_vpu_on()
123 regmap_update_bits(priv->regmap_hhi, HHI_MEM_PD_REG0, in meson_g12a_pwrc_vpu_on()
182 regmap_update_bits(priv->regmap_hhi, HHI_MEM_PD_REG0, in meson_gx_pwrc_vpu_off()
[all …]
A Dapple-pmgr.c48 regmap_update_bits(priv->regmap, priv->offset, in apple_reset_assert()
51 regmap_update_bits(priv->regmap, priv->offset, in apple_reset_assert()
62 regmap_update_bits(priv->regmap, priv->offset, in apple_reset_deassert()
64 regmap_update_bits(priv->regmap, priv->offset, in apple_reset_deassert()
87 regmap_update_bits(priv->regmap, priv->offset, APPLE_PMGR_PS_TARGET, in apple_pmgr_ps_set()
A Dmeson-ee-pwrc.c285 regmap_update_bits(priv->regmap_ao, in meson_ee_pwrc_off()
292 regmap_update_bits(priv->regmap_hhi, in meson_ee_pwrc_off()
300 regmap_update_bits(priv->regmap_ao, in meson_ee_pwrc_off()
327 regmap_update_bits(priv->regmap_ao, in meson_ee_pwrc_on()
333 regmap_update_bits(priv->regmap_hhi, in meson_ee_pwrc_on()
346 regmap_update_bits(priv->regmap_ao, in meson_ee_pwrc_on()
/drivers/phy/
A Dphy-npcm-usb.c71 regmap_update_bits(priv->syscon, GCR_INTCR3, USBPHY3SW, in npcm_usb_phy_init()
75 regmap_update_bits(priv->syscon, GCR_INTCR3, USBPHY3SW, in npcm_usb_phy_init()
79 regmap_update_bits(priv->syscon, GCR_INTCR3, USBPHY2SW, in npcm_usb_phy_init()
83 regmap_update_bits(priv->syscon, GCR_INTCR3, USBPHY2SW, in npcm_usb_phy_init()
87 regmap_update_bits(priv->syscon, GCR_INTCR3, USBPHY2SW, in npcm_usb_phy_init()
91 regmap_update_bits(priv->syscon, GCR_INTCR3, USBPHY3SW, in npcm_usb_phy_init()
111 regmap_update_bits(priv->syscon, GCR_USB1PHYCTL, PHYCTL_RS, PHYCTL_RS); in npcm_usb_phy_init()
114 regmap_update_bits(priv->syscon, GCR_USB2PHYCTL, PHYCTL_RS, PHYCTL_RS); in npcm_usb_phy_init()
117 regmap_update_bits(priv->syscon, GCR_USB3PHYCTL, PHYCTL_RS, PHYCTL_RS); in npcm_usb_phy_init()
134 regmap_update_bits(priv->syscon, GCR_INTCR3, USBPHY3SW, in npcm_usb_phy_exit()
[all …]
A Dmeson-axg-mipi-pcie-analog.c70 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_bandgap_enable()
73 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_bandgap_enable()
79 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_bandgap_disable()
81 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_bandgap_disable()
89 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_dsi_analog_enable()
92 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_dsi_analog_enable()
94 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_dsi_analog_enable()
121 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL2, in phy_dsi_analog_enable()
130 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_dsi_analog_disable()
133 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, BIT(31), 0); in phy_dsi_analog_disable()
[all …]
A Dphy-ti-am654.c202 regmap_update_bits(phy->regmap, WIZ_PLL_CTRL, mask, val); in serdes_am654_enable_pll()
212 regmap_update_bits(phy->regmap, WIZ_PLL_CTRL, mask, 0); in serdes_am654_disable_pll()
223 regmap_update_bits(phy->regmap, WIZ_LANEXCTL_STS, mask, val); in serdes_am654_enable_txrx()
228 regmap_update_bits(phy->regmap, WIZ_LANEXCTL_STS, mask, val); in serdes_am654_enable_txrx()
239 regmap_update_bits(phy->regmap, WIZ_LANEXCTL_STS, mask, 0); in serdes_am654_disable_txrx()
243 regmap_update_bits(phy->regmap, WIZ_LANEXCTL_STS, mask, 0); in serdes_am654_disable_txrx()
289 regmap_update_bits(phy->regmap, COMLANE_R138, mask, val); in serdes_am654_init()
292 regmap_update_bits(phy->regmap, CMU_R07C, val, val); in serdes_am654_init()
295 regmap_update_bits(phy->regmap, COMLANE_R190, val, val); in serdes_am654_init()
306 regmap_update_bits(phy->regmap, SERDES_CTRL, val, val); in serdes_am654_reset()
[all …]
A Dmeson-gxbb-usb2.c91 regmap_update_bits(priv->regmap, REG_CONFIG, in phy_meson_gxbb_usb2_power_on()
94 regmap_update_bits(priv->regmap, REG_CTRL, in phy_meson_gxbb_usb2_power_on()
97 regmap_update_bits(priv->regmap, REG_CTRL, in phy_meson_gxbb_usb2_power_on()
102 regmap_update_bits(priv->regmap, REG_CTRL, in phy_meson_gxbb_usb2_power_on()
106 regmap_update_bits(priv->regmap, REG_CTRL, in phy_meson_gxbb_usb2_power_on()
111 regmap_update_bits(priv->regmap, REG_CTRL, in phy_meson_gxbb_usb2_power_on()
116 regmap_update_bits(priv->regmap, REG_ADP_BC, in phy_meson_gxbb_usb2_power_on()
A Dphy-imx8m-pcie.c124 regmap_update_bits(imx8_phy->iomuxc_gpr, IOMUXC_GPR14_OFFSET, in imx8_pcie_phy_power_on()
128 regmap_update_bits(imx8_phy->iomuxc_gpr, IOMUXC_GPR14_OFFSET, in imx8_pcie_phy_power_on()
131 regmap_update_bits(imx8_phy->iomuxc_gpr, IOMUXC_GPR14_OFFSET, in imx8_pcie_phy_power_on()
133 regmap_update_bits(imx8_phy->iomuxc_gpr, IOMUXC_GPR14_OFFSET, in imx8_pcie_phy_power_on()
136 regmap_update_bits(imx8_phy->iomuxc_gpr, IOMUXC_GPR14_OFFSET, in imx8_pcie_phy_power_on()
144 regmap_update_bits(imx8_phy->iomuxc_gpr, IOMUXC_GPR14_OFFSET, in imx8_pcie_phy_power_on()
A Dmeson-axg-mipi-dphy.c222 regmap_update_bits(priv->regmap, MIPI_DSI_PHY_CTRL, BIT(9), BIT(9)); in phy_meson_axg_mipi_dphy_power_on()
225 regmap_update_bits(priv->regmap, MIPI_DSI_PHY_CTRL, BIT(12), BIT(12)); in phy_meson_axg_mipi_dphy_power_on()
226 regmap_update_bits(priv->regmap, MIPI_DSI_PHY_CTRL, BIT(31), BIT(31)); in phy_meson_axg_mipi_dphy_power_on()
227 regmap_update_bits(priv->regmap, MIPI_DSI_PHY_CTRL, BIT(31), 0); in phy_meson_axg_mipi_dphy_power_on()
282 regmap_update_bits(priv->regmap, MIPI_DSI_PHY_CTRL, BIT(1), BIT(1)); in phy_meson_axg_mipi_dphy_power_on()
A Dmeson-g12a-usb3-pcie.c217 regmap_update_bits(priv->regmap, PHY_R0, in phy_meson_g12a_usb3_init()
283 regmap_update_bits(priv->regmap, PHY_R2, in phy_meson_g12a_usb3_init()
287 regmap_update_bits(priv->regmap, PHY_R1, in phy_meson_g12a_usb3_init()
325 regmap_update_bits(priv->regmap, PHY_R0, in phy_meson_g12a_usb3_pcie_power_on()
339 regmap_update_bits(priv->regmap, PHY_R0, in phy_meson_g12a_usb3_pcie_power_off()
/drivers/adc/
A Dmeson-saradc.c198 regmap_update_bits(priv->regmap, MESON_SAR_ADC_DELAY, in meson_saradc_lock()
221 regmap_update_bits(priv->regmap, MESON_SAR_ADC_DELAY, in meson_saradc_unlock()
300 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_start_sample_engine()
304 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_start_sample_engine()
308 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_start_sample_engine()
315 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_stop_sample_engine()
318 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_stop_sample_engine()
325 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_stop_sample_engine()
454 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG3, in meson_saradc_set_chan7_mux()
525 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_init()
[all …]
/drivers/usb/dwc3/
A Ddwc3-meson-g12a.c178 regmap_update_bits(priv->regmap, in dwc3_meson_g12a_usb2_init()
198 regmap_update_bits(priv->regmap, USB_R3, in dwc3_meson_g12a_usb3_init()
206 regmap_update_bits(priv->regmap, USB_R2, in dwc3_meson_g12a_usb3_init()
210 regmap_update_bits(priv->regmap, USB_R2, in dwc3_meson_g12a_usb3_init()
216 regmap_update_bits(priv->regmap, USB_R1, in dwc3_meson_g12a_usb3_init()
220 regmap_update_bits(priv->regmap, USB_R1, in dwc3_meson_g12a_usb3_init()
228 regmap_update_bits(priv->regmap, USB_R0, in dwc3_meson_g12a_usb_init_mode()
250 regmap_update_bits(priv->regmap, USB_R1, in dwc3_meson_g12a_usb_init()
254 regmap_update_bits(priv->regmap, USB_R5, in dwc3_meson_g12a_usb_init()
257 regmap_update_bits(priv->regmap, USB_R5, in dwc3_meson_g12a_usb_init()
[all …]
A Ddwc3-meson-gxl.c133 regmap_update_bits(priv->regmap, USB_R1, in dwc3_meson_gxl_usb2_set_mode()
135 regmap_update_bits(priv->regmap, USB_R0, in dwc3_meson_gxl_usb2_set_mode()
137 regmap_update_bits(priv->regmap, USB_R4, in dwc3_meson_gxl_usb2_set_mode()
142 regmap_update_bits(priv->regmap, USB_R0, in dwc3_meson_gxl_usb2_set_mode()
144 regmap_update_bits(priv->regmap, USB_R0, in dwc3_meson_gxl_usb2_set_mode()
146 regmap_update_bits(priv->regmap, USB_R4, in dwc3_meson_gxl_usb2_set_mode()
176 regmap_update_bits(priv->regmap, USB_R1, in dwc3_meson_gxl_usb_init()
180 regmap_update_bits(priv->regmap, USB_R5, in dwc3_meson_gxl_usb_init()
183 regmap_update_bits(priv->regmap, USB_R5, in dwc3_meson_gxl_usb_init()
186 regmap_update_bits(priv->regmap, USB_R5, in dwc3_meson_gxl_usb_init()
/drivers/spi/
A Dmeson_spifc.c149 regmap_update_bits(spifc->regmap, REG_USER, USER_UC_MASK, in meson_spifc_txrx()
155 regmap_update_bits(spifc->regmap, REG_USER, USER_DIN_EN_MS, in meson_spifc_txrx()
161 regmap_update_bits(spifc->regmap, REG_USER4, USER4_CS_ACT, in meson_spifc_txrx()
167 regmap_update_bits(spifc->regmap, REG_CMD, CMD_USER, CMD_USER); in meson_spifc_txrx()
201 regmap_update_bits(spifc->regmap, REG_CTRL, CTRL_ENABLE_AHB, 0); in meson_spifc_xfer()
211 regmap_update_bits(spifc->regmap, REG_CTRL, CTRL_ENABLE_AHB, in meson_spifc_xfer()
257 regmap_update_bits(spifc->regmap, REG_USER, USER_CLK_NOT_INV, in meson_spifc_set_mode()
260 regmap_update_bits(spifc->regmap, REG_USER4, USER4_CS_POL_HIGH, in meson_spifc_set_mode()
273 regmap_update_bits(spifc->regmap, REG_SLAVE, SLAVE_SW_RST, in meson_spifc_hw_init()
276 regmap_update_bits(spifc->regmap, REG_USER, USER_CMP_MODE, 0); in meson_spifc_hw_init()
[all …]
/drivers/mmc/
A Dam654_sdhci.c176 regmap_update_bits(plat->base, PHY_CTRL5, in am654_sdhci_setup_dll()
197 regmap_update_bits(plat->base, PHY_CTRL5, mask, val); in am654_sdhci_setup_dll()
206 regmap_update_bits(plat->base, PHY_CTRL5, FREQSEL_MASK, in am654_sdhci_setup_dll()
217 regmap_update_bits(plat->base, PHY_CTRL1, mask, val); in am654_sdhci_setup_dll()
220 regmap_update_bits(plat->base, PHY_CTRL1, ENDLL_MASK, in am654_sdhci_setup_dll()
252 regmap_update_bits(plat->base, PHY_CTRL5, mask, val); in am654_sdhci_setup_delay_chain()
273 regmap_update_bits(plat->base, PHY_CTRL1, ENDLL_MASK, 0); in am654_sdhci_set_ios_post()
294 regmap_update_bits(plat->base, PHY_CTRL4, mask, val); in am654_sdhci_set_ios_post()
328 regmap_update_bits(plat->base, PHY_CTRL4, mask, 0x0); in am654_sdhci_init()
334 regmap_update_bits(plat->base, PHY_CTRL1, PDB_MASK, in am654_sdhci_init()
[all …]
/drivers/pci/
A Dpcie_starfive_jh7110.c211 regmap_update_bits(priv->regmap, in starfive_pcie_init_port()
216 regmap_update_bits(priv->regmap, in starfive_pcie_init_port()
225 regmap_update_bits(priv->regmap, in starfive_pcie_init_port()
229 regmap_update_bits(priv->regmap, in starfive_pcie_init_port()
276 regmap_update_bits(priv->regmap, in starfive_pcie_probe()
281 regmap_update_bits(priv->regmap, in starfive_pcie_probe()
286 regmap_update_bits(priv->regmap, in starfive_pcie_probe()
/drivers/misc/
A Dnpcm_host_intf.c76 regmap_update_bits(syscon, MFSEL1, MFSEL1_LPCSEL, 0); in npcm_host_intf_bind()
77 regmap_update_bits(syscon, MFSEL4, MFSEL4_ESPISEL, MFSEL4_ESPISEL); in npcm_host_intf_bind()
88 regmap_update_bits(syscon, MFSEL4, MFSEL4_ESPISEL, 0); in npcm_host_intf_bind()
89 regmap_update_bits(syscon, MFSEL1, MFSEL1_LPCSEL, MFSEL1_LPCSEL); in npcm_host_intf_bind()
/drivers/gpio/
A Dnpcm_sgpio.c284 regmap_update_bits(priv->rst_regmap, WD0RCR, BIT(num), 0); in npcm_sgpio_reset_persist()
285 regmap_update_bits(priv->rst_regmap, WD1RCR, BIT(num), 0); in npcm_sgpio_reset_persist()
286 regmap_update_bits(priv->rst_regmap, WD2RCR, BIT(num), 0); in npcm_sgpio_reset_persist()
287 regmap_update_bits(priv->rst_regmap, CORSTC, BIT(num), 0); in npcm_sgpio_reset_persist()
288 regmap_update_bits(priv->rst_regmap, SWRSTC1, BIT(num), 0); in npcm_sgpio_reset_persist()
289 regmap_update_bits(priv->rst_regmap, SWRSTC2, BIT(num), 0); in npcm_sgpio_reset_persist()
290 regmap_update_bits(priv->rst_regmap, SWRSTC3, BIT(num), 0); in npcm_sgpio_reset_persist()
291 regmap_update_bits(priv->rst_regmap, TIPRSTC, BIT(num), 0); in npcm_sgpio_reset_persist()
/drivers/net/ti/
A Dicss_mii_rt.h160 regmap_update_bits(miig_rt, RGMII_CFG_OFFSET, gig_en_mask, gig_val); in icssg_update_rgmii_cfg()
166 regmap_update_bits(miig_rt, RGMII_CFG_OFFSET, inband_en_mask, inband_val); in icssg_update_rgmii_cfg()
172 regmap_update_bits(miig_rt, RGMII_CFG_OFFSET, full_duplex_mask, in icssg_update_rgmii_cfg()
188 regmap_update_bits(miig_rt, ICSSG_CFG_OFFSET, mask, val); in icssg_miig_set_interface_mode()
/drivers/pwm/
A Dpwm-aspeed.c93 regmap_update_bits(priv->regmap, PWM_ASPEED_CTRL(channel), in aspeed_pwm_set_invert()
107 regmap_update_bits(priv->regmap, PWM_ASPEED_CTRL(channel), in aspeed_pwm_set_enable()
168 regmap_update_bits(priv->regmap, PWM_ASPEED_DUTY_CYCLE(channel), in aspeed_pwm_set_config()
178 regmap_update_bits(priv->regmap, PWM_ASPEED_CTRL(channel), in aspeed_pwm_set_config()
/drivers/pinctrl/nuvoton/
A Dpinctrl-npcm8xx.c645 regmap_update_bits(priv->gcr_regmap, group->reg, in npcm8xx_group_set_func()
648 regmap_update_bits(priv->gcr_regmap, group->reg, in npcm8xx_group_set_func()
773 regmap_update_bits(priv->rst_regmap, WD0RCR, BIT(offset), 0); in npcm8xx_gpio_reset_persist()
782 regmap_update_bits(priv->rst_regmap, WD0RCR, BIT(offset), in npcm8xx_gpio_reset_persist()
784 regmap_update_bits(priv->rst_regmap, WD1RCR, BIT(offset), in npcm8xx_gpio_reset_persist()
786 regmap_update_bits(priv->rst_regmap, WD2RCR, BIT(offset), in npcm8xx_gpio_reset_persist()
788 regmap_update_bits(priv->rst_regmap, CORSTC, BIT(offset), in npcm8xx_gpio_reset_persist()
790 regmap_update_bits(priv->rst_regmap, SWRSTC1, BIT(offset), in npcm8xx_gpio_reset_persist()
792 regmap_update_bits(priv->rst_regmap, SWRSTC2, BIT(offset), in npcm8xx_gpio_reset_persist()
794 regmap_update_bits(priv->rst_regmap, SWRSTC3, BIT(offset), in npcm8xx_gpio_reset_persist()
[all …]
/drivers/soc/ti/
A Dpruss.c141 return regmap_update_bits(pruss->cfg, reg, mask, val); in pruss_cfg_update()
189 ret = regmap_update_bits(priv->cfg, ICSSG_CFG_CORE_SYNC, in pruss_probe()
194 ret = regmap_update_bits(priv->cfg, PRUSS_CFG_IEPCLK, in pruss_probe()
/drivers/pinctrl/rockchip/
A Dpinctrl-rk3528.c34 return regmap_update_bits(regmap, reg, rmask, data); in rk3528_set_mux()
89 return regmap_update_bits(regmap, reg, rmask, data); in rk3528_set_drive()
152 return regmap_update_bits(regmap, reg, rmask, data); in rk3528_set_pull()
209 return regmap_update_bits(regmap, reg, rmask, data); in rk3528_set_schmitt()
A Dpinctrl-rk3576.c37 return regmap_update_bits(regmap, reg, rmask, data); in rk3576_set_mux()
100 return regmap_update_bits(regmap, reg, rmask, data); in rk3576_set_drive()
171 return regmap_update_bits(regmap, reg, rmask, data); in rk3576_set_pull()
234 return regmap_update_bits(regmap, reg, rmask, data); in rk3576_set_schmitt()
/drivers/reset/
A Dreset-syscon.c35 return regmap_update_bits(priv->regmap, priv->offset, BIT(rst->id), in syscon_reset_assert()
43 return regmap_update_bits(priv->regmap, priv->offset, BIT(rst->id), in syscon_reset_deassert()

Completed in 63 milliseconds

123