Lines Matching refs:gphy
271 static int cdns_sierra_phy_init(struct phy *gphy) in cdns_sierra_phy_init() argument
273 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_init()
274 struct cdns_sierra_phy *phy = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_init()
314 static int cdns_sierra_phy_on(struct phy *gphy) in cdns_sierra_phy_on() argument
316 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_on()
317 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_on()
343 static int cdns_sierra_phy_off(struct phy *gphy) in cdns_sierra_phy_off() argument
345 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_off()
350 static int cdns_sierra_phy_reset(struct phy *gphy) in cdns_sierra_phy_reset() argument
352 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_reset()
580 struct phy *gphy; in cdns_sierra_phy_probe() local
603 gphy = devm_phy_create(dev, child, &ops); in cdns_sierra_phy_probe()
605 if (IS_ERR(gphy)) { in cdns_sierra_phy_probe()
606 ret = PTR_ERR(gphy); in cdns_sierra_phy_probe()
609 sp->phys[node].phy = gphy; in cdns_sierra_phy_probe()
610 phy_set_drvdata(gphy, &sp->phys[node]); in cdns_sierra_phy_probe()