Lines Matching refs:cxl_root_port
29 static struct platform_device *cxl_root_port[NR_MULTI_ROOT]; variable
528 for (i = 0; i < ARRAY_SIZE(cxl_root_port); i++) in is_mock_port()
529 if (dev == &cxl_root_port[i]->dev) in is_mock_port()
923 array_size = ARRAY_SIZE(cxl_root_port); in mock_cxl_port_enumerate_dports()
924 array = cxl_root_port; in mock_cxl_port_enumerate_dports()
1293 for (i = 0; i < ARRAY_SIZE(cxl_root_port); i++) { in cxl_test_init()
1308 cxl_root_port[i] = pdev; in cxl_test_init()
1311 BUILD_BUG_ON(ARRAY_SIZE(cxl_switch_uport) != ARRAY_SIZE(cxl_root_port)); in cxl_test_init()
1313 struct platform_device *root_port = cxl_root_port[i]; in cxl_test_init()
1402 for (i = ARRAY_SIZE(cxl_root_port) - 1; i >= 0; i--) in cxl_test_init()
1403 platform_device_unregister(cxl_root_port[i]); in cxl_test_init()
1435 for (i = ARRAY_SIZE(cxl_root_port) - 1; i >= 0; i--) in cxl_test_exit()
1436 platform_device_unregister(cxl_root_port[i]); in cxl_test_exit()