Home
last modified time | relevance | path

Searched refs:HSR_PT_MASTER (Results 1 – 6 of 6) sorted by relevance

/linux/net/hsr/
H A Dhsr_main.c26 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 Dhsr_device.c53 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 Dhsr_slave.c153 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 Dhsr_forward.c413 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 Dhsr_main.h129 HSR_PT_MASTER, enumerator
H A Dhsr_framereg.c269 if (rx_port != HSR_PT_MASTER) in hsr_get_node()