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.c37 static struct platform_device *cxl_root_port[NR_MULTI_ROOT]; variable
582 for (i = 0; i < ARRAY_SIZE(cxl_root_port); i++) in is_mock_port()
583 if (dev == &cxl_root_port[i]->dev) in is_mock_port()
1333 array_size = ARRAY_SIZE(cxl_root_port); in get_port_array()
1334 array = cxl_root_port; in get_port_array()
1876 for (i = 0; i < ARRAY_SIZE(cxl_root_port); i++) { in cxl_test_init()
1886 rc = cxl_mock_platform_device_add(pdev, &cxl_root_port[i]); in cxl_test_init()
1891 BUILD_BUG_ON(ARRAY_SIZE(cxl_switch_uport) != ARRAY_SIZE(cxl_root_port)); in cxl_test_init()
1893 struct platform_device *root_port = cxl_root_port[i]; in cxl_test_init()
1966 for (i = ARRAY_SIZE(cxl_root_port) - 1; i >= 0; i--) in cxl_test_init()
[all …]