Lines Matching refs:dev1
555 struct tb_switch *host, *dev1, *dev2; in tb_test_path_daisy_chain_walk() local
559 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_daisy_chain_walk()
560 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_daisy_chain_walk()
616 struct tb_switch *host, *dev1, *dev3; in tb_test_path_simple_tree_walk() local
620 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_simple_tree_walk()
621 alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_simple_tree_walk()
622 dev3 = alloc_dev_default(test, dev1, 0x501, true); in tb_test_path_simple_tree_walk()
623 alloc_dev_default(test, dev1, 0x701, true); in tb_test_path_simple_tree_walk()
694 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5, *dev6, *dev7, *dev9; in tb_test_path_complex_tree_walk() local
699 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_complex_tree_walk()
700 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_complex_tree_walk()
702 alloc_dev_default(test, dev1, 0x501, true); in tb_test_path_complex_tree_walk()
703 dev5 = alloc_dev_default(test, dev1, 0x701, true); in tb_test_path_complex_tree_walk()
741 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5, *dev6; in tb_test_path_max_length_walk() local
799 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_max_length_walk()
800 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_max_length_walk()
844 struct tb_switch *host, *dev1, *dev2; in tb_test_path_not_connected() local
849 dev1 = alloc_dev_default(test, host, 0x3, false); in tb_test_path_not_connected()
853 down = &dev1->ports[10]; in tb_test_path_not_connected()
1036 struct tb_switch *host, *dev1, *dev2, *dev3; in tb_test_path_not_bonded_lane1_chain() local
1042 dev1 = alloc_dev_default(test, host, 0x1, false); in tb_test_path_not_bonded_lane1_chain()
1043 dev2 = alloc_dev_default(test, dev1, 0x701, false); in tb_test_path_not_bonded_lane1_chain()
1116 struct tb_switch *host, *dev1, *dev2, *dev3; in tb_test_path_not_bonded_lane1_chain_reverse() local
1122 dev1 = alloc_dev_default(test, host, 0x1, false); in tb_test_path_not_bonded_lane1_chain_reverse()
1123 dev2 = alloc_dev_default(test, dev1, 0x701, false); in tb_test_path_not_bonded_lane1_chain_reverse()
1207 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4; in tb_test_path_mixed_chain() local
1213 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_mixed_chain()
1214 dev2 = alloc_dev_default(test, dev1, 0x701, false); in tb_test_path_mixed_chain()
1299 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4; in tb_test_path_mixed_chain_reverse() local
1305 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_path_mixed_chain_reverse()
1306 dev2 = alloc_dev_default(test, dev1, 0x701, false); in tb_test_path_mixed_chain_reverse()
1336 struct tb_switch *host, *dev1, *dev2; in tb_test_tunnel_pcie() local
1352 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_tunnel_pcie()
1353 dev2 = alloc_dev_default(test, dev1, 0x501, true); in tb_test_tunnel_pcie()
1356 up = &dev1->ports[9]; in tb_test_tunnel_pcie()
1370 down = &dev1->ports[10]; in tb_test_tunnel_pcie()
1429 struct tb_switch *host, *dev1, *dev4; in tb_test_tunnel_dp_chain() local
1447 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_tunnel_dp_chain()
1448 alloc_dev_default(test, dev1, 0x301, true); in tb_test_tunnel_dp_chain()
1449 alloc_dev_default(test, dev1, 0x501, true); in tb_test_tunnel_dp_chain()
1450 dev4 = alloc_dev_default(test, dev1, 0x701, true); in tb_test_tunnel_dp_chain()
1475 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5; in tb_test_tunnel_dp_tree() local
1496 dev1 = alloc_dev_default(test, host, 0x3, true); in tb_test_tunnel_dp_tree()
1497 dev2 = alloc_dev_with_dpin(test, dev1, 0x303, true); in tb_test_tunnel_dp_tree()
1498 dev3 = alloc_dev_default(test, dev1, 0x503, true); in tb_test_tunnel_dp_tree()
1499 alloc_dev_default(test, dev1, 0x703, true); in tb_test_tunnel_dp_tree()
1525 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5, *dev6; in tb_test_tunnel_dp_max_length() local
1554 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_tunnel_dp_max_length()
1555 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_tunnel_dp_max_length()
1605 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5; in tb_test_tunnel_3dp() local
1626 dev1 = alloc_dev_default(test, host, 0x3, true); in tb_test_tunnel_3dp()
1627 dev2 = alloc_dev_default(test, dev1, 0x303, true); in tb_test_tunnel_3dp()
1628 dev3 = alloc_dev_default(test, dev1, 0x503, true); in tb_test_tunnel_3dp()
1629 dev4 = alloc_dev_default(test, dev1, 0x703, true); in tb_test_tunnel_3dp()
1670 struct tb_switch *host, *dev1, *dev2; in tb_test_tunnel_usb3() local
1686 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_tunnel_usb3()
1687 dev2 = alloc_dev_default(test, dev1, 0x701, true); in tb_test_tunnel_usb3()
1690 up = &dev1->ports[16]; in tb_test_tunnel_usb3()
1704 down = &dev1->ports[17]; in tb_test_tunnel_usb3()
1725 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5; in tb_test_tunnel_port_on_path() local
1744 dev1 = alloc_dev_default(test, host, 0x3, true); in tb_test_tunnel_port_on_path()
1745 dev2 = alloc_dev_with_dpin(test, dev1, 0x303, true); in tb_test_tunnel_port_on_path()
1746 dev3 = alloc_dev_default(test, dev1, 0x503, true); in tb_test_tunnel_port_on_path()
1747 dev4 = alloc_dev_default(test, dev1, 0x703, true); in tb_test_tunnel_port_on_path()
1765 port = &dev1->ports[1]; in tb_test_tunnel_port_on_path()
1768 port = &dev1->ports[3]; in tb_test_tunnel_port_on_path()
1771 port = &dev1->ports[5]; in tb_test_tunnel_port_on_path()
1774 port = &dev1->ports[7]; in tb_test_tunnel_port_on_path()
1908 struct tb_switch *host, *dev1, *dev2; in tb_test_tunnel_dma_chain() local
1931 dev1 = alloc_dev_default(test, host, 0x1, true); in tb_test_tunnel_dma_chain()
1932 dev2 = alloc_dev_default(test, dev1, 0x701, true); in tb_test_tunnel_dma_chain()
1949 &dev1->ports[7]); in tb_test_tunnel_dma_chain()
1951 &dev1->ports[1]); in tb_test_tunnel_dma_chain()
1961 &dev1->ports[1]); in tb_test_tunnel_dma_chain()
1963 &dev1->ports[7]); in tb_test_tunnel_dma_chain()