Lines Matching refs:cxl_switch_uport
30 static struct platform_device *cxl_switch_uport[NR_MULTI_ROOT]; variable
532 for (i = 0; i < ARRAY_SIZE(cxl_switch_uport); i++) in is_mock_port()
533 if (dev == &cxl_switch_uport[i]->dev) in is_mock_port()
1312 BUILD_BUG_ON(ARRAY_SIZE(cxl_switch_uport) != ARRAY_SIZE(cxl_root_port)); in cxl_test_init()
1313 for (i = 0; i < ARRAY_SIZE(cxl_switch_uport); i++) { in cxl_test_init()
1327 cxl_switch_uport[i] = pdev; in cxl_test_init()
1332 cxl_switch_uport[i % ARRAY_SIZE(cxl_switch_uport)]; in cxl_test_init()
1400 for (i = ARRAY_SIZE(cxl_switch_uport) - 1; i >= 0; i--) in cxl_test_init()
1401 platform_device_unregister(cxl_switch_uport[i]); in cxl_test_init()
1434 for (i = ARRAY_SIZE(cxl_switch_uport) - 1; i >= 0; i--) in cxl_test_exit()
1435 platform_device_unregister(cxl_switch_uport[i]); in cxl_test_exit()