Searched refs:HSR_PT_MASTER (Results 1 – 6 of 6) sorted by relevance
/linux/net/hsr/ |
H A 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()
|
H A D | hsr_device.c | 53 if (port->type != HSR_PT_MASTER && is_slave_up(port->dev)) { in hsr_check_carrier() 93 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_check_carrier_and_operstate() 109 if (port->type != HSR_PT_MASTER) in hsr_get_max_mtu() 143 if (port->type == HSR_PT_MASTER) in hsr_dev_open() 176 if (port->type == HSR_PT_MASTER) in hsr_dev_close() 229 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_dev_xmit() 414 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_announce() 474 port = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_del_ports() 487 if (port->type == HSR_PT_MASTER) in hsr_set_rx_mode() 509 if (port->type == HSR_PT_MASTER) in hsr_change_rx_flags() [all …]
|
H A D | hsr_slave.c | 153 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_portdev_setup() 182 if (type != HSR_PT_MASTER) { in hsr_add_port() 200 if (type != HSR_PT_MASTER) { in hsr_add_port() 209 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_add_port() 226 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_del_port()
|
H A D | hsr_forward.c | 413 if (frame->port_rcv->type == HSR_PT_MASTER) { in hsr_xmit() 522 if (port->type == HSR_PT_MASTER && !frame->is_local_dest) in hsr_forward_do() 526 if (port->type != HSR_PT_MASTER && frame->is_local_exclusive) in hsr_forward_do() 543 if (frame->is_supervision && port->type == HSR_PT_MASTER && in hsr_forward_do() 568 if (port->type == HSR_PT_MASTER) { in hsr_forward_do() 608 if (port->type != HSR_PT_MASTER) in handle_std_frame() 611 if (port->type == HSR_PT_MASTER || in handle_std_frame() 735 if (port->type == HSR_PT_MASTER || port->type == HSR_PT_INTERLINK) { in hsr_forward_skb()
|
H A D | hsr_main.h | 129 HSR_PT_MASTER, enumerator
|
H A D | hsr_framereg.c | 269 if (rx_port != HSR_PT_MASTER) in hsr_get_node()
|