Searched refs:path_length (Results 1 – 4 of 4) sorted by relevance
/drivers/thunderbolt/ |
D | path.c | 157 path->path_length = num_hops; in tb_path_discover() 330 path->path_length = num_hops; in tb_path_alloc() 350 for (i = 0; i < path->path_length; i++) { in tb_path_free() 368 for (i = first_hop; i < path->path_length; i++) { in __tb_path_deallocate_nfc() 432 for (i = first_hop; i < path->path_length; i++) { in __tb_path_deactivate_hops() 453 tb_route(path->hops[path->path_length - 1].out_port->sw), in tb_path_deactivate() 454 path->hops[path->path_length - 1].out_port->port); in tb_path_deactivate() 481 tb_route(path->hops[path->path_length - 1].out_port->sw), in tb_path_activate() 482 path->hops[path->path_length - 1].out_port->port); in tb_path_activate() 485 for (i = path->path_length - 1; i >= 0; i--) { in tb_path_activate() [all …]
|
D | test.c | 782 KUNIT_ASSERT_EQ(test, path->path_length, (int)ARRAY_SIZE(test_data)); in tb_test_path_not_bonded_lane0() 844 KUNIT_ASSERT_EQ(test, path->path_length, (int)ARRAY_SIZE(test_data)); in tb_test_path_not_bonded_lane1() 924 KUNIT_ASSERT_EQ(test, path->path_length, (int)ARRAY_SIZE(test_data)); in tb_test_path_not_bonded_lane1_chain() 1004 KUNIT_ASSERT_EQ(test, path->path_length, (int)ARRAY_SIZE(test_data)); in tb_test_path_not_bonded_lane1_chain_reverse() 1096 KUNIT_ASSERT_EQ(test, path->path_length, (int)ARRAY_SIZE(test_data)); in tb_test_path_mixed_chain() 1188 KUNIT_ASSERT_EQ(test, path->path_length, (int)ARRAY_SIZE(test_data)); in tb_test_path_mixed_chain_reverse() 1236 KUNIT_ASSERT_EQ(test, tunnel1->paths[0]->path_length, 2); in tb_test_tunnel_pcie() 1239 KUNIT_ASSERT_EQ(test, tunnel1->paths[1]->path_length, 2); in tb_test_tunnel_pcie() 1251 KUNIT_ASSERT_EQ(test, tunnel2->paths[0]->path_length, 2); in tb_test_tunnel_pcie() 1254 KUNIT_ASSERT_EQ(test, tunnel2->paths[1]->path_length, 2); in tb_test_tunnel_pcie() [all …]
|
D | tunnel.c | 127 if (path->path_length > 1) in tb_pci_init_path() 516 last = paths[TB_DP_VIDEO_PATH_OUT]->path_length - 1; in tb_dp_activate() 616 for (i = 0; i < path->path_length; i++) in tb_dp_init_aux_path() 822 for (i = 0; i < path->path_length; i++) in tb_dma_init_path() 1019 if (path->path_length > 1) in tb_usb3_init_path()
|
D | tb.h | 327 int path_length; member
|