Lines Matching refs:tb_switch
36 static struct tb_switch *alloc_switch(struct kunit *test, u64 route, in alloc_switch()
39 struct tb_switch *sw; in alloc_switch()
72 static struct tb_switch *alloc_host(struct kunit *test) in alloc_host()
74 struct tb_switch *sw; in alloc_host()
154 static struct tb_switch *alloc_host_usb4(struct kunit *test) in alloc_host_usb4()
156 struct tb_switch *sw; in alloc_host_usb4()
173 static struct tb_switch *alloc_dev_default(struct kunit *test, in alloc_dev_default()
174 struct tb_switch *parent, in alloc_dev_default()
178 struct tb_switch *sw; in alloc_dev_default()
323 static struct tb_switch *alloc_dev_with_dpin(struct kunit *test, in alloc_dev_with_dpin()
324 struct tb_switch *parent, in alloc_dev_with_dpin()
327 struct tb_switch *sw; in alloc_dev_with_dpin()
344 static struct tb_switch *alloc_dev_usb4(struct kunit *test, in alloc_dev_usb4()
345 struct tb_switch *parent, in alloc_dev_usb4()
348 struct tb_switch *sw; in alloc_dev_usb4()
368 struct tb_switch *host; in tb_test_path_basic()
385 struct tb_switch *host, *dev; in tb_test_path_not_connected_walk()
439 struct tb_switch *host, *dev; in tb_test_path_single_hop_walk()
497 struct tb_switch *host, *dev1, *dev2; in tb_test_path_daisy_chain_walk()
558 struct tb_switch *host, *dev1, *dev3; in tb_test_path_simple_tree_walk()
636 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5, *dev6, *dev7, *dev9; in tb_test_path_complex_tree_walk()
683 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5, *dev6; in tb_test_path_max_length_walk()
684 struct tb_switch *dev7, *dev8, *dev9, *dev10, *dev11, *dev12; in tb_test_path_max_length_walk()
786 struct tb_switch *host, *dev1, *dev2; in tb_test_path_not_connected()
838 struct tb_switch *host, *dev; in tb_test_path_not_bonded_lane0()
900 struct tb_switch *host, *dev; in tb_test_path_not_bonded_lane1()
978 struct tb_switch *host, *dev1, *dev2, *dev3; in tb_test_path_not_bonded_lane1_chain()
1058 struct tb_switch *host, *dev1, *dev2, *dev3; in tb_test_path_not_bonded_lane1_chain_reverse()
1149 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4; in tb_test_path_mixed_chain()
1241 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4; in tb_test_path_mixed_chain_reverse()
1278 struct tb_switch *host, *dev1, *dev2; in tb_test_tunnel_pcie()
1333 struct tb_switch *host, *dev; in tb_test_tunnel_dp()
1371 struct tb_switch *host, *dev1, *dev4; in tb_test_tunnel_dp_chain()
1417 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5; in tb_test_tunnel_dp_tree()
1467 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5, *dev6; in tb_test_tunnel_dp_max_length()
1468 struct tb_switch *dev7, *dev8, *dev9, *dev10, *dev11, *dev12; in tb_test_tunnel_dp_max_length()
1547 struct tb_switch *host, *dev1, *dev2; in tb_test_tunnel_usb3()
1602 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5; in tb_test_tunnel_port_on_path()
1670 struct tb_switch *host; in tb_test_tunnel_dma()
1713 struct tb_switch *host; in tb_test_tunnel_dma_rx()
1750 struct tb_switch *host; in tb_test_tunnel_dma_tx()
1785 struct tb_switch *host, *dev1, *dev2; in tb_test_tunnel_dma_chain()
1853 struct tb_switch *host; in tb_test_tunnel_dma_match()
1902 struct tb_switch *host, *dev; in tb_test_credit_alloc_legacy_not_bonded()
1935 struct tb_switch *host, *dev; in tb_test_credit_alloc_legacy_bonded()
1968 struct tb_switch *host, *dev; in tb_test_credit_alloc_pcie()
2001 struct tb_switch *host, *dev; in tb_test_credit_alloc_dp()
2045 struct tb_switch *host, *dev; in tb_test_credit_alloc_usb3()
2078 struct tb_switch *host, *dev; in tb_test_credit_alloc_dma()
2115 struct tb_switch *host, *dev; in tb_test_credit_alloc_dma_multiple()
2210 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_PCIE_TUNNEL()
2240 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_DP_TUNNEL1()
2277 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_DP_TUNNEL2()
2314 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_USB3_TUNNEL()
2344 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_DMA_TUNNEL1()
2374 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_DMA_TUNNEL2()
2407 struct tb_switch *host, *dev; in tb_test_credit_alloc_all()