Searched refs:HSR_PT_MASTER (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/net/hsr/ |
D | hsr_main.c | 26 if (port->type != HSR_PT_MASTER) in hsr_slave_empty() 47 port = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_netdev_notify() 67 if (port->type == HSR_PT_MASTER) { in hsr_netdev_notify() 75 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_netdev_notify() 95 if (port->type == HSR_PT_MASTER) 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()
|
D | hsr_slave.c | 136 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_portdev_setup() 163 if (type != HSR_PT_MASTER) { in hsr_add_port() 181 if (type != HSR_PT_MASTER) { in hsr_add_port() 190 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_add_port() 207 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_del_port()
|
D | hsr_forward.c | 325 if (frame->port_rcv->type == HSR_PT_MASTER) { in hsr_xmit() 368 if (port->type == HSR_PT_MASTER && !frame->is_local_dest) in hsr_forward_do() 372 if (port->type != HSR_PT_MASTER && frame->is_local_exclusive) in hsr_forward_do() 383 if (frame->is_supervision && port->type == HSR_PT_MASTER) { in hsr_forward_do() 395 if (port->type != HSR_PT_MASTER) in hsr_forward_do() 406 if (port->type == HSR_PT_MASTER) in hsr_forward_do() 443 if (port->type != HSR_PT_MASTER) { in handle_std_frame() 555 if (port->type == HSR_PT_MASTER) { in hsr_forward_skb()
|
D | hsr_device.c | 63 if (port->type != HSR_PT_MASTER && is_slave_up(port->dev)) { in hsr_check_carrier() 99 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_check_carrier_and_operstate() 116 if (port->type != HSR_PT_MASTER) in hsr_get_max_mtu() 151 if (port->type == HSR_PT_MASTER) in hsr_dev_open() 217 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_dev_xmit() 406 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_announce() 427 port = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_del_ports() 564 res = hsr_add_port(hsr, hsr_dev, HSR_PT_MASTER, extack); in hsr_dev_finalize()
|
D | hsr_netlink.c | 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()
|
D | hsr_main.h | 136 HSR_PT_MASTER, enumerator
|
D | hsr_framereg.c | 248 if (rx_port != HSR_PT_MASTER) in hsr_get_node()
|