Home
last modified time | relevance | path

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

/linux-6.15/net/hsr/
H A Dprp_dup_discard_test.c22 data->port_rcv.type = HSR_PT_SLAVE_A; in build_prp_test_data()
23 data->node.seq_start[HSR_PT_SLAVE_A] = 1; in build_prp_test_data()
24 data->node.seq_expected[HSR_PT_SLAVE_A] = 1; in build_prp_test_data()
39 KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_A], in check_prp_counters()
88 data->node.seq_start[HSR_PT_SLAVE_A] = 1234; in prp_dup_discard_node_timeout()
89 data->node.seq_expected[HSR_PT_SLAVE_A] = 1235; in prp_dup_discard_node_timeout()
110 data->node.seq_start[HSR_PT_SLAVE_A] = 10; in prp_dup_discard_out_of_sequence()
111 data->node.seq_expected[HSR_PT_SLAVE_A] = 10; in prp_dup_discard_out_of_sequence()
137 data->port_rcv.type = HSR_PT_SLAVE_A; in prp_dup_discard_out_of_sequence()
161 data->node.seq_start[HSR_PT_SLAVE_A] = 9; in prp_dup_discard_lan_b_late()
[all …]
H A Dhsr_framereg.c142 if (port == HSR_PT_SLAVE_A) { in prp_handle_san_frame()
553 HSR_PT_SLAVE_A; in prp_register_frame_out()
598 if (node->time_in_stale[HSR_PT_SLAVE_A]) in get_late_port()
599 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in get_late_port()
604 node->time_in[HSR_PT_SLAVE_A] + in get_late_port()
607 if (time_after(node->time_in[HSR_PT_SLAVE_A], in get_late_port()
638 time_a = node->time_in[HSR_PT_SLAVE_A]; in hsr_prune_nodes()
643 node->time_in_stale[HSR_PT_SLAVE_A] = true; in hsr_prune_nodes()
652 if (node->time_in_stale[HSR_PT_SLAVE_A] || in hsr_prune_nodes()
763 if (node->time_in_stale[HSR_PT_SLAVE_A]) in hsr_get_node_data()
[all …]
H A Dhsr_device.c146 case HSR_PT_SLAVE_A: in hsr_dev_open()
179 case HSR_PT_SLAVE_A: in hsr_dev_close()
462 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_del_ports()
490 case HSR_PT_SLAVE_A: in hsr_set_rx_mode()
512 case HSR_PT_SLAVE_A: in hsr_change_rx_flags()
543 case HSR_PT_SLAVE_A: in hsr_ndo_vlan_rx_add_vid()
584 case HSR_PT_SLAVE_A: in hsr_ndo_vlan_rx_kill_vid()
756 res = hsr_add_port(hsr, slave[0], HSR_PT_SLAVE_A, extack); in hsr_dev_finalize()
H A 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()
435 return ((frame->port_rcv->type == HSR_PT_SLAVE_A && in prp_drop_frame()
438 port->type == HSR_PT_SLAVE_A)); in prp_drop_frame()
469 if ((frame->port_rcv->type == HSR_PT_SLAVE_A || in hsr_drop_frame()
484 if ((port->type == HSR_PT_SLAVE_A || port->type == HSR_PT_SLAVE_B) && in hsr_drop_frame()
556 if (port->type == HSR_PT_SLAVE_A || in hsr_forward_do()
572 if (port->type == HSR_PT_SLAVE_A || in hsr_forward_do()
H A Dhsr_debugfs.c40 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.c151 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_fill_info()
387 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_get_node_status()
/linux-6.15/include/linux/
H A Dif_hsr.h18 HSR_PT_SLAVE_A, enumerator
/linux-6.15/drivers/net/ethernet/ti/icssg/
H A Dicssg_prueth.c658 for (i = HSR_PT_SLAVE_A; i < HSR_PT_INTERLINK; i++) { in icssg_prueth_hsr_add_mcast()
683 for (i = HSR_PT_SLAVE_A; i < HSR_PT_INTERLINK; i++) { in icssg_prueth_hsr_del_mcast()