Lines Matching refs:dn
1543 phy_dn = of_parse_phandle(dp->dn, "phy-handle", 0); in dsa_port_get_phy_device()
1685 err = of_get_phy_mode(dp->dn, &mode); in dsa_port_phylink_create()
1703 pl = phylink_create(&dp->pl_config, of_fwnode_handle(dp->dn), in dsa_port_phylink_create()
1761 struct device_node *dn = dp->dn; in dsa_shared_port_fixed_link_register_of() local
1768 err = of_phy_register_fixed_link(dn); in dsa_shared_port_fixed_link_register_of()
1776 phydev = of_phy_find_device(dn); in dsa_shared_port_fixed_link_register_of()
1778 err = of_get_phy_mode(dn, &mode); in dsa_shared_port_fixed_link_register_of()
1796 struct device_node *port_dn = dp->dn; in dsa_shared_port_phylink_register()
1937 struct device_node *dn = dp->dn, *phy_np; in dsa_shared_port_validate_of() local
1944 if (of_get_phy_mode(dn, &mode)) { in dsa_shared_port_validate_of()
1948 dn, dsa_port_is_cpu(dp) ? "CPU" : "DSA", dp->index); in dsa_shared_port_validate_of()
1954 if (of_phy_is_fixed_link(dn)) in dsa_shared_port_validate_of()
1957 phy_np = of_parse_phandle(dn, "phy-handle", 0); in dsa_shared_port_validate_of()
1967 dn, dsa_port_is_cpu(dp) ? "CPU" : "DSA", dp->index); in dsa_shared_port_validate_of()
2003 if (of_phy_is_fixed_link(dp->dn)) in dsa_shared_port_link_register_of()
2021 if (of_phy_is_fixed_link(dp->dn)) in dsa_shared_port_link_unregister_of()
2022 of_phy_deregister_fixed_link(dp->dn); in dsa_shared_port_link_unregister_of()