Home
last modified time | relevance | path

Searched refs:regmap_read (Results 1 – 17 of 17) sorted by relevance

/openbmc/u-boot/drivers/clk/
H A Dclk_meson_axg.c97 regmap_read(priv->map, HHI_MPEG_CLK_CNTL, &reg); in meson_clk81_get_rate()
111 regmap_read(priv->map, HHI_MPEG_CLK_CNTL, &reg); in meson_clk81_get_rate()
179 regmap_read(priv->map, psdm->reg_off, &reg); in meson_mpll_get_rate()
182 regmap_read(priv->map, pn2->reg_off, &reg); in meson_mpll_get_rate()
223 regmap_read(priv->map, pn->reg_off, &reg); in meson_pll_get_rate()
226 regmap_read(priv->map, pm->reg_off, &reg); in meson_pll_get_rate()
229 regmap_read(priv->map, pod->reg_off, &reg); in meson_pll_get_rate()
H A Dclk_meson.c297 regmap_read(priv->map, parm->reg_off, &reg); in meson_div_get_rate()
480 regmap_read(priv->map, parm->reg_off, &reg); in meson_mux_get_parent()
584 regmap_read(priv->map, HHI_MPEG_CLK_CNTL, &reg); in meson_clk81_get_rate()
598 regmap_read(priv->map, HHI_MPEG_CLK_CNTL, &reg); in meson_clk81_get_rate()
667 regmap_read(priv->map, psdm->reg_off, &reg); in meson_mpll_get_rate()
670 regmap_read(priv->map, pn2->reg_off, &reg); in meson_mpll_get_rate()
711 regmap_read(priv->map, pn->reg_off, &reg); in meson_pll_get_rate()
714 regmap_read(priv->map, pm->reg_off, &reg); in meson_pll_get_rate()
717 regmap_read(priv->map, pod->reg_off, &reg); in meson_pll_get_rate()
H A Dclk_boston.c35 err = regmap_read(state->regmap, BOSTON_PLAT_MMCMDIV, &mmcmdiv); in clk_boston_get_rate()
/openbmc/u-boot/drivers/phy/
H A Dmeson-gxl-usb3.c100 regmap_read(priv->regmap, USB_R0, &val); in phy_meson_gxl_usb3_set_host_mode()
104 regmap_read(priv->regmap, USB_R4, &val); in phy_meson_gxl_usb3_set_host_mode()
117 regmap_read(priv->regmap, USB_R5, &val); in phy_meson_gxl_usb3_power_on()
133 regmap_read(priv->regmap, USB_R5, &val); in phy_meson_gxl_usb3_power_off()
147 regmap_read(priv->regmap, USB_R1, &val); in phy_meson_gxl_usb3_init()
H A Dmeson-gxl-usb2.c111 regmap_read(priv->regmap, U2P_R0, &val); in phy_meson_gxl_usb2_reset()
128 regmap_read(priv->regmap, U2P_R0, &val); in phy_meson_gxl_usb2_set_host_mode()
143 regmap_read(priv->regmap, U2P_R0, &val); in phy_meson_gxl_usb2_power_on()
167 regmap_read(priv->regmap, U2P_R0, &val); in phy_meson_gxl_usb2_power_off()
H A Domap-usb2-phy.c109 rc = regmap_read(phy->pwr_regmap, phy->pwr_reg_offset, &val); in omap_usb_phy_power()
/openbmc/u-boot/include/
H A Dregmap.h122 int regmap_read(struct regmap *map, uint offset, uint *valp);
271 __ret = regmap_read((map), (addr), &(val)); \
279 __ret = regmap_read((map), (addr), &(val)); \
/openbmc/u-boot/drivers/adc/
H A Dmeson-saradc.c185 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, &regval); in meson_saradc_get_fifo_count()
204 regmap_read(priv->regmap, MESON_SAR_ADC_DELAY, &val); in meson_saradc_lock()
230 regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, &tmp); in meson_saradc_clear_fifo()
255 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, &regval); in meson_saradc_wait_busy_clear()
280 regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, &regval); in meson_saradc_read_raw_sample()
512 regmap_read(priv->regmap, MESON_SAR_ADC_REG3, &regval); in meson_saradc_init()
/openbmc/u-boot/test/dm/
H A Dregmap.c109 ut_assertok(regmap_read(map, 0, &reg)); in dm_test_regmap_rw()
110 ut_assertok(regmap_read(map, 3, &reg)); in dm_test_regmap_rw()
/openbmc/u-boot/drivers/reset/
H A Dreset-meson.c43 regmap_read(priv->regmap, reg_offset, &val); in meson_reset_level()
/openbmc/u-boot/drivers/clk/at91/
H A Dclk-utmi.c69 err = regmap_read(plat->regmap_sfr, AT91_SFR_UTMICKTRIM, &tmp); in utmi_clk_enable()
/openbmc/u-boot/drivers/pinctrl/rockchip/
H A Dpinctrl-rockchip-core.c142 ret = regmap_read(regmap, reg, &val); in rockchip_get_mux()
232 regmap_read(regmap, reg, &data); in rockchip_set_mux()
335 regmap_read(regmap, reg, &data); in rockchip_set_drive_perpin()
410 regmap_read(regmap, reg, &data); in rockchip_set_pull()
/openbmc/u-boot/drivers/core/
H A Dregmap.c297 int regmap_read(struct regmap *map, uint offset, uint *valp) in regmap_read() function
417 ret = regmap_read(map, offset, &reg); in regmap_update_bits()
/openbmc/u-boot/drivers/net/
H A Dsni_ave.c638 regmap_read(priv->regmap, SG_ETPINMODE, &reg); in ave_pro4_get_pinmode()
665 regmap_read(priv->regmap, SG_ETPINMODE, &reg); in ave_ld11_get_pinmode()
692 regmap_read(priv->regmap, SG_ETPINMODE, &reg); in ave_ld20_get_pinmode()
719 regmap_read(priv->regmap, SG_ETPINMODE, &reg); in ave_pxs3_get_pinmode()
/openbmc/u-boot/arch/arm/mach-stm32mp/
H A Dpwr_regulator.c52 return regmap_read(priv->regmap, STM32MP_PWR_CR3, (u32 *)buff); in stm32mp_pwr_read()
/openbmc/u-boot/drivers/spi/
H A Dmeson_spifc.c87 regmap_read(spifc->regmap, REG_C0 + i, &data); in meson_spifc_drain_buffer()
/openbmc/u-boot/drivers/power/regulator/
H A Dpbias_regulator.c61 return regmap_read(priv->regmap, priv->offset, (u32 *)buff); in pbias_read()