Home
last modified time | relevance | path

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

/openbmc/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_slave.c143 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()
H A Dhsr_device.c63 if (port->type != HSR_PT_MASTER && is_slave_up(port->dev)) { in hsr_check_carrier()
97 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_check_carrier_and_operstate()
113 if (port->type != HSR_PT_MASTER) in hsr_get_max_mtu()
148 if (port->type == HSR_PT_MASTER) in hsr_dev_open()
214 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_dev_xmit()
378 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_announce()
399 port = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_del_ports()
527 res = hsr_add_port(hsr, hsr_dev, HSR_PT_MASTER, extack); in hsr_dev_finalize()
H A Dhsr_forward.c372 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()
H A 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()
H A Dhsr_main.h127 HSR_PT_MASTER, enumerator
H A Dhsr_framereg.c244 if (rx_port != HSR_PT_MASTER) in hsr_get_node()