Lines Matching refs:phy
44 static int sti_usb_phy_deassert(struct sti_usb_phy *phy) in sti_usb_phy_deassert() argument
48 ret = reset_deassert(&phy->global_ctl); in sti_usb_phy_deassert()
54 ret = reset_deassert(&phy->port_ctl); in sti_usb_phy_deassert()
61 static int sti_usb_phy_init(struct phy *usb_phy) in sti_usb_phy_init()
64 struct sti_usb_phy *phy = dev_get_priv(dev); in sti_usb_phy_init() local
68 reg = (void __iomem *)phy->regmap->base + phy->ctrl; in sti_usb_phy_init()
73 reg = (void __iomem *)phy->regmap->base + phy->param; in sti_usb_phy_init()
77 return sti_usb_phy_deassert(phy); in sti_usb_phy_init()
80 static int sti_usb_phy_exit(struct phy *usb_phy) in sti_usb_phy_exit()
83 struct sti_usb_phy *phy = dev_get_priv(dev); in sti_usb_phy_exit() local
86 ret = reset_assert(&phy->port_ctl); in sti_usb_phy_exit()
92 ret = reset_assert(&phy->global_ctl); in sti_usb_phy_exit()