Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/phy/
H A Dphy-rockchip-samsung-hdptx.c719 regmap_update_bits(hdptx->regmap, LANE_REG(lane, 0x0c44), in rockchip_hdptx_phy_set_voltage()
722 regmap_update_bits(hdptx->regmap, LANE_REG(lane, 0x0c28), in rockchip_hdptx_phy_set_voltage()
725 regmap_update_bits(hdptx->regmap, LANE_REG(lane, 0x0c30), in rockchip_hdptx_phy_set_voltage()
732 regmap_update_bits(hdptx->regmap, LANE_REG(lane, 0x0c44), in rockchip_hdptx_phy_set_voltage()
735 regmap_update_bits(hdptx->regmap, LANE_REG(lane, 0x0c2c), in rockchip_hdptx_phy_set_voltage()
738 regmap_update_bits(hdptx->regmap, LANE_REG(lane, 0x0c34), in rockchip_hdptx_phy_set_voltage()
747 regmap_update_bits(hdptx->regmap, LANE_REG(lane, 0x0c44), in rockchip_hdptx_phy_set_voltage()
750 regmap_update_bits(hdptx->regmap, LANE_REG(lane, 0x0c2c), in rockchip_hdptx_phy_set_voltage()
753 regmap_update_bits(hdptx->regmap, LANE_REG(lane, 0x0c34), in rockchip_hdptx_phy_set_voltage()
759 regmap_update_bits(hdptx->regmap, LANE_REG(lane, 0x0c44), in rockchip_hdptx_phy_set_voltage()
[all …]
H A Dphy-rockchip-usbdp.c596 regmap_update_bits(udphy->pma_regmap, CMN_LANE_MUX_AND_EN_OFFSET, CMN_DP_LANE_EN_ALL, in udphy_dplane_enable()
600 regmap_update_bits(udphy->pma_regmap, CMN_DP_RSTN_OFFSET, in udphy_dplane_enable()
719 regmap_update_bits(udphy->pma_regmap, CMN_LANE_MUX_AND_EN_OFFSET, in udphy_init()
732 regmap_update_bits(udphy->pma_regmap, CMN_DP_RSTN_OFFSET, in udphy_init()
1054 regmap_update_bits(udphy->pma_regmap, CMN_DP_RSTN_OFFSET, in dp_phy_set_rate()
1074 regmap_update_bits(udphy->pma_regmap, CMN_DP_LINK_OFFSET, CMN_DP_TX_LINK_BW, in dp_phy_set_rate()
1076 regmap_update_bits(udphy->pma_regmap, CMN_SSC_EN_OFFSET, CMN_ROPLL_SSC_EN, in dp_phy_set_rate()
1078 regmap_update_bits(udphy->pma_regmap, CMN_DP_RSTN_OFFSET, CMN_DP_CMN_RSTN, in dp_phy_set_rate()
1125 regmap_update_bits(udphy->pma_regmap, TRSV_ANA_TX_CLK_OFFSET_N(lane), in dp_phy_set_voltages()
1132 regmap_update_bits(udphy->pma_regmap, TRSV_ANA_TX_CLK_OFFSET_N(lane), in dp_phy_set_voltages()
H A Dphy-rockchip-inno-usb2.c818 ret = regmap_update_bits(base, 0x8000, GENMASK(2, 0), BIT(2)); in rk3328_usb2phy_tuning()
823 ret = regmap_update_bits(base, 0x8004, GENMASK(7, 5), 0x40); in rk3328_usb2phy_tuning()
827 ret = regmap_update_bits(base, 0x8008, BIT(0), 0x1); in rk3328_usb2phy_tuning()
832 ret = regmap_update_bits(base, 0x8400, GENMASK(2, 0), BIT(2)); in rk3328_usb2phy_tuning()
837 ret = regmap_update_bits(base, 0x8404, GENMASK(7, 5), 0x40); in rk3328_usb2phy_tuning()
841 ret = regmap_update_bits(base, 0x8408, BIT(0), 0x1); in rk3328_usb2phy_tuning()
/rk3399_rockchip-uboot/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c132 regmap_update_bits(priv->regmap, U2P_R0 + (U2P_REG_SIZE * i), in dwc3_meson_g12a_usb2_set_mode()
138 regmap_update_bits(priv->regmap, U2P_R0 + (U2P_REG_SIZE * i), in dwc3_meson_g12a_usb2_set_mode()
157 regmap_update_bits(priv->regmap, U2P_R0 + (U2P_REG_SIZE * i), in dwc3_meson_g12a_usb2_init()
162 regmap_update_bits(priv->regmap, in dwc3_meson_g12a_usb2_init()
173 regmap_update_bits(priv->regmap, U2P_R0 + (U2P_REG_SIZE * i), in dwc3_meson_g12a_usb2_init()
182 regmap_update_bits(priv->regmap, USB_R3, in dwc3_meson_g12a_usb3_init()
190 regmap_update_bits(priv->regmap, USB_R2, in dwc3_meson_g12a_usb3_init()
194 regmap_update_bits(priv->regmap, USB_R2, in dwc3_meson_g12a_usb3_init()
200 regmap_update_bits(priv->regmap, USB_R1, in dwc3_meson_g12a_usb3_init()
204 regmap_update_bits(priv->regmap, USB_R1, in dwc3_meson_g12a_usb3_init()
[all …]
/rk3399_rockchip-uboot/drivers/video/drm/
H A Ddw-dp.c456 regmap_update_bits(dp->regmap, DPTX_CCTL, FORCE_HPD, in dw_dp_hpd_init()
462 regmap_update_bits(dp->regmap, DPTX_HPD_INTERRUPT_ENABLE, in dw_dp_hpd_init()
469 regmap_update_bits(dp->regmap, DPTX_GENERAL_INTERRUPT_ENABLE, in dw_dp_hpd_init()
475 regmap_update_bits(dp->regmap, DPTX_SOFT_RESET_CTRL, AUX_RESET, in dw_dp_aux_init()
478 regmap_update_bits(dp->regmap, DPTX_SOFT_RESET_CTRL, AUX_RESET, in dw_dp_aux_init()
481 regmap_update_bits(dp->regmap, DPTX_GENERAL_INTERRUPT_ENABLE, in dw_dp_aux_init()
488 regmap_update_bits(dp->regmap, DPTX_SOFT_RESET_CTRL, CONTROLLER_RESET, in dw_dp_init()
491 regmap_update_bits(dp->regmap, DPTX_SOFT_RESET_CTRL, CONTROLLER_RESET, in dw_dp_init()
494 regmap_update_bits(dp->regmap, DPTX_SOFT_RESET_CTRL, PHY_SOFT_RESET, in dw_dp_init()
497 regmap_update_bits(dp->regmap, DPTX_SOFT_RESET_CTRL, PHY_SOFT_RESET, in dw_dp_init()
[all …]
/rk3399_rockchip-uboot/drivers/pinctrl/rockchip/
H A Dpinctrl-rk3568.c136 return regmap_update_bits(regmap, reg, rmask, data); in rk3568_set_mux()
245 return regmap_update_bits(regmap, reg, rmask, data); in rk3568_set_pull()
271 ret = regmap_update_bits(regmap, reg, rmask, data); in rk3568_set_drive()
297 return regmap_update_bits(regmap, reg, rmask, data); in rk3568_set_drive()
315 return regmap_update_bits(regmap, reg, rmask, data); in rk3568_set_schmitt()
/rk3399_rockchip-uboot/include/
H A Dregmap.h95 int regmap_update_bits(struct regmap *map, uint offset, uint mask, uint val);
/rk3399_rockchip-uboot/drivers/core/
H A Dregmap.c149 int regmap_update_bits(struct regmap *map, uint offset, uint mask, uint val) in regmap_update_bits() function