Home
last modified time | relevance | path

Searched refs:phy_dn (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c351 if (!priv->phy_dn && of_phy_is_fixed_link(dn)) { in bcmgenet_mii_probe()
356 priv->phy_dn = of_node_get(dn); in bcmgenet_mii_probe()
359 phydev = of_phy_connect(dev, priv->phy_dn, bcmgenet_mii_setup, in bcmgenet_mii_probe()
463 priv->phy_dn = of_parse_phandle(dn, "phy-handle", 0); in bcmgenet_mii_of_init()
576 of_node_put(priv->phy_dn); in bcmgenet_mii_init()
588 of_node_put(priv->phy_dn); in bcmgenet_mii_exit()
Dbcmgenet.h596 struct device_node *phy_dn; member
/linux-4.1.27/net/dsa/
Dslave.c748 struct device_node *phy_dn, *port_dn; in dsa_slave_phy_setup() local
759 phy_dn = of_parse_phandle(port_dn, "phy-handle", 0); in dsa_slave_phy_setup()
770 phy_dn = port_dn; in dsa_slave_phy_setup()
776 if (phy_dn) { in dsa_slave_phy_setup()
777 ret = of_mdio_parse_addr(&slave_dev->dev, phy_dn); in dsa_slave_phy_setup()
789 p->phy = of_phy_connect(slave_dev, phy_dn, in dsa_slave_phy_setup()
/linux-4.1.27/drivers/net/ethernet/pasemi/
Dpasemi_mac.c1089 struct device_node *dn, *phy_dn; in pasemi_mac_phy_init() local
1093 phy_dn = of_parse_phandle(dn, "phy-handle", 0); in pasemi_mac_phy_init()
1094 of_node_put(phy_dn); in pasemi_mac_phy_init()
1100 phydev = of_phy_connect(dev, phy_dn, &pasemi_adjust_link, 0, in pasemi_mac_phy_init()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbcmsysport.h674 struct device_node *phy_dn; member
Dbcmsysport.c1489 priv->phydev = of_phy_connect(dev, priv->phy_dn, bcm_sysport_adj_link, in bcm_sysport_open()
1717 priv->phy_dn = dn; in bcm_sysport_probe()