Home
last modified time | relevance | path

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

/linux/net/hsr/
H A Dhsr_framereg.c146 if (port == HSR_PT_SLAVE_B) in prp_handle_san_frame()
507 if (node->time_in_stale[HSR_PT_SLAVE_B]) in get_late_port()
508 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in get_late_port()
510 if (time_after(node->time_in[HSR_PT_SLAVE_B], in get_late_port()
515 node->time_in[HSR_PT_SLAVE_B] + in get_late_port()
517 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in get_late_port()
546 time_b = node->time_in[HSR_PT_SLAVE_B]; in hsr_prune_nodes()
552 node->time_in_stale[HSR_PT_SLAVE_B] = true; in hsr_prune_nodes()
560 (!node->time_in_stale[HSR_PT_SLAVE_B] && in hsr_prune_nodes()
679 tdiff = jiffies - node->time_in[HSR_PT_SLAVE_B]; in hsr_get_node_data()
[all …]
H A Dhsr_device.c149 case HSR_PT_SLAVE_B: in hsr_dev_open()
180 case HSR_PT_SLAVE_B: in hsr_dev_close()
466 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_del_ports()
491 case HSR_PT_SLAVE_B: in hsr_set_rx_mode()
513 case HSR_PT_SLAVE_B: in hsr_change_rx_flags()
555 case HSR_PT_SLAVE_B: in hsr_ndo_vlan_rx_add_vid()
585 case HSR_PT_SLAVE_B: in hsr_ndo_vlan_rx_kill_vid()
758 res = hsr_add_port(hsr, slave[1], HSR_PT_SLAVE_B, extack); in hsr_dev_finalize()
H A Dhsr_forward.c436 port->type == HSR_PT_SLAVE_B) || in prp_drop_frame()
437 (frame->port_rcv->type == HSR_PT_SLAVE_B && in prp_drop_frame()
470 frame->port_rcv->type == HSR_PT_SLAVE_B) && in hsr_drop_frame()
484 if ((port->type == HSR_PT_SLAVE_A || port->type == HSR_PT_SLAVE_B) && in hsr_drop_frame()
557 port->type == HSR_PT_SLAVE_B) in hsr_forward_do()
573 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_main.c84 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_netdev_notify()