Searched refs:eth_node (Results 1 – 4 of 4) sorted by relevance
824 emac->phy_node = eth_node; in prueth_netdev_init()870 ndev->dev.of_node = eth_node; in prueth_netdev_init()930 eth_node, ret); in prueth_probe()933 of_node_get(eth_node); in prueth_probe()936 eth0_node = eth_node; in prueth_probe()942 eth1_node = eth_node; in prueth_probe()1136 eth_node = prueth->eth_node[i]; in prueth_probe()1137 if (!eth_node) in prueth_probe()1183 struct device_node *eth_node; in prueth_remove() local1196 eth_node = prueth->eth_node[i]; in prueth_remove()[all …]
1240 emac->phy_node = eth_node; in prueth_netdev_init()1286 ndev->dev.of_node = eth_node; in prueth_netdev_init()1676 eth_node, ret); in prueth_probe()1679 of_node_get(eth_node); in prueth_probe()1682 eth0_node = eth_node; in prueth_probe()1688 eth1_node = eth_node; in prueth_probe()1908 eth_node = prueth->eth_node[i]; in prueth_probe()1909 if (!eth_node) in prueth_probe()1950 struct device_node *eth_node; in prueth_remove() local1965 eth_node = prueth->eth_node[i]; in prueth_remove()[all …]
314 struct device_node *eth_node[PRUETH_NUM_MACS]; member474 int prueth_node_port(struct device_node *eth_node);475 int prueth_node_mac(struct device_node *eth_node);477 struct device_node *eth_node);
1354 int prueth_node_port(struct device_node *eth_node) in prueth_node_port() argument1359 ret = of_property_read_u32(eth_node, "reg", &port_id); in prueth_node_port()1373 int prueth_node_mac(struct device_node *eth_node) in prueth_node_mac() argument1378 ret = of_property_read_u32(eth_node, "reg", &port_id); in prueth_node_mac()1392 struct device_node *eth_node) in prueth_netdev_exit() argument1397 mac = prueth_node_mac(eth_node); in prueth_netdev_exit()