Searched refs:eth_node (Results 1 – 2 of 2) sorted by relevance
1669 static int prueth_node_port(struct device_node *eth_node) in prueth_node_port() argument1674 ret = of_property_read_u32(eth_node, "reg", &port_id); in prueth_node_port()1687 static int prueth_node_mac(struct device_node *eth_node) in prueth_node_mac() argument1692 ret = of_property_read_u32(eth_node, "reg", &port_id); in prueth_node_mac()1705 struct device_node *eth_node) in prueth_netdev_init() argument1714 port = prueth_node_port(eth_node); in prueth_netdev_init()1718 mac = prueth_node_mac(eth_node); in prueth_netdev_init()1764 emac->phy_node = of_parse_phandle(eth_node, "phy-handle", 0); in prueth_netdev_init()1765 if (!emac->phy_node && !of_phy_is_fixed_link(eth_node)) { in prueth_netdev_init()1769 } else if (of_phy_is_fixed_link(eth_node)) { in prueth_netdev_init()[all …]
223 struct device_node *eth_node[PRUETH_NUM_MACS]; member