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