Lines Matching full:gphy
538 static int cdns_sierra_phy_init(struct phy *gphy) in cdns_sierra_phy_init() argument
540 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_init()
541 struct cdns_sierra_phy *phy = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_init()
607 static int cdns_sierra_phy_on(struct phy *gphy) in cdns_sierra_phy_on() argument
609 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_on()
610 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_on()
659 static int cdns_sierra_phy_off(struct phy *gphy) in cdns_sierra_phy_off() argument
661 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_off()
666 static int cdns_sierra_phy_reset(struct phy *gphy) in cdns_sierra_phy_reset() argument
668 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent); in cdns_sierra_phy_reset()
683 static int cdns_sierra_noop_phy_on(struct phy *gphy) in cdns_sierra_noop_phy_on() argument
1443 struct phy *gphy; in cdns_sierra_phy_probe() local
1472 gphy = devm_phy_create(dev, child, &ops); in cdns_sierra_phy_probe()
1474 gphy = devm_phy_create(dev, child, &noop_ops); in cdns_sierra_phy_probe()
1475 if (IS_ERR(gphy)) { in cdns_sierra_phy_probe()
1476 ret = PTR_ERR(gphy); in cdns_sierra_phy_probe()
1480 sp->phys[node].phy = gphy; in cdns_sierra_phy_probe()
1481 phy_set_drvdata(gphy, &sp->phys[node]); in cdns_sierra_phy_probe()