Home
last modified time | relevance | path

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

/openbmc/linux/drivers/phy/hisilicon/
H A Dphy-hi3660-usb3.c62 struct regmap *otg_bc; member
92 ret = regmap_update_bits(priv->otg_bc, USBOTG3_CTRL0, mask, val); in hi3660_phy_init()
98 ret = regmap_update_bits(priv->otg_bc, USBOTG3_CTRL7, mask, val); in hi3660_phy_init()
104 ret = regmap_update_bits(priv->otg_bc, USBOTG3_CTRL2, mask, 0); in hi3660_phy_init()
123 ret = regmap_update_bits(priv->otg_bc, USBOTG3_CTRL3, mask, val); in hi3660_phy_init()
130 ret = regmap_write(priv->otg_bc, USBOTG3_CTRL4, in hi3660_phy_init()
198 priv->otg_bc = syscon_node_to_regmap(dev->parent->of_node); in hi3660_phy_probe()
199 if (IS_ERR(priv->otg_bc)) { in hi3660_phy_probe()
201 return PTR_ERR(priv->otg_bc); in hi3660_phy_probe()