Home
last modified time | relevance | path

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

/linux-6.6.21/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.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()
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()
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()
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()
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.h127 HSR_PT_MASTER, enumerator
Dhsr_framereg.c240 if (rx_port != HSR_PT_MASTER) in hsr_get_node()