Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/hsr/
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()
Dhsr_slave.c136 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()
Dhsr_forward.c325 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()
Dhsr_device.c63 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()
Dhsr_netlink.c221 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()
Dhsr_main.h136 HSR_PT_MASTER, enumerator
Dhsr_framereg.c248 if (rx_port != HSR_PT_MASTER) in hsr_get_node()