Lines Matching refs:dst_port

425 	struct tb_port *src_port, *dst_port, *p;  in tb_test_path_basic()  local
431 dst_port = src_port; in tb_test_path_basic()
433 p = tb_next_port_on_path(src_port, dst_port, NULL); in tb_test_path_basic()
434 KUNIT_EXPECT_PTR_EQ(test, p, dst_port); in tb_test_path_basic()
436 p = tb_next_port_on_path(src_port, dst_port, p); in tb_test_path_basic()
442 struct tb_port *src_port, *dst_port, *p; in tb_test_path_not_connected_walk() local
450 dst_port = &dev->ports[16]; in tb_test_path_not_connected_walk()
452 p = tb_next_port_on_path(src_port, dst_port, NULL); in tb_test_path_not_connected_walk()
455 p = tb_next_port_on_path(src_port, dst_port, p); in tb_test_path_not_connected_walk()
458 p = tb_next_port_on_path(src_port, dst_port, p); in tb_test_path_not_connected_walk()
463 p = tb_next_port_on_path(dst_port, src_port, NULL); in tb_test_path_not_connected_walk()
464 KUNIT_EXPECT_PTR_EQ(test, p, dst_port); in tb_test_path_not_connected_walk()
466 p = tb_next_port_on_path(dst_port, src_port, p); in tb_test_path_not_connected_walk()
469 p = tb_next_port_on_path(dst_port, src_port, p); in tb_test_path_not_connected_walk()
496 struct tb_port *src_port, *dst_port, *p; in tb_test_path_single_hop_walk() local
504 dst_port = &dev->ports[9]; in tb_test_path_single_hop_walk()
509 tb_for_each_port_on_path(src_port, dst_port, p) { in tb_test_path_single_hop_walk()
521 tb_for_each_port_on_path(dst_port, src_port, p) { in tb_test_path_single_hop_walk()
554 struct tb_port *src_port, *dst_port, *p; in tb_test_path_daisy_chain_walk() local
563 dst_port = &dev2->ports[13]; in tb_test_path_daisy_chain_walk()
568 tb_for_each_port_on_path(src_port, dst_port, p) { in tb_test_path_daisy_chain_walk()
580 tb_for_each_port_on_path(dst_port, src_port, p) { in tb_test_path_daisy_chain_walk()
615 struct tb_port *src_port, *dst_port, *p; in tb_test_path_simple_tree_walk() local
626 dst_port = &dev3->ports[13]; in tb_test_path_simple_tree_walk()
631 tb_for_each_port_on_path(src_port, dst_port, p) { in tb_test_path_simple_tree_walk()
643 tb_for_each_port_on_path(dst_port, src_port, p) { in tb_test_path_simple_tree_walk()
695 struct tb_port *src_port, *dst_port, *p; in tb_test_path_complex_tree_walk() local
710 dst_port = &dev9->ports[14]; in tb_test_path_complex_tree_walk()
715 tb_for_each_port_on_path(src_port, dst_port, p) { in tb_test_path_complex_tree_walk()
727 tb_for_each_port_on_path(dst_port, src_port, p) { in tb_test_path_complex_tree_walk()
743 struct tb_port *src_port, *dst_port, *p; in tb_test_path_max_length_walk() local
813 dst_port = &dev12->ports[13]; in tb_test_path_max_length_walk()
818 tb_for_each_port_on_path(src_port, dst_port, p) { in tb_test_path_max_length_walk()
830 tb_for_each_port_on_path(dst_port, src_port, p) { in tb_test_path_max_length_walk()
1361 KUNIT_EXPECT_PTR_EQ(test, tunnel1->dst_port, up); in tb_test_tunnel_pcie()
1376 KUNIT_EXPECT_PTR_EQ(test, tunnel2->dst_port, up); in tb_test_tunnel_pcie()
1413 KUNIT_EXPECT_PTR_EQ(test, tunnel->dst_port, out); in tb_test_tunnel_dp()
1459 KUNIT_EXPECT_PTR_EQ(test, tunnel->dst_port, out); in tb_test_tunnel_dp_chain()
1509 KUNIT_EXPECT_PTR_EQ(test, tunnel->dst_port, out); in tb_test_tunnel_dp_tree()
1574 KUNIT_EXPECT_PTR_EQ(test, tunnel->dst_port, out); in tb_test_tunnel_dp_max_length()
1644 KUNIT_EXPECT_PTR_EQ(test, tunnel1->dst_port, out1); in tb_test_tunnel_3dp()
1652 KUNIT_EXPECT_PTR_EQ(test, tunnel2->dst_port, out2); in tb_test_tunnel_3dp()
1660 KUNIT_EXPECT_PTR_EQ(test, tunnel3->dst_port, out3); in tb_test_tunnel_3dp()
1695 KUNIT_EXPECT_PTR_EQ(test, tunnel1->dst_port, up); in tb_test_tunnel_usb3()
1710 KUNIT_EXPECT_PTR_EQ(test, tunnel2->dst_port, up); in tb_test_tunnel_usb3()
1814 KUNIT_EXPECT_PTR_EQ(test, tunnel->dst_port, port); in tb_test_tunnel_dma()
1857 KUNIT_EXPECT_PTR_EQ(test, tunnel->dst_port, port); in tb_test_tunnel_dma_rx()
1894 KUNIT_EXPECT_PTR_EQ(test, tunnel->dst_port, port); in tb_test_tunnel_dma_tx()
1940 KUNIT_EXPECT_PTR_EQ(test, tunnel->dst_port, port); in tb_test_tunnel_dma_chain()