Home
last modified time | relevance | path

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

/linux-6.12.1/net/hsr/
Dhsr_framereg.c141 if (port == HSR_PT_SLAVE_A) { in prp_handle_san_frame()
505 if (node->time_in_stale[HSR_PT_SLAVE_A]) in get_late_port()
506 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in get_late_port()
511 node->time_in[HSR_PT_SLAVE_A] + in get_late_port()
513 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in get_late_port()
514 if (time_after(node->time_in[HSR_PT_SLAVE_A], in get_late_port()
545 time_a = node->time_in[HSR_PT_SLAVE_A]; in hsr_prune_nodes()
550 node->time_in_stale[HSR_PT_SLAVE_A] = true; in hsr_prune_nodes()
559 if (node->time_in_stale[HSR_PT_SLAVE_A] || in hsr_prune_nodes()
669 tdiff = jiffies - node->time_in[HSR_PT_SLAVE_A]; in hsr_get_node_data()
[all …]
Dhsr_forward.c224 if (port->type == HSR_PT_SLAVE_A) in prp_set_lan_id()
270 if (port->type == HSR_PT_SLAVE_A) in hsr_set_path_id()
423 return ((frame->port_rcv->type == HSR_PT_SLAVE_A && in prp_drop_frame()
426 port->type == HSR_PT_SLAVE_A)); in prp_drop_frame()
457 if ((frame->port_rcv->type == HSR_PT_SLAVE_A || in hsr_drop_frame()
472 if ((port->type == HSR_PT_SLAVE_A || port->type == HSR_PT_SLAVE_B) && in hsr_drop_frame()
544 if (port->type == HSR_PT_SLAVE_A || in hsr_forward_do()
560 if (port->type == HSR_PT_SLAVE_A || in hsr_forward_do()
Dhsr_device.c146 case HSR_PT_SLAVE_A: in hsr_dev_open()
179 case HSR_PT_SLAVE_A: in hsr_dev_close()
455 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_del_ports()
483 case HSR_PT_SLAVE_A: in hsr_set_rx_mode()
505 case HSR_PT_SLAVE_A: in hsr_change_rx_flags()
661 res = hsr_add_port(hsr, slave[0], HSR_PT_SLAVE_A, extack); in hsr_dev_finalize()
Dhsr_debugfs.c40 seq_printf(sfp, "%10lx, ", node->time_in[HSR_PT_SLAVE_A]); in hsr_node_table_show()
Dhsr_main.c77 if (port->type == HSR_PT_SLAVE_A) { in hsr_netdev_notify()
Dhsr_netlink.c152 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_fill_info()
388 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_get_node_status()
Dhsr_main.h126 HSR_PT_SLAVE_A, enumerator