Lines Matching refs:dev2
538 struct tb_switch *host, *dev1, *dev2; in tb_test_path_daisy_chain_walk() local
543 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_daisy_chain_walk()
546 dst_port = &dev2->ports[13]; in tb_test_path_daisy_chain_walk()
677 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5, *dev6, *dev7, *dev9; in tb_test_path_complex_tree_walk() local
683 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_complex_tree_walk()
684 dev3 = alloc_dev_with_dpin(test, dev2, 0x50301, true); 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() local
783 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_path_max_length_walk()
784 dev3 = alloc_dev_default(test, dev2, 0x30301, true); in tb_test_path_max_length_walk()
827 struct tb_switch *host, *dev1, *dev2; in tb_test_path_not_connected() local
834 dev2 = alloc_dev_default(test, NULL, 0x303, false); in tb_test_path_not_connected()
837 up = &dev2->ports[9]; in tb_test_path_not_connected()
1019 struct tb_switch *host, *dev1, *dev2, *dev3; in tb_test_path_not_bonded_lane1_chain() local
1026 dev2 = alloc_dev_default(test, dev1, 0x701, false); in tb_test_path_not_bonded_lane1_chain()
1027 dev3 = alloc_dev_default(test, dev2, 0x50701, false); 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() local
1106 dev2 = alloc_dev_default(test, dev1, 0x701, false); in tb_test_path_not_bonded_lane1_chain_reverse()
1107 dev3 = alloc_dev_with_dpin(test, dev2, 0x50701, false); in tb_test_path_not_bonded_lane1_chain_reverse()
1190 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4; in tb_test_path_mixed_chain() local
1197 dev2 = alloc_dev_default(test, dev1, 0x701, false); in tb_test_path_mixed_chain()
1198 dev3 = alloc_dev_default(test, dev2, 0x50701, false); in tb_test_path_mixed_chain()
1282 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4; in tb_test_path_mixed_chain_reverse() local
1289 dev2 = alloc_dev_default(test, dev1, 0x701, false); in tb_test_path_mixed_chain_reverse()
1290 dev3 = alloc_dev_default(test, dev2, 0x50701, false); in tb_test_path_mixed_chain_reverse()
1319 struct tb_switch *host, *dev1, *dev2; in tb_test_tunnel_pcie() local
1336 dev2 = alloc_dev_default(test, dev1, 0x501, true); in tb_test_tunnel_pcie()
1354 up = &dev2->ports[9]; in tb_test_tunnel_pcie()
1458 struct tb_switch *host, *dev1, *dev2, *dev3, *dev5; in tb_test_tunnel_dp_tree() local
1480 dev2 = alloc_dev_with_dpin(test, dev1, 0x303, true); in tb_test_tunnel_dp_tree()
1485 in = &dev2->ports[13]; in tb_test_tunnel_dp_tree()
1508 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5, *dev6; in tb_test_tunnel_dp_max_length() local
1538 dev2 = alloc_dev_default(test, dev1, 0x301, true); in tb_test_tunnel_dp_max_length()
1539 dev3 = alloc_dev_default(test, dev2, 0x30301, true); in tb_test_tunnel_dp_max_length()
1588 struct tb_switch *host, *dev1, *dev2; in tb_test_tunnel_usb3() local
1605 dev2 = alloc_dev_default(test, dev1, 0x701, true); in tb_test_tunnel_usb3()
1623 up = &dev2->ports[16]; in tb_test_tunnel_usb3()
1643 struct tb_switch *host, *dev1, *dev2, *dev3, *dev4, *dev5; in tb_test_tunnel_port_on_path() local
1663 dev2 = alloc_dev_with_dpin(test, dev1, 0x303, true); in tb_test_tunnel_port_on_path()
1668 in = &dev2->ports[13]; in tb_test_tunnel_port_on_path()
1826 struct tb_switch *host, *dev1, *dev2; in tb_test_tunnel_dma_chain() local
1850 dev2 = alloc_dev_default(test, dev1, 0x701, true); in tb_test_tunnel_dma_chain()
1853 port = &dev2->ports[3]; in tb_test_tunnel_dma_chain()
1865 &dev2->ports[1]); in tb_test_tunnel_dma_chain()
1883 &dev2->ports[1]); in tb_test_tunnel_dma_chain()