Searched refs:hsr_port_get_hsr (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/net/hsr/ |
H A D | hsr_main.c | 47 port = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_netdev_notify() 75 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_netdev_notify() 84 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_netdev_notify() 98 master = hsr_port_get_hsr(port->hsr, HSR_PT_MASTER); in hsr_netdev_notify() 103 master = hsr_port_get_hsr(port->hsr, HSR_PT_MASTER); in hsr_netdev_notify() 124 struct hsr_port *hsr_port_get_hsr(struct hsr_priv *hsr, enum hsr_port_type pt) in hsr_port_get_hsr() function
|
H A D | hsr_slave.c | 143 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_portdev_setup() 178 port = hsr_port_get_hsr(hsr, type); in hsr_add_port() 199 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_add_port() 216 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_del_port()
|
H A D | hsr_netlink.c | 127 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_fill_info() 133 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_fill_info() 221 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_nl_ringerror() 258 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_nl_nodedown() 363 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_get_node_status() 376 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_get_node_status()
|
H A D | hsr_device.c | 97 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_check_carrier_and_operstate() 214 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_dev_xmit() 378 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_announce() 391 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_del_ports() 395 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_del_ports() 399 port = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_del_ports()
|
H A D | hsr_framereg.c | 477 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in get_late_port() 479 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in get_late_port() 484 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in get_late_port() 488 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in get_late_port() 630 port = hsr_port_get_hsr(hsr, node->addr_B_port); in hsr_get_node_data()
|
H A D | hsr_main.h | 224 struct hsr_port *hsr_port_get_hsr(struct hsr_priv *hsr, enum hsr_port_type pt);
|