Lines Matching refs:eth_dn
3066 struct device_node *eth_dn; in ehea_setup_ports() local
3072 for_each_child_of_node(lhea_dn, eth_dn) { in ehea_setup_ports()
3073 dn_log_port_id = of_get_property(eth_dn, "ibm,hea-port-no", in ehea_setup_ports()
3076 pr_err("bad device node: eth_dn name=%pOF\n", eth_dn); in ehea_setup_ports()
3082 of_node_put(eth_dn); in ehea_setup_ports()
3088 eth_dn); in ehea_setup_ports()
3104 struct device_node *eth_dn; in ehea_get_eth_dn() local
3108 for_each_child_of_node(lhea_dn, eth_dn) { in ehea_get_eth_dn()
3109 dn_log_port_id = of_get_property(eth_dn, "ibm,hea-port-no", in ehea_get_eth_dn()
3113 return eth_dn; in ehea_get_eth_dn()
3125 struct device_node *eth_dn = NULL; in probe_port_store() local
3140 eth_dn = ehea_get_eth_dn(adapter, logical_port_id); in probe_port_store()
3142 if (!eth_dn) { in probe_port_store()
3149 of_node_put(eth_dn); in probe_port_store()
3153 port = ehea_setup_single_port(adapter, logical_port_id, eth_dn); in probe_port_store()
3155 of_node_put(eth_dn); in probe_port_store()