Searched refs:tunnel1 (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.15/drivers/thunderbolt/ |
D | test.c | 1279 struct tb_tunnel *tunnel1, *tunnel2; in tb_test_tunnel_pcie() local 1299 tunnel1 = tb_tunnel_alloc_pci(NULL, up, down); in tb_test_tunnel_pcie() 1300 KUNIT_ASSERT_TRUE(test, tunnel1 != NULL); in tb_test_tunnel_pcie() 1301 KUNIT_EXPECT_EQ(test, tunnel1->type, TB_TUNNEL_PCI); in tb_test_tunnel_pcie() 1302 KUNIT_EXPECT_PTR_EQ(test, tunnel1->src_port, down); in tb_test_tunnel_pcie() 1303 KUNIT_EXPECT_PTR_EQ(test, tunnel1->dst_port, up); in tb_test_tunnel_pcie() 1304 KUNIT_ASSERT_EQ(test, tunnel1->npaths, 2); in tb_test_tunnel_pcie() 1305 KUNIT_ASSERT_EQ(test, tunnel1->paths[0]->path_length, 2); in tb_test_tunnel_pcie() 1306 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie() 1307 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie() [all …]
|