Lines Matching defs:ethernet
370 struct device_node *ethernet;
375 ethernet = of_parse_phandle(cpu_dp->dn, "ethernet", 0);
376 master = of_find_net_device_by_node(ethernet);
377 of_node_put(ethernet);
1244 struct device_node *ethernet = of_parse_phandle(dn, "ethernet", 0);
1250 if (ethernet) {
1254 master = of_find_net_device_by_node(ethernet);
1255 of_node_put(ethernet);
1279 /* The second possibility is "ethernet-ports" */
1280 ports = of_get_child_by_name(dn, "ethernet-ports");