Lines Matching refs:out_port

739 	u8 out_port;  member
758 .out_port = 3, in tb_test_path_not_bonded_lane0()
765 .out_port = 9, in tb_test_path_not_bonded_lane0()
784 const struct tb_port *in_port, *out_port; in tb_test_path_not_bonded_lane0() local
787 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane0()
793 KUNIT_EXPECT_EQ(test, tb_route(out_port->sw), test_data[i].route); in tb_test_path_not_bonded_lane0()
794 KUNIT_EXPECT_EQ(test, out_port->port, test_data[i].out_port); in tb_test_path_not_bonded_lane0()
795 KUNIT_EXPECT_EQ(test, (enum tb_port_type)out_port->config.type, in tb_test_path_not_bonded_lane0()
820 .out_port = 2, in tb_test_path_not_bonded_lane1()
827 .out_port = 13, in tb_test_path_not_bonded_lane1()
846 const struct tb_port *in_port, *out_port; in tb_test_path_not_bonded_lane1() local
849 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane1()
855 KUNIT_EXPECT_EQ(test, tb_route(out_port->sw), test_data[i].route); in tb_test_path_not_bonded_lane1()
856 KUNIT_EXPECT_EQ(test, out_port->port, test_data[i].out_port); in tb_test_path_not_bonded_lane1()
857 KUNIT_EXPECT_EQ(test, (enum tb_port_type)out_port->config.type, in tb_test_path_not_bonded_lane1()
884 .out_port = 2, in tb_test_path_not_bonded_lane1_chain()
891 .out_port = 8, in tb_test_path_not_bonded_lane1_chain()
898 .out_port = 6, in tb_test_path_not_bonded_lane1_chain()
905 .out_port = 13, in tb_test_path_not_bonded_lane1_chain()
926 const struct tb_port *in_port, *out_port; in tb_test_path_not_bonded_lane1_chain() local
929 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane1_chain()
935 KUNIT_EXPECT_EQ(test, tb_route(out_port->sw), test_data[i].route); in tb_test_path_not_bonded_lane1_chain()
936 KUNIT_EXPECT_EQ(test, out_port->port, test_data[i].out_port); in tb_test_path_not_bonded_lane1_chain()
937 KUNIT_EXPECT_EQ(test, (enum tb_port_type)out_port->config.type, in tb_test_path_not_bonded_lane1_chain()
964 .out_port = 2, in tb_test_path_not_bonded_lane1_chain_reverse()
971 .out_port = 2, in tb_test_path_not_bonded_lane1_chain_reverse()
978 .out_port = 2, in tb_test_path_not_bonded_lane1_chain_reverse()
985 .out_port = 5, in tb_test_path_not_bonded_lane1_chain_reverse()
1006 const struct tb_port *in_port, *out_port; in tb_test_path_not_bonded_lane1_chain_reverse() local
1009 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane1_chain_reverse()
1015 KUNIT_EXPECT_EQ(test, tb_route(out_port->sw), test_data[i].route); in tb_test_path_not_bonded_lane1_chain_reverse()
1016 KUNIT_EXPECT_EQ(test, out_port->port, test_data[i].out_port); in tb_test_path_not_bonded_lane1_chain_reverse()
1017 KUNIT_EXPECT_EQ(test, (enum tb_port_type)out_port->config.type, in tb_test_path_not_bonded_lane1_chain_reverse()
1048 .out_port = 1, in tb_test_path_mixed_chain()
1055 .out_port = 8, in tb_test_path_mixed_chain()
1062 .out_port = 6, in tb_test_path_mixed_chain()
1069 .out_port = 3, in tb_test_path_mixed_chain()
1076 .out_port = 13, in tb_test_path_mixed_chain()
1098 const struct tb_port *in_port, *out_port; in tb_test_path_mixed_chain() local
1101 out_port = path->hops[i].out_port; in tb_test_path_mixed_chain()
1107 KUNIT_EXPECT_EQ(test, tb_route(out_port->sw), test_data[i].route); in tb_test_path_mixed_chain()
1108 KUNIT_EXPECT_EQ(test, out_port->port, test_data[i].out_port); in tb_test_path_mixed_chain()
1109 KUNIT_EXPECT_EQ(test, (enum tb_port_type)out_port->config.type, in tb_test_path_mixed_chain()
1140 .out_port = 1, in tb_test_path_mixed_chain_reverse()
1147 .out_port = 2, in tb_test_path_mixed_chain_reverse()
1154 .out_port = 2, in tb_test_path_mixed_chain_reverse()
1161 .out_port = 1, in tb_test_path_mixed_chain_reverse()
1168 .out_port = 5, in tb_test_path_mixed_chain_reverse()
1190 const struct tb_port *in_port, *out_port; in tb_test_path_mixed_chain_reverse() local
1193 out_port = path->hops[i].out_port; in tb_test_path_mixed_chain_reverse()
1199 KUNIT_EXPECT_EQ(test, tb_route(out_port->sw), test_data[i].route); in tb_test_path_mixed_chain_reverse()
1200 KUNIT_EXPECT_EQ(test, out_port->port, test_data[i].out_port); in tb_test_path_mixed_chain_reverse()
1201 KUNIT_EXPECT_EQ(test, (enum tb_port_type)out_port->config.type, in tb_test_path_mixed_chain_reverse()
1238 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie()
1241 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[1].out_port, down); in tb_test_tunnel_pcie()
1253 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie()
1256 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[1]->hops[1].out_port, down); in tb_test_tunnel_pcie()
1290 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[0]->hops[1].out_port, out); in tb_test_tunnel_dp()
1293 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[1]->hops[1].out_port, out); in tb_test_tunnel_dp()
1296 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[2]->hops[1].out_port, in); in tb_test_tunnel_dp()
1336 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[0]->hops[2].out_port, out); in tb_test_tunnel_dp_chain()
1339 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[1]->hops[2].out_port, out); in tb_test_tunnel_dp_chain()
1342 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[2]->hops[2].out_port, in); in tb_test_tunnel_dp_chain()
1386 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[0]->hops[3].out_port, out); in tb_test_tunnel_dp_tree()
1389 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[1]->hops[3].out_port, out); in tb_test_tunnel_dp_tree()
1392 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[2]->hops[3].out_port, in); in tb_test_tunnel_dp_tree()
1455 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[0]->hops[6].out_port, in tb_test_tunnel_dp_max_length()
1458 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[0]->hops[12].out_port, out); in tb_test_tunnel_dp_max_length()
1463 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[1]->hops[6].out_port, in tb_test_tunnel_dp_max_length()
1465 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[1]->hops[12].out_port, out); in tb_test_tunnel_dp_max_length()
1470 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[2]->hops[6].out_port, in tb_test_tunnel_dp_max_length()
1472 KUNIT_EXPECT_PTR_EQ(test, tunnel->paths[2]->hops[12].out_port, in); in tb_test_tunnel_dp_max_length()
1507 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_usb3()
1510 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[1].out_port, down); in tb_test_tunnel_usb3()
1522 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[0]->hops[1].out_port, up); in tb_test_tunnel_usb3()
1525 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[1]->hops[1].out_port, down); in tb_test_tunnel_usb3()