Home
last modified time | relevance | path

Searched refs:HSR_PT_SLAVE_B (Results 1 – 7 of 7) 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()
459 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_del_ports()
484 case HSR_PT_SLAVE_B: in hsr_set_rx_mode()
506 case HSR_PT_SLAVE_B: in hsr_change_rx_flags()
665 res = hsr_add_port(hsr, slave[1], HSR_PT_SLAVE_B, extack); in hsr_dev_finalize()
H A Dhsr_forward.c424 port->type == HSR_PT_SLAVE_B) || in prp_drop_frame()
425 (frame->port_rcv->type == HSR_PT_SLAVE_B && in prp_drop_frame()
458 frame->port_rcv->type == HSR_PT_SLAVE_B) && in hsr_drop_frame()
472 if ((port->type == HSR_PT_SLAVE_A || port->type == HSR_PT_SLAVE_B) && in hsr_drop_frame()
545 port->type == HSR_PT_SLAVE_B) in hsr_forward_do()
561 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()
H A Dhsr_netlink.c158 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_fill_info()
401 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_get_node_status()
H A Dhsr_main.h127 HSR_PT_SLAVE_B, enumerator