Searched refs:HSR_PT_MASTER (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/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 | 143 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_portdev_setup() 172 if (type != HSR_PT_MASTER) { in hsr_add_port() 190 if (type != HSR_PT_MASTER) { 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()
|
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() 381 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_announce() 402 port = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_del_ports() 530 res = hsr_add_port(hsr, hsr_dev, HSR_PT_MASTER, extack); in hsr_dev_finalize()
|
D | hsr_forward.c | 372 if (frame->port_rcv->type == HSR_PT_MASTER) { in hsr_xmit() 424 if (port->type == HSR_PT_MASTER && !frame->is_local_dest) in hsr_forward_do() 428 if (port->type != HSR_PT_MASTER && frame->is_local_exclusive) in hsr_forward_do() 445 if (frame->is_supervision && port->type == HSR_PT_MASTER) { in hsr_forward_do() 457 if (port->type != HSR_PT_MASTER) in hsr_forward_do() 468 if (port->type == HSR_PT_MASTER) { in hsr_forward_do() 506 if (port->type != HSR_PT_MASTER) { in handle_std_frame() 624 if (port->type == HSR_PT_MASTER) { in hsr_forward_skb()
|
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 | 127 HSR_PT_MASTER, enumerator
|
D | hsr_framereg.c | 240 if (rx_port != HSR_PT_MASTER) in hsr_get_node()
|