Home
last modified time | relevance | path

Searched refs:HSR_PT_SLAVE_B (Results 1 – 10 of 10) sorted by relevance

/linux/net/hsr/
H A Dhsr_framereg.c180 if (port == HSR_PT_SLAVE_B) in prp_handle_san_frame()
669 if (node->time_in_stale[HSR_PT_SLAVE_B]) in get_late_port()
670 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in get_late_port()
672 if (time_after(node->time_in[HSR_PT_SLAVE_B], in get_late_port()
677 node->time_in[HSR_PT_SLAVE_B] + in get_late_port()
679 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in get_late_port()
699 * nor time_in[HSR_PT_SLAVE_B], will ever be updated for in hsr_prune_nodes()
708 time_b = node->time_in[HSR_PT_SLAVE_B]; in hsr_prune_nodes()
714 node->time_in_stale[HSR_PT_SLAVE_B] = true; in hsr_prune_nodes()
722 (!node->time_in_stale[HSR_PT_SLAVE_B] in hsr_prune_nodes()
[all...]
H A Dprp_dup_discard_test.c140 data->port_rcv.type = HSR_PT_SLAVE_B; in prp_dup_discard_out_of_sequence()
153 data->port_rcv.type = HSR_PT_SLAVE_B; in prp_dup_discard_out_of_sequence()
174 data->port_rcv.type = HSR_PT_SLAVE_B; in prp_dup_discard_lan_b_late()
179 data->port_rcv.type = HSR_PT_SLAVE_B; in prp_dup_discard_lan_b_late()
H A Dhsr_device.c149 case HSR_PT_SLAVE_B: in hsr_dev_open()
180 case HSR_PT_SLAVE_B: in hsr_dev_close()
473 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_del_ports()
498 case HSR_PT_SLAVE_B: in hsr_set_rx_mode()
520 case HSR_PT_SLAVE_B: in hsr_change_rx_flags()
557 case HSR_PT_SLAVE_B: in hsr_ndo_vlan_rx_add_vid()
594 case HSR_PT_SLAVE_B: in hsr_ndo_vlan_rx_kill_vid()
794 res = hsr_add_port(hsr, slave[1], HSR_PT_SLAVE_B, extack); in hsr_dev_finalize()
H A Dhsr_main.c83 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_netdev_notify()
93 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_netdev_notify()
H A Dhsr_forward.c446 port->type == HSR_PT_SLAVE_B) || in prp_drop_frame()
447 (frame->port_rcv->type == HSR_PT_SLAVE_B && in prp_drop_frame()
480 frame->port_rcv->type == HSR_PT_SLAVE_B) && in hsr_drop_frame()
494 if ((port->type == HSR_PT_SLAVE_A || port->type == HSR_PT_SLAVE_B) && in hsr_drop_frame()
567 port->type == HSR_PT_SLAVE_B) in hsr_forward_do()
583 port->type == HSR_PT_SLAVE_B) in hsr_forward_do()
H A Dhsr_debugfs.c41 seq_printf(sfp, "%10lx, ", node->time_in[HSR_PT_SLAVE_B]); in hsr_node_table_show()
H A Dhsr_netlink.c163 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_fill_info()
414 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_get_node_status()
/linux/include/linux/
H A Dif_hsr.h19 HSR_PT_SLAVE_B, enumerator
/linux/drivers/net/dsa/xrs700x/
H A Dxrs700x.c597 if (type != HSR_PT_SLAVE_A && type != HSR_PT_SLAVE_B) { in xrs700x_hsr_join()
/linux/net/dsa/
H A Ddsa.c1787 if (type != HSR_PT_SLAVE_A && type != HSR_PT_SLAVE_B) { in dsa_port_simple_hsr_validate()