Home
last modified time | relevance | path

Searched refs:eth_node (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/ti/icssm/
H A Dicssm_prueth.c297 if (prueth->eth_node[PRUETH_MAC0]) in icssm_prueth_hostinit()
299 if (prueth->eth_node[PRUETH_MAC1]) in icssm_prueth_hostinit()
1443 /* get emac_port corresponding to eth_node name */
1444 static int icssm_prueth_node_port(struct device_node *eth_node) in icssm_prueth_node_port() argument
1449 ret = of_property_read_u32(eth_node, "reg", &port_id); in icssm_prueth_node_port()
1461 /* get MAC instance corresponding to eth_node name */
1462 static int icssm_prueth_node_mac(struct device_node *eth_node) in icssm_prueth_node_mac() argument
1467 ret = of_property_read_u32(eth_node, "reg", &port_id); in icssm_prueth_node_mac()
1491 struct device_node *eth_node) in icssm_prueth_netdev_init() argument
1500 port = icssm_prueth_node_port(eth_node); in icssm_prueth_netdev_init()
1609 icssm_prueth_netdev_exit(struct prueth * prueth,struct device_node * eth_node) icssm_prueth_netdev_exit() argument
1794 struct device_node *eth_node, *eth_ports_node; icssm_prueth_probe() local
2074 struct device_node *eth_node; icssm_prueth_remove() local
[all...]
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_prueth.c1658 struct device_node *eth_node) in prueth_netdev_init() argument
1667 port = prueth_node_port(eth_node); in prueth_netdev_init()
1671 mac = prueth_node_mac(eth_node); in prueth_netdev_init()
1714 emac->phy_node = of_parse_phandle(eth_node, "phy-handle", 0); in prueth_netdev_init()
1715 if (!emac->phy_node && !of_phy_is_fixed_link(eth_node)) { in prueth_netdev_init()
1719 } else if (of_phy_is_fixed_link(eth_node)) { in prueth_netdev_init()
1720 ret = of_phy_register_fixed_link(eth_node); in prueth_netdev_init()
1726 emac->phy_node = eth_node; in prueth_netdev_init()
1729 ret = of_get_phy_mode(eth_node, &emac->phy_if); in prueth_netdev_init()
1764 ret = of_get_ethdev_address(eth_node, ndev); in prueth_netdev_init()
[all …]
H A Dicssg_common.c1701 int prueth_node_port(struct device_node *eth_node) in prueth_node_port() argument
1706 ret = of_property_read_u32(eth_node, "reg", &port_id); in prueth_node_port()
1720 int prueth_node_mac(struct device_node *eth_node) in prueth_node_mac() argument
1725 ret = of_property_read_u32(eth_node, "reg", &port_id); in prueth_node_mac()
1739 struct device_node *eth_node) in prueth_netdev_exit() argument
1744 mac = prueth_node_mac(eth_node); in prueth_netdev_exit()