Lines Matching defs:gphy
537 static int cdns_sierra_phy_init(struct phy *gphy)
539 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy);
540 struct cdns_sierra_phy *phy = dev_get_drvdata(gphy->dev.parent);
606 static int cdns_sierra_phy_on(struct phy *gphy)
608 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent);
609 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy);
658 static int cdns_sierra_phy_off(struct phy *gphy)
660 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy);
665 static int cdns_sierra_phy_reset(struct phy *gphy)
667 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent);
682 static int cdns_sierra_noop_phy_on(struct phy *gphy)
1442 struct phy *gphy;
1473 gphy = devm_phy_create(dev, child, &ops);
1475 gphy = devm_phy_create(dev, child, &noop_ops);
1476 if (IS_ERR(gphy)) {
1477 ret = PTR_ERR(gphy);
1482 sp->phys[node].phy = gphy;
1483 phy_set_drvdata(gphy, &sp->phys[node]);