Searched refs:hsr_dev (Results 1 – 7 of 7) sorted by relevance
| /linux/net/hsr/ |
| H A D | hsr_device.c | 64 static void hsr_check_announce(struct net_device *hsr_dev) in hsr_check_announce() argument 68 hsr = netdev_priv(hsr_dev); in hsr_check_announce() 69 if (netif_running(hsr_dev) && netif_oper_up(hsr_dev)) { in hsr_check_announce() 695 int hsr_get_port_type(struct net_device *hsr_dev, struct net_device *dev, in hsr_get_port_type() argument 698 struct hsr_priv *hsr = netdev_priv(hsr_dev); in hsr_get_port_type() 720 int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2], in hsr_dev_finalize() argument 728 hsr = netdev_priv(hsr_dev); in hsr_dev_finalize() 734 eth_hw_addr_set(hsr_dev, slave[0]->dev_addr); in hsr_dev_finalize() 748 res = hsr_create_self_node(hsr, hsr_dev->dev_addr, in hsr_dev_finalize() 769 netif_carrier_off(hsr_dev); in hsr_dev_finalize() [all …]
|
| H A D | hsr_netlink.c | 313 struct net_device *hsr_dev; in hsr_get_node_status() local 339 hsr_dev = dev_get_by_index_rcu(genl_info_net(info), in hsr_get_node_status() 341 if (!hsr_dev) in hsr_get_node_status() 343 if (!is_hsr_master(hsr_dev)) in hsr_get_node_status() 361 res = nla_put_u32(skb_out, HSR_A_IFINDEX, hsr_dev->ifindex); in hsr_get_node_status() 365 hsr = netdev_priv(hsr_dev); in hsr_get_node_status() 448 struct net_device *hsr_dev; in hsr_get_node_list() local 465 hsr_dev = dev_get_by_index_rcu(genl_info_net(info), in hsr_get_node_list() 467 if (!hsr_dev) in hsr_get_node_list() 469 if (!is_hsr_master(hsr_dev)) in hsr_get_node_list() [all …]
|
| H A D | hsr_device.h | 18 int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],
|
| /linux/net/dsa/ |
| H A D | tag_xrs700x.c | |
| H A D | port.c | 1898 dp->hsr_dev = hsr; in dsa_port_hsr_join() 1902 dp->hsr_dev = NULL; in dsa_port_hsr_join() 1912 if (!dp->hsr_dev) in dsa_port_hsr_leave() 1915 dp->hsr_dev = NULL; in dsa_port_hsr_leave()
|
| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_prueth.c | 1308 vlan_for_each(emac->prueth->hsr_dev, in emac_ndo_set_rx_mode_work() 2006 prueth->hsr_dev = NULL; in prueth_hsr_port_unlink() 2043 if (!prueth->hsr_dev) { in prueth_netdevice_event() 2044 prueth->hsr_dev = info->upper_dev; in prueth_netdevice_event() 2046 prueth->hsr_dev->dev_addr); in prueth_netdevice_event() 2048 if (prueth->hsr_dev != info->upper_dev) { in prueth_netdevice_event()
|
| /linux/drivers/net/dsa/ocelot/ |
| H A D | felix.c | 1249 if (!dp->hsr_dev || felix->tag_proto == DSA_TAG_PROTO_OCELOT_8021Q) in felix_port_enable() 1252 return dsa_port_simple_hsr_join(ds, port, dp->hsr_dev, NULL); in felix_port_enable() 1264 if (!dp->hsr_dev || felix->tag_proto == DSA_TAG_PROTO_OCELOT_8021Q) in felix_port_disable() 1267 dsa_port_simple_hsr_leave(ds, port, dp->hsr_dev); in felix_port_disable()
|