Home
last modified time | relevance | path

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

12

/u-boot/drivers/power/domain/
A Dmeson-gx-pwrc-vpu.c53 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_on()
59 regmap_update_bits(priv->regmap_hhi, HHI_VPU_MEM_PD_REG0, in meson_gx_pwrc_vpu_on()
65 regmap_update_bits(priv->regmap_hhi, HHI_VPU_MEM_PD_REG1, in meson_gx_pwrc_vpu_on()
71 regmap_update_bits(priv->regmap_hhi, HHI_MEM_PD_REG0, in meson_gx_pwrc_vpu_on()
81 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_on()
100 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_g12a_pwrc_vpu_on()
106 regmap_update_bits(priv->regmap_hhi, HHI_VPU_MEM_PD_REG0, in meson_g12a_pwrc_vpu_on()
112 regmap_update_bits(priv->regmap_hhi, HHI_VPU_MEM_PD_REG1, in meson_g12a_pwrc_vpu_on()
124 regmap_update_bits(priv->regmap_hhi, HHI_MEM_PD_REG0, in meson_g12a_pwrc_vpu_on()
183 regmap_update_bits(priv->regmap_hhi, HHI_MEM_PD_REG0, in meson_gx_pwrc_vpu_off()
[all …]
A Dapple-pmgr.c49 regmap_update_bits(priv->regmap, priv->offset, in apple_reset_assert()
52 regmap_update_bits(priv->regmap, priv->offset, in apple_reset_assert()
63 regmap_update_bits(priv->regmap, priv->offset, in apple_reset_deassert()
65 regmap_update_bits(priv->regmap, priv->offset, in apple_reset_deassert()
88 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()
322 regmap_update_bits(priv->regmap_ao, in meson_ee_pwrc_on()
328 regmap_update_bits(priv->regmap_hhi, in meson_ee_pwrc_on()
341 regmap_update_bits(priv->regmap_ao, in meson_ee_pwrc_on()
/u-boot/drivers/phy/
A Dmeson-axg-mipi-pcie-analog.c71 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_bandgap_enable()
74 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_bandgap_enable()
80 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_bandgap_disable()
82 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_bandgap_disable()
90 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_dsi_analog_enable()
93 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_dsi_analog_enable()
95 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_dsi_analog_enable()
122 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL2, in phy_dsi_analog_enable()
131 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, in phy_dsi_analog_disable()
134 regmap_update_bits(priv->regmap, HHI_MIPI_CNTL0, BIT(31), 0); in phy_dsi_analog_disable()
[all …]
A Dphy-npcm-usb.c79 regmap_update_bits(priv->syscon, GCR_INTCR3, USBPHY3SW, in npcm_usb_phy_init()
83 regmap_update_bits(priv->syscon, GCR_INTCR3, USBPHY3SW, 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, USBPHY2SW, in npcm_usb_phy_init()
95 regmap_update_bits(priv->syscon, GCR_INTCR3, USBPHY2SW, in npcm_usb_phy_init()
99 regmap_update_bits(priv->syscon, GCR_INTCR3, USBPHY3SW, in npcm_usb_phy_init()
119 regmap_update_bits(priv->syscon, GCR_USB1PHYCTL, PHYCTL_RS, PHYCTL_RS); in npcm_usb_phy_init()
122 regmap_update_bits(priv->syscon, GCR_USB2PHYCTL, PHYCTL_RS, PHYCTL_RS); in npcm_usb_phy_init()
125 regmap_update_bits(priv->syscon, GCR_USB3PHYCTL, PHYCTL_RS, PHYCTL_RS); in npcm_usb_phy_init()
142 regmap_update_bits(priv->syscon, GCR_INTCR3, USBPHY3SW, in npcm_usb_phy_exit()
[all …]
A Dphy-ti-am654.c203 regmap_update_bits(phy->regmap, WIZ_PLL_CTRL, mask, val); in serdes_am654_enable_pll()
213 regmap_update_bits(phy->regmap, WIZ_PLL_CTRL, mask, 0); in serdes_am654_disable_pll()
224 regmap_update_bits(phy->regmap, WIZ_LANEXCTL_STS, mask, val); in serdes_am654_enable_txrx()
229 regmap_update_bits(phy->regmap, WIZ_LANEXCTL_STS, mask, val); in serdes_am654_enable_txrx()
240 regmap_update_bits(phy->regmap, WIZ_LANEXCTL_STS, mask, 0); in serdes_am654_disable_txrx()
244 regmap_update_bits(phy->regmap, WIZ_LANEXCTL_STS, mask, 0); in serdes_am654_disable_txrx()
290 regmap_update_bits(phy->regmap, COMLANE_R138, mask, val); in serdes_am654_init()
293 regmap_update_bits(phy->regmap, CMU_R07C, val, val); in serdes_am654_init()
296 regmap_update_bits(phy->regmap, COMLANE_R190, val, val); in serdes_am654_init()
307 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 Dmeson-axg-mipi-dphy.c224 regmap_update_bits(priv->regmap, MIPI_DSI_PHY_CTRL, BIT(9), BIT(9)); in phy_meson_axg_mipi_dphy_power_on()
227 regmap_update_bits(priv->regmap, MIPI_DSI_PHY_CTRL, BIT(12), BIT(12)); in phy_meson_axg_mipi_dphy_power_on()
228 regmap_update_bits(priv->regmap, MIPI_DSI_PHY_CTRL, BIT(31), BIT(31)); in phy_meson_axg_mipi_dphy_power_on()
229 regmap_update_bits(priv->regmap, MIPI_DSI_PHY_CTRL, BIT(31), 0); in phy_meson_axg_mipi_dphy_power_on()
284 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()
/u-boot/drivers/usb/dwc3/
A Ddwc3-meson-g12a.c164 regmap_update_bits(priv->regmap, in dwc3_meson_g12a_usb2_init()
184 regmap_update_bits(priv->regmap, USB_R3, in dwc3_meson_g12a_usb3_init()
192 regmap_update_bits(priv->regmap, USB_R2, in dwc3_meson_g12a_usb3_init()
196 regmap_update_bits(priv->regmap, USB_R2, in dwc3_meson_g12a_usb3_init()
202 regmap_update_bits(priv->regmap, USB_R1, in dwc3_meson_g12a_usb3_init()
206 regmap_update_bits(priv->regmap, USB_R1, in dwc3_meson_g12a_usb3_init()
214 regmap_update_bits(priv->regmap, USB_R0, in dwc3_meson_g12a_usb_init_mode()
236 regmap_update_bits(priv->regmap, USB_R1, in dwc3_meson_g12a_usb_init()
240 regmap_update_bits(priv->regmap, USB_R5, in dwc3_meson_g12a_usb_init()
243 regmap_update_bits(priv->regmap, USB_R5, in dwc3_meson_g12a_usb_init()
[all …]
A Ddwc3-meson-gxl.c135 regmap_update_bits(priv->regmap, USB_R1, in dwc3_meson_gxl_usb2_set_mode()
137 regmap_update_bits(priv->regmap, USB_R0, in dwc3_meson_gxl_usb2_set_mode()
139 regmap_update_bits(priv->regmap, USB_R4, 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_R0, in dwc3_meson_gxl_usb2_set_mode()
148 regmap_update_bits(priv->regmap, USB_R4, in dwc3_meson_gxl_usb2_set_mode()
178 regmap_update_bits(priv->regmap, USB_R1, in dwc3_meson_gxl_usb_init()
182 regmap_update_bits(priv->regmap, USB_R5, in dwc3_meson_gxl_usb_init()
185 regmap_update_bits(priv->regmap, USB_R5, in dwc3_meson_gxl_usb_init()
188 regmap_update_bits(priv->regmap, USB_R5, in dwc3_meson_gxl_usb_init()
/u-boot/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 …]
/u-boot/drivers/spi/
A Dmeson_spifc.c150 regmap_update_bits(spifc->regmap, REG_USER, USER_UC_MASK, in meson_spifc_txrx()
156 regmap_update_bits(spifc->regmap, REG_USER, USER_DIN_EN_MS, in meson_spifc_txrx()
162 regmap_update_bits(spifc->regmap, REG_USER4, USER4_CS_ACT, in meson_spifc_txrx()
168 regmap_update_bits(spifc->regmap, REG_CMD, CMD_USER, CMD_USER); in meson_spifc_txrx()
202 regmap_update_bits(spifc->regmap, REG_CTRL, CTRL_ENABLE_AHB, 0); in meson_spifc_xfer()
212 regmap_update_bits(spifc->regmap, REG_CTRL, CTRL_ENABLE_AHB, in meson_spifc_xfer()
258 regmap_update_bits(spifc->regmap, REG_USER, USER_CLK_NOT_INV, in meson_spifc_set_mode()
261 regmap_update_bits(spifc->regmap, REG_USER4, USER4_CS_POL_HIGH, in meson_spifc_set_mode()
274 regmap_update_bits(spifc->regmap, REG_SLAVE, SLAVE_SW_RST, in meson_spifc_hw_init()
277 regmap_update_bits(spifc->regmap, REG_USER, USER_CMP_MODE, 0); in meson_spifc_hw_init()
[all …]
/u-boot/drivers/mmc/
A Dam654_sdhci.c162 regmap_update_bits(plat->base, PHY_CTRL5, in am654_sdhci_setup_dll()
183 regmap_update_bits(plat->base, PHY_CTRL5, mask, val); in am654_sdhci_setup_dll()
192 regmap_update_bits(plat->base, PHY_CTRL5, FREQSEL_MASK, in am654_sdhci_setup_dll()
203 regmap_update_bits(plat->base, PHY_CTRL1, mask, val); in am654_sdhci_setup_dll()
206 regmap_update_bits(plat->base, PHY_CTRL1, ENDLL_MASK, in am654_sdhci_setup_dll()
236 regmap_update_bits(plat->base, PHY_CTRL5, mask, val); in am654_sdhci_setup_delay_chain()
256 regmap_update_bits(plat->base, PHY_CTRL1, ENDLL_MASK, 0); in am654_sdhci_set_ios_post()
277 regmap_update_bits(plat->base, PHY_CTRL4, mask, val); in am654_sdhci_set_ios_post()
301 regmap_update_bits(plat->base, PHY_CTRL4, mask, 0x0); in am654_sdhci_init()
307 regmap_update_bits(plat->base, PHY_CTRL1, PDB_MASK, in am654_sdhci_init()
[all …]
/u-boot/drivers/misc/
A Dnpcm_host_intf.c80 regmap_update_bits(syscon, MFSEL1, MFSEL1_LPCSEL, 0); in npcm_host_intf_bind()
81 regmap_update_bits(syscon, MFSEL4, MFSEL4_ESPISEL, MFSEL4_ESPISEL); in npcm_host_intf_bind()
92 regmap_update_bits(syscon, MFSEL4, MFSEL4_ESPISEL, 0); in npcm_host_intf_bind()
93 regmap_update_bits(syscon, MFSEL1, MFSEL1_LPCSEL, MFSEL1_LPCSEL); in npcm_host_intf_bind()
/u-boot/drivers/pwm/
A Dpwm-aspeed.c95 regmap_update_bits(priv->regmap, PWM_ASPEED_CTRL(channel), in aspeed_pwm_set_invert()
109 regmap_update_bits(priv->regmap, PWM_ASPEED_CTRL(channel), in aspeed_pwm_set_enable()
170 regmap_update_bits(priv->regmap, PWM_ASPEED_DUTY_CYCLE(channel), in aspeed_pwm_set_config()
180 regmap_update_bits(priv->regmap, PWM_ASPEED_CTRL(channel), in aspeed_pwm_set_config()
/u-boot/drivers/soc/ti/
A Dpruss.c142 return regmap_update_bits(pruss->cfg, reg, mask, val); in pruss_cfg_update()
190 ret = regmap_update_bits(priv->cfg, ICSSG_CFG_CORE_SYNC, in pruss_probe()
195 ret = regmap_update_bits(priv->cfg, PRUSS_CFG_IEPCLK, in pruss_probe()
/u-boot/drivers/reset/
A Dreset-syscon.c36 return regmap_update_bits(priv->regmap, priv->offset, BIT(rst->id), in syscon_reset_assert()
44 return regmap_update_bits(priv->regmap, priv->offset, BIT(rst->id), in syscon_reset_deassert()
A Dreset-mediatek.c35 return regmap_update_bits(priv->regmap, in mediatek_reset_assert()
47 return regmap_update_bits(priv->regmap, in mediatek_reset_deassert()
/u-boot/drivers/pinctrl/nuvoton/
A Dpinctrl-npcm8xx.c643 regmap_update_bits(priv->gcr_regmap, group->reg, in npcm8xx_group_set_func()
646 regmap_update_bits(priv->gcr_regmap, group->reg, in npcm8xx_group_set_func()
771 regmap_update_bits(priv->rst_regmap, WD0RCR, BIT(offset), 0); in npcm8xx_gpio_reset_persist()
780 regmap_update_bits(priv->rst_regmap, WD0RCR, BIT(offset), in npcm8xx_gpio_reset_persist()
782 regmap_update_bits(priv->rst_regmap, WD1RCR, BIT(offset), in npcm8xx_gpio_reset_persist()
784 regmap_update_bits(priv->rst_regmap, WD2RCR, BIT(offset), in npcm8xx_gpio_reset_persist()
786 regmap_update_bits(priv->rst_regmap, CORSTC, BIT(offset), in npcm8xx_gpio_reset_persist()
788 regmap_update_bits(priv->rst_regmap, SWRSTC1, BIT(offset), in npcm8xx_gpio_reset_persist()
790 regmap_update_bits(priv->rst_regmap, SWRSTC2, BIT(offset), in npcm8xx_gpio_reset_persist()
792 regmap_update_bits(priv->rst_regmap, SWRSTC3, BIT(offset), in npcm8xx_gpio_reset_persist()
[all …]
A Dpinctrl-npcm7xx.c1267 regmap_update_bits(priv->gcr_regmap, cfg->reg0, BIT(cfg->bit0), 0); in npcm7xx_setfunc()
1273 regmap_update_bits(priv->gcr_regmap, cfg->reg1, BIT(cfg->bit1), 0); in npcm7xx_setfunc()
1279 regmap_update_bits(priv->gcr_regmap, cfg->reg2, BIT(cfg->bit2), 0); in npcm7xx_setfunc()
1403 regmap_update_bits(priv->rst_regmap, NPCM7XX_RST_WD0RCR, BIT(num), 0); in npcm7xx_gpio_reset_persist()
1404 regmap_update_bits(priv->rst_regmap, NPCM7XX_RST_WD1RCR, BIT(num), 0); in npcm7xx_gpio_reset_persist()
1405 regmap_update_bits(priv->rst_regmap, NPCM7XX_RST_WD2RCR, BIT(num), 0); in npcm7xx_gpio_reset_persist()
1406 regmap_update_bits(priv->rst_regmap, NPCM7XX_RST_CORSTC, BIT(num), 0); in npcm7xx_gpio_reset_persist()
1407 regmap_update_bits(priv->rst_regmap, NPCM7XX_RST_SWRSTC1, BIT(num), 0); in npcm7xx_gpio_reset_persist()
1408 regmap_update_bits(priv->rst_regmap, NPCM7XX_RST_SWRSTC2, BIT(num), 0); in npcm7xx_gpio_reset_persist()
1409 regmap_update_bits(priv->rst_regmap, NPCM7XX_RST_SWRSTC3, BIT(num), 0); in npcm7xx_gpio_reset_persist()
[all …]
/u-boot/drivers/phy/socionext/
A Dphy-uniphier-pcie.c35 regmap_update_bits(regmap, SG_USBPCIESEL, in uniphier_pciephy_probe()
/u-boot/drivers/clk/meson/
A Daxg-ao.c33 regmap_update_bits(priv->map, gate->reg, in meson_set_gate()
A Dg12a-ao.c33 regmap_update_bits(priv->map, gate->reg, in meson_set_gate()
/u-boot/drivers/sysreset/
A Dsysreset_syscon.c33 regmap_update_bits(priv->regmap, priv->offset, priv->mask, priv->value); in syscon_reboot_request()

Completed in 67 milliseconds

12