Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/hsr/
H A Dhsr_framereg.c134 if (port == HSR_PT_SLAVE_A) { in prp_handle_san_frame()
429 if (node->time_in_stale[HSR_PT_SLAVE_A]) in get_late_port()
430 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in get_late_port()
435 node->time_in[HSR_PT_SLAVE_A] + in get_late_port()
437 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in get_late_port()
438 if (time_after(node->time_in[HSR_PT_SLAVE_A], in get_late_port()
469 time_a = node->time_in[HSR_PT_SLAVE_A]; in hsr_prune_nodes()
474 node->time_in_stale[HSR_PT_SLAVE_A] = true; in hsr_prune_nodes()
483 if (node->time_in_stale[HSR_PT_SLAVE_A] || in hsr_prune_nodes()
555 tdiff = jiffies - node->time_in[HSR_PT_SLAVE_A]; in hsr_get_node_data()
[all …]
H A Dhsr_forward.c153 if (port->type == HSR_PT_SLAVE_A) in prp_set_lan_id()
198 if (port->type == HSR_PT_SLAVE_A) in hsr_set_path_id()
339 return ((frame->port_rcv->type == HSR_PT_SLAVE_A && in prp_drop_frame()
342 port->type == HSR_PT_SLAVE_A)); in prp_drop_frame()
H A Dhsr_device.c154 case HSR_PT_SLAVE_A: in hsr_dev_open()
419 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_del_ports()
574 res = hsr_add_port(hsr, slave[0], HSR_PT_SLAVE_A, extack); in hsr_dev_finalize()
H A Dhsr_debugfs.c48 seq_printf(sfp, "%10lx, ", node->time_in[HSR_PT_SLAVE_A]); in hsr_node_table_show()
H A Dhsr_main.c77 if (port->type == HSR_PT_SLAVE_A) { in hsr_netdev_notify()
H A Dhsr_netlink.c127 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_fill_info()
363 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_get_node_status()
H A Dhsr_main.h133 HSR_PT_SLAVE_A, enumerator