Searched refs:phy_handle (Results 1 – 2 of 2) sorted by relevance
2633 struct device_node *phy_handle) in emac_dt_phy_connect() argument2640 dev->phy_dev = of_phy_connect(dev->ndev, phy_handle, &emac_adjust_link, in emac_dt_phy_connect()2661 struct device_node *phy_handle; in emac_dt_phy_probe() local2664 phy_handle = of_parse_phandle(np, "phy-handle", 0); in emac_dt_phy_probe()2666 if (phy_handle) { in emac_dt_phy_probe()2669 res = emac_dt_phy_connect(dev, phy_handle); in emac_dt_phy_probe()2675 of_node_put(phy_handle); in emac_dt_phy_probe()
3305 struct device_node *phy_handle = NULL; in mv88e6xxx_setup_port() local3534 phy_handle = of_parse_phandle(dp->dn, "phy-handle", 0); in mv88e6xxx_setup_port()3536 if (phy_handle && !of_property_read_u32(phy_handle, in mv88e6xxx_setup_port()3541 if (phy_handle) { in mv88e6xxx_setup_port()3542 of_node_put(phy_handle); in mv88e6xxx_setup_port()