Home
last modified time | relevance | path

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

12

/u-boot/drivers/power/domain/
A Dmeson-gx-pwrc-vpu.c63 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_on()
69 regmap_update_bits(priv->regmap_hhi, HHI_VPU_MEM_PD_REG0, in meson_gx_pwrc_vpu_on()
75 regmap_update_bits(priv->regmap_hhi, HHI_VPU_MEM_PD_REG1, in meson_gx_pwrc_vpu_on()
81 regmap_update_bits(priv->regmap_hhi, HHI_MEM_PD_REG0, in meson_gx_pwrc_vpu_on()
91 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_on()
110 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_g12a_pwrc_vpu_on()
116 regmap_update_bits(priv->regmap_hhi, HHI_VPU_MEM_PD_REG0, in meson_g12a_pwrc_vpu_on()
122 regmap_update_bits(priv->regmap_hhi, HHI_VPU_MEM_PD_REG1, in meson_g12a_pwrc_vpu_on()
134 regmap_update_bits(priv->regmap_hhi, HHI_MEM_PD_REG0, in meson_g12a_pwrc_vpu_on()
193 regmap_update_bits(priv->regmap_hhi, HHI_MEM_PD_REG0, in meson_gx_pwrc_vpu_off()
[all …]
A Dmeson-ee-pwrc.c295 regmap_update_bits(priv->regmap_ao, in meson_ee_pwrc_off()
302 regmap_update_bits(priv->regmap_hhi, in meson_ee_pwrc_off()
310 regmap_update_bits(priv->regmap_ao, in meson_ee_pwrc_off()
332 regmap_update_bits(priv->regmap_ao, in meson_ee_pwrc_on()
338 regmap_update_bits(priv->regmap_hhi, in meson_ee_pwrc_on()
351 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-ti-am654.c204 regmap_update_bits(phy->regmap, WIZ_PLL_CTRL, mask, val); in serdes_am654_enable_pll()
214 regmap_update_bits(phy->regmap, WIZ_PLL_CTRL, mask, 0); in serdes_am654_disable_pll()
225 regmap_update_bits(phy->regmap, WIZ_LANEXCTL_STS, mask, val); in serdes_am654_enable_txrx()
230 regmap_update_bits(phy->regmap, WIZ_LANEXCTL_STS, mask, val); in serdes_am654_enable_txrx()
241 regmap_update_bits(phy->regmap, WIZ_LANEXCTL_STS, mask, 0); in serdes_am654_disable_txrx()
245 regmap_update_bits(phy->regmap, WIZ_LANEXCTL_STS, mask, 0); in serdes_am654_disable_txrx()
291 regmap_update_bits(phy->regmap, COMLANE_R138, mask, val); in serdes_am654_init()
294 regmap_update_bits(phy->regmap, CMU_R07C, val, val); in serdes_am654_init()
297 regmap_update_bits(phy->regmap, COMLANE_R190, val, val); in serdes_am654_init()
308 regmap_update_bits(phy->regmap, SERDES_CTRL, val, val); in serdes_am654_reset()
[all …]
A Dmeson-gxbb-usb2.c104 regmap_update_bits(priv->regmap, REG_CONFIG, in phy_meson_gxbb_usb2_power_on()
107 regmap_update_bits(priv->regmap, REG_CTRL, in phy_meson_gxbb_usb2_power_on()
110 regmap_update_bits(priv->regmap, REG_CTRL, in phy_meson_gxbb_usb2_power_on()
115 regmap_update_bits(priv->regmap, REG_CTRL, in phy_meson_gxbb_usb2_power_on()
119 regmap_update_bits(priv->regmap, REG_CTRL, in phy_meson_gxbb_usb2_power_on()
124 regmap_update_bits(priv->regmap, REG_CTRL, in phy_meson_gxbb_usb2_power_on()
129 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.c214 regmap_update_bits(priv->regmap, PHY_R0, in phy_meson_g12a_usb3_init()
280 regmap_update_bits(priv->regmap, PHY_R2, in phy_meson_g12a_usb3_init()
284 regmap_update_bits(priv->regmap, PHY_R1, in phy_meson_g12a_usb3_init()
A Dmeson-g12a-usb2.c116 regmap_update_bits(priv->regmap, PHY_CTRL_R21, BIT(2), 0); in phy_meson_g12a_usb2_init()
/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/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.c45 return regmap_update_bits(priv->regmap, in mediatek_reset_assert()
57 return regmap_update_bits(priv->regmap, in mediatek_reset_deassert()
/u-boot/drivers/clk/meson/
A Dg12a-ao.c39 regmap_update_bits(priv->map, gate->reg, in meson_set_gate()
A Dg12a.c172 regmap_update_bits(priv->map, gate->reg, in meson_set_gate_by_id()
363 regmap_update_bits(priv->map, parm->reg_off, in meson_div_set_rate()
548 regmap_update_bits(priv->map, parm->reg_off, in meson_mux_set_parent()
884 regmap_update_bits(priv->map, HHI_PCIE_PLL_CNTL0, in meson_pcie_pll_set_rate()
A Dgxbb.c225 regmap_update_bits(priv->map, gate->reg, in meson_set_gate_by_id()
390 regmap_update_bits(priv->map, parm->reg_off, SETPMASK(parm->width, parm->shift), in meson_div_set_rate()
551 regmap_update_bits(priv->map, parm->reg_off, SETPMASK(parm->width, parm->shift), in meson_mux_set_parent()
/u-boot/drivers/sysreset/
A Dsysreset_syscon.c33 regmap_update_bits(priv->regmap, priv->offset, priv->mask, priv->value); in syscon_reboot_request()
/u-boot/drivers/mtd/
A Dhbmc-am654.c58 return regmap_update_bits(regmap, FSS_SYSC_REG, 0x2, 0x2); in am654_select_hbmc()
/u-boot/drivers/ata/
A Dmtk_ahci.c69 regmap_update_bits(plat->mode, SYS_CFG, in mtk_ahci_parse_property()
/u-boot/drivers/clk/at91/
A Dclk-utmi.c85 regmap_update_bits(utmi->regmap_sfr, AT91_SFR_UTMICKTRIM, in clk_utmi_enable()
/u-boot/include/
A Dregmap.h362 int regmap_update_bits(struct regmap *map, uint offset, uint mask, uint val);
/u-boot/test/dm/
A Dregmap.c122 ut_assertok(regmap_update_bits(map, 0, 0xff00ff00, 0x55aa2211)); in dm_test_regmap_rw()
125 ut_assertok(regmap_update_bits(map, 5, 0x00ff00ff, 0xcacafada)); in dm_test_regmap_rw()
/u-boot/drivers/core/
A Dregmap.c552 int regmap_update_bits(struct regmap *map, uint offset, uint mask, uint val) in regmap_update_bits() function
584 return regmap_update_bits(field->regmap, field->reg, field->mask, in regmap_field_write()

Completed in 56 milliseconds

12