Home
last modified time | relevance | path

Searched refs:phy_handle (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/ibm/emac/
Dcore.c2634 struct device_node *phy_handle) in emac_dt_phy_connect() argument
2641 dev->phy_dev = of_phy_connect(dev->ndev, phy_handle, &emac_adjust_link, in emac_dt_phy_connect()
2662 struct device_node *phy_handle; in emac_dt_phy_probe() local
2665 phy_handle = of_parse_phandle(np, "phy-handle", 0); in emac_dt_phy_probe()
2667 if (phy_handle) { in emac_dt_phy_probe()
2670 res = emac_dt_phy_connect(dev, phy_handle); in emac_dt_phy_probe()
2676 of_node_put(phy_handle); in emac_dt_phy_probe()
/drivers/net/dsa/mv88e6xxx/
Dchip.c3237 struct device_node *phy_handle = NULL; in mv88e6xxx_setup_port() local
3428 phy_handle = of_parse_phandle(dp->dn, "phy-handle", 0); in mv88e6xxx_setup_port()
3430 if (phy_handle && !of_property_read_u32(phy_handle, in mv88e6xxx_setup_port()
3435 if (phy_handle) { in mv88e6xxx_setup_port()
3436 of_node_put(phy_handle); in mv88e6xxx_setup_port()