Home
last modified time | relevance | path

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

12

/external/u-boot/drivers/phy/
Dmeson-g12a-usb3-pcie.c72 regmap_write(priv->regmap, PHY_R4, reg); in phy_g12a_usb3_pcie_cr_bus_addr()
73 regmap_write(priv->regmap, PHY_R4, reg); in phy_g12a_usb3_pcie_cr_bus_addr()
75 regmap_write(priv->regmap, PHY_R4, reg | PHY_R4_PHY_CR_CAP_ADDR); in phy_g12a_usb3_pcie_cr_bus_addr()
83 regmap_write(priv->regmap, PHY_R4, reg); in phy_g12a_usb3_pcie_cr_bus_addr()
105 regmap_write(priv->regmap, PHY_R4, 0); in phy_g12a_usb3_pcie_cr_bus_read()
106 regmap_write(priv->regmap, PHY_R4, PHY_R4_PHY_CR_READ); in phy_g12a_usb3_pcie_cr_bus_read()
116 regmap_write(priv->regmap, PHY_R4, 0); in phy_g12a_usb3_pcie_cr_bus_read()
140 regmap_write(priv->regmap, PHY_R4, reg); in phy_g12a_usb3_pcie_cr_bus_write()
141 regmap_write(priv->regmap, PHY_R4, reg); in phy_g12a_usb3_pcie_cr_bus_write()
143 regmap_write(priv->regmap, PHY_R4, reg | PHY_R4_PHY_CR_CAP_DATA); in phy_g12a_usb3_pcie_cr_bus_write()
[all …]
Dmeson-g12a-usb2.c116 regmap_write(priv->regmap, PHY_CTRL_R16, 0x39400414); in phy_meson_g12a_usb2_init()
117 regmap_write(priv->regmap, PHY_CTRL_R17, 0x927e0000); in phy_meson_g12a_usb2_init()
118 regmap_write(priv->regmap, PHY_CTRL_R18, 0xac5f49e5); in phy_meson_g12a_usb2_init()
123 regmap_write(priv->regmap, PHY_CTRL_R16, 0x19400414); in phy_meson_g12a_usb2_init()
126 regmap_write(priv->regmap, PHY_CTRL_R20, 0xfe18); in phy_meson_g12a_usb2_init()
127 regmap_write(priv->regmap, PHY_CTRL_R4, 0x8000fff); in phy_meson_g12a_usb2_init()
130 regmap_write(priv->regmap, PHY_CTRL_R3, 0x34); in phy_meson_g12a_usb2_init()
133 regmap_write(priv->regmap, PHY_CTRL_R14, 0); in phy_meson_g12a_usb2_init()
134 regmap_write(priv->regmap, PHY_CTRL_R13, 0x78000); in phy_meson_g12a_usb2_init()
Dmeson-gxl-usb3.c102 regmap_write(priv->regmap, USB_R0, val); in phy_meson_gxl_usb3_set_host_mode()
106 regmap_write(priv->regmap, USB_R4, val); in phy_meson_gxl_usb3_set_host_mode()
122 regmap_write(priv->regmap, USB_R5, val); in phy_meson_gxl_usb3_power_on()
136 regmap_write(priv->regmap, USB_R5, val); in phy_meson_gxl_usb3_power_off()
150 regmap_write(priv->regmap, USB_R1, val); in phy_meson_gxl_usb3_init()
Dmeson-gxl-usb2.c115 regmap_write(priv->regmap, U2P_R0, val); in phy_meson_gxl_usb2_reset()
119 regmap_write(priv->regmap, U2P_R0, val); in phy_meson_gxl_usb2_reset()
132 regmap_write(priv->regmap, U2P_R0, val); in phy_meson_gxl_usb2_set_host_mode()
146 regmap_write(priv->regmap, U2P_R0, val); in phy_meson_gxl_usb2_power_on()
170 regmap_write(priv->regmap, U2P_R0, val); in phy_meson_gxl_usb2_power_off()
/external/u-boot/drivers/pinctrl/rockchip/
Dpinctrl-px30.c94 ret = regmap_write(regmap, route_reg, route_val); in px30_set_mux()
102 ret = regmap_write(regmap, reg, data); in px30_set_mux()
159 ret = regmap_write(regmap, reg, data); in px30_set_pull()
228 ret = regmap_write(regmap, reg, data); in px30_set_drive()
234 ret = regmap_write(regmap, reg, temp); in px30_set_drive()
262 ret = regmap_write(regmap, reg, data); in px30_set_drive()
309 return regmap_write(regmap, reg, data); in px30_set_schmitt()
Dpinctrl-rk3399.c73 ret = regmap_write(regmap, route_reg, route_val); in rk3399_set_mux()
81 ret = regmap_write(regmap, reg, data); in rk3399_set_mux()
138 ret = regmap_write(regmap, reg, data); in rk3399_set_pull()
198 ret = regmap_write(regmap, reg, data); in rk3399_set_drive()
204 ret = regmap_write(regmap, reg, temp); in rk3399_set_drive()
232 ret = regmap_write(regmap, reg, data); in rk3399_set_drive()
Dpinctrl-rk3328.c147 ret = regmap_write(regmap, route_reg, route_val); in rk3328_set_mux()
155 ret = regmap_write(regmap, reg, data); in rk3328_set_mux()
199 ret = regmap_write(regmap, reg, data); in rk3328_set_pull()
240 ret = regmap_write(regmap, reg, data); in rk3328_set_drive()
279 return regmap_write(regmap, reg, data); in rk3328_set_schmitt()
Dpinctrl-rk3288.c51 ret = regmap_write(regmap, route_reg, route_val); in rk3288_set_mux()
67 ret = regmap_write(regmap, reg, data); in rk3288_set_mux()
129 ret = regmap_write(regmap, reg, data); in rk3288_set_pull()
187 ret = regmap_write(regmap, reg, data); in rk3288_set_drive()
Dpinctrl-rk322x.c164 ret = regmap_write(regmap, route_reg, route_val); in rk3228_set_mux()
172 ret = regmap_write(regmap, reg, data); in rk3228_set_mux()
216 ret = regmap_write(regmap, reg, data); in rk3228_set_pull()
257 ret = regmap_write(regmap, reg, data); in rk3228_set_drive()
Dpinctrl-rk3308.c275 ret = regmap_write(regmap, route_reg, route_val); in rk3308_set_mux()
283 ret = regmap_write(regmap, reg, data); in rk3308_set_mux()
328 ret = regmap_write(regmap, reg, data); in rk3308_set_pull()
369 ret = regmap_write(regmap, reg, data); in rk3308_set_drive()
406 return regmap_write(regmap, reg, data); in rk3308_set_schmitt()
Dpinctrl-rv1108.c100 ret = regmap_write(regmap, reg, data); in rv1108_set_mux()
154 ret = regmap_write(regmap, reg, data); in rv1108_set_pull()
206 ret = regmap_write(regmap, reg, data); in rv1108_set_drive()
252 return regmap_write(regmap, reg, data); in rv1108_set_schmitt()
Dpinctrl-rk3368.c33 ret = regmap_write(regmap, reg, data); in rk3368_set_mux()
88 ret = regmap_write(regmap, reg, data); in rk3368_set_pull()
139 ret = regmap_write(regmap, reg, data); in rk3368_set_drive()
Dpinctrl-rk3128.c124 ret = regmap_write(regmap, route_reg, route_val); in rk3128_set_mux()
132 ret = regmap_write(regmap, reg, data); in rk3128_set_mux()
171 ret = regmap_write(regmap, reg, data); in rk3128_set_pull()
Dpinctrl-rk3036.c33 ret = regmap_write(regmap, reg, data); in rk3036_set_mux()
72 ret = regmap_write(regmap, reg, data); in rk3036_set_pull()
Dpinctrl-rk3188.c33 ret = regmap_write(regmap, reg, data); in rk3188_set_mux()
96 ret = regmap_write(regmap, reg, data); in rk3188_set_pull()
/external/u-boot/drivers/clk/meson/
Dg12a.c862 regmap_write(priv->map, HHI_PCIE_PLL_CNTL0, 0x20090496); in meson_pcie_pll_set_rate()
863 regmap_write(priv->map, HHI_PCIE_PLL_CNTL0, 0x30090496); in meson_pcie_pll_set_rate()
864 regmap_write(priv->map, HHI_PCIE_PLL_CNTL1, 0x00000000); in meson_pcie_pll_set_rate()
865 regmap_write(priv->map, HHI_PCIE_PLL_CNTL2, 0x00001100); in meson_pcie_pll_set_rate()
866 regmap_write(priv->map, HHI_PCIE_PLL_CNTL3, 0x10058e00); in meson_pcie_pll_set_rate()
867 regmap_write(priv->map, HHI_PCIE_PLL_CNTL4, 0x000100c0); in meson_pcie_pll_set_rate()
868 regmap_write(priv->map, HHI_PCIE_PLL_CNTL5, 0x68000048); in meson_pcie_pll_set_rate()
869 regmap_write(priv->map, HHI_PCIE_PLL_CNTL5, 0x68000068); in meson_pcie_pll_set_rate()
871 regmap_write(priv->map, HHI_PCIE_PLL_CNTL4, 0x008100c0); in meson_pcie_pll_set_rate()
873 regmap_write(priv->map, HHI_PCIE_PLL_CNTL0, 0x34090496); in meson_pcie_pll_set_rate()
[all …]
/external/u-boot/drivers/pinctrl/broadcom/
Dpinctrl-bcm6838.c77 regmap_write(priv->regmap, hw->port_blk_data1, 0); in bcm6838_pinctrl_pinmux_set()
80 regmap_write(priv->regmap, hw->port_blk_data2, data); in bcm6838_pinctrl_pinmux_set()
81 regmap_write(priv->regmap, hw->port_command, BCM6838_CMD_LOAD_MUX); in bcm6838_pinctrl_pinmux_set()
/external/u-boot/test/dm/
Dregmap.c107 ut_assertok(regmap_write(map, 0, 0xcacafafa)); in dm_test_regmap_rw()
108 ut_assertok(regmap_write(map, 5, 0x55aa2211)); in dm_test_regmap_rw()
174 ut_assertok(regmap_write(map, 0, 0x0)); in dm_test_regmap_poll()
/external/u-boot/drivers/spi/
Dmeson_spifc.c118 regmap_write(spifc->regmap, REG_C0 + i, data); in meson_spifc_fill_buffer()
150 regmap_write(spifc->regmap, REG_USER1, in meson_spifc_txrx()
237 regmap_write(spifc->regmap, REG_CLOCK, value); in meson_spifc_set_speed()
/external/u-boot/drivers/sysreset/
Dsysreset_syscon.c31 regmap_write(priv->regmap, priv->offset, priv->mask); in syscon_reboot_request()
/external/u-boot/drivers/reset/
Dreset-meson.c48 regmap_write(priv->regmap, reg_offset, val); in meson_reset_level()
/external/u-boot/drivers/clk/at91/
Dclk-utmi.c75 err = regmap_write(plat->regmap_sfr, AT91_SFR_UTMICKTRIM, tmp); in utmi_clk_enable()
/external/u-boot/include/
Dregmap.h106 int regmap_write(struct regmap *map, uint offset, uint val);
/external/u-boot/drivers/net/
Dsni_ave.c642 regmap_write(priv->regmap, SG_ETPINMODE, reg); in ave_pro4_get_pinmode()
669 regmap_write(priv->regmap, SG_ETPINMODE, reg); in ave_ld11_get_pinmode()
696 regmap_write(priv->regmap, SG_ETPINMODE, reg); in ave_ld20_get_pinmode()
723 regmap_write(priv->regmap, SG_ETPINMODE, reg); in ave_pxs3_get_pinmode()
/external/u-boot/drivers/core/
Dregmap.c457 int regmap_write(struct regmap *map, uint offset, uint val) in regmap_write() function
473 return regmap_write(map, offset, reg | (val & mask)); in regmap_update_bits()

12