Home
last modified time | relevance | path

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

/drivers/net/ethernet/ibm/emac/
Dcore.c2633 struct device_node *phy_handle) in emac_dt_phy_connect() argument
2640 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() local
2664 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()
/drivers/net/dsa/mv88e6xxx/
Dchip.c3305 struct device_node *phy_handle = NULL; in mv88e6xxx_setup_port() local
3534 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()