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()
1311 BUILD_BUG_ON(ARRAY_SIZE(cxl_switch_uport) != ARRAY_SIZE(cxl_root_port)); in cxl_test_init()
1312 for (i = 0; i < ARRAY_SIZE(cxl_switch_uport); i++) { in cxl_test_init()
1326 cxl_switch_uport[i] = pdev; in cxl_test_init()
1331 cxl_switch_uport[i % ARRAY_SIZE(cxl_switch_uport)]; in cxl_test_init()
1399 for (i = ARRAY_SIZE(cxl_switch_uport) - 1; i >= 0; i--) in cxl_test_init()
1400 platform_device_unregister(cxl_switch_uport[i]); in cxl_test_init()
1433 for (i = ARRAY_SIZE(cxl_switch_uport) - 1; i >= 0; i--) in cxl_test_exit()
1434 platform_device_unregister(cxl_switch_uport[i]); in cxl_test_exit()