Home
last modified time | relevance | path

Searched refs:cxl_root_port (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/cxl/test/
H A Dcxl.c31 static struct platform_device *cxl_root_port[NR_MULTI_ROOT]; variable
534 for (i = 0; i < ARRAY_SIZE(cxl_root_port); i++) in is_mock_port()
535 if (dev == &cxl_root_port[i]->dev) in is_mock_port()
930 array_size = ARRAY_SIZE(cxl_root_port); in mock_cxl_port_enumerate_dports()
931 array = cxl_root_port; in mock_cxl_port_enumerate_dports()
1390 for (i = 0; i < ARRAY_SIZE(cxl_root_port); i++) { in cxl_test_init()
1405 cxl_root_port[i] = pdev; in cxl_test_init()
1408 BUILD_BUG_ON(ARRAY_SIZE(cxl_switch_uport) != ARRAY_SIZE(cxl_root_port)); in cxl_test_init()
1410 struct platform_device *root_port = cxl_root_port[i]; in cxl_test_init()
1482 for (i = ARRAY_SIZE(cxl_root_port) - 1; i >= 0; i--) in cxl_test_init()
[all …]