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_without_dp(struct kunit *test, in alloc_dev_without_dp()
345 struct tb_switch *parent, in alloc_dev_without_dp()
348 struct tb_switch *sw; in alloc_dev_without_dp()
385 static struct tb_switch *alloc_dev_usb4(struct kunit *test, in alloc_dev_usb4()
386 struct tb_switch *parent, in alloc_dev_usb4()
389 struct tb_switch *sw; in alloc_dev_usb4()
409 struct tb_switch *host; in tb_test_path_basic()
426 struct tb_switch *host, *dev; in tb_test_path_not_connected_walk()
480 struct tb_switch *host, *dev; in tb_test_path_single_hop_walk()
538 struct tb_switch *host, *dev1, *dev2; in tb_test_path_daisy_chain_walk()
599 struct tb_switch *host, *dev1, *dev3; in tb_test_path_simple_tree_walk()
677 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5, *dev6, *dev7, *dev9; in tb_test_path_complex_tree_walk()
724 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5, *dev6; in tb_test_path_max_length_walk()
725 struct tb_switch *dev7, *dev8, *dev9, *dev10, *dev11, *dev12; in tb_test_path_max_length_walk()
827 struct tb_switch *host, *dev1, *dev2; in tb_test_path_not_connected()
879 struct tb_switch *host, *dev; in tb_test_path_not_bonded_lane0()
941 struct tb_switch *host, *dev; in tb_test_path_not_bonded_lane1()
1019 struct tb_switch *host, *dev1, *dev2, *dev3; in tb_test_path_not_bonded_lane1_chain()
1099 struct tb_switch *host, *dev1, *dev2, *dev3; in tb_test_path_not_bonded_lane1_chain_reverse()
1190 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4; in tb_test_path_mixed_chain()
1282 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4; in tb_test_path_mixed_chain_reverse()
1319 struct tb_switch *host, *dev1, *dev2; in tb_test_tunnel_pcie()
1374 struct tb_switch *host, *dev; in tb_test_tunnel_dp()
1412 struct tb_switch *host, *dev1, *dev4; in tb_test_tunnel_dp_chain()
1458 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5; in tb_test_tunnel_dp_tree()
1508 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5, *dev6; in tb_test_tunnel_dp_max_length()
1509 struct tb_switch *dev7, *dev8, *dev9, *dev10, *dev11, *dev12; in tb_test_tunnel_dp_max_length()
1588 struct tb_switch *host, *dev1, *dev2; in tb_test_tunnel_usb3()
1643 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5; in tb_test_tunnel_port_on_path()
1711 struct tb_switch *host; in tb_test_tunnel_dma()
1754 struct tb_switch *host; in tb_test_tunnel_dma_rx()
1791 struct tb_switch *host; in tb_test_tunnel_dma_tx()
1826 struct tb_switch *host, *dev1, *dev2; in tb_test_tunnel_dma_chain()
1894 struct tb_switch *host; in tb_test_tunnel_dma_match()
1943 struct tb_switch *host, *dev; in tb_test_credit_alloc_legacy_not_bonded()
1976 struct tb_switch *host, *dev; in tb_test_credit_alloc_legacy_bonded()
2009 struct tb_switch *host, *dev; in tb_test_credit_alloc_pcie()
2042 struct tb_switch *host, *dev; in tb_test_credit_alloc_without_dp()
2092 struct tb_switch *host, *dev; in tb_test_credit_alloc_dp()
2136 struct tb_switch *host, *dev; in tb_test_credit_alloc_usb3()
2169 struct tb_switch *host, *dev; in tb_test_credit_alloc_dma()
2206 struct tb_switch *host, *dev; in tb_test_credit_alloc_dma_multiple()
2301 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_PCIE_TUNNEL()
2331 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_DP_TUNNEL1()
2368 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_DP_TUNNEL2()
2405 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_USB3_TUNNEL()
2435 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_DMA_TUNNEL1()
2465 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_DMA_TUNNEL2()
2498 struct tb_switch *host, *dev; in tb_test_credit_alloc_all()