Lines Matching refs:cxl_switch_uport
33 static struct platform_device *cxl_switch_uport[NR_MULTI_ROOT]; variable
539 for (i = 0; i < ARRAY_SIZE(cxl_switch_uport); i++) in is_mock_port()
540 if (dev == &cxl_switch_uport[i]->dev) in is_mock_port()
1409 BUILD_BUG_ON(ARRAY_SIZE(cxl_switch_uport) != ARRAY_SIZE(cxl_root_port)); in cxl_test_init()
1410 for (i = 0; i < ARRAY_SIZE(cxl_switch_uport); i++) { in cxl_test_init()
1424 cxl_switch_uport[i] = pdev; in cxl_test_init()
1429 cxl_switch_uport[i % ARRAY_SIZE(cxl_switch_uport)]; in cxl_test_init()
1480 for (i = ARRAY_SIZE(cxl_switch_uport) - 1; i >= 0; i--) in cxl_test_init()
1481 platform_device_unregister(cxl_switch_uport[i]); in cxl_test_init()
1513 for (i = ARRAY_SIZE(cxl_switch_uport) - 1; i >= 0; i--) in cxl_test_exit()
1514 platform_device_unregister(cxl_switch_uport[i]); in cxl_test_exit()