Lines Matching refs:cxl_switch_uport
24 static struct platform_device *cxl_switch_uport[NR_MULTI_ROOT]; variable
387 for (i = 0; i < ARRAY_SIZE(cxl_switch_uport); i++) in is_mock_port()
388 if (dev == &cxl_switch_uport[i]->dev) in is_mock_port()
944 BUILD_BUG_ON(ARRAY_SIZE(cxl_switch_uport) != ARRAY_SIZE(cxl_root_port)); in cxl_test_init()
945 for (i = 0; i < ARRAY_SIZE(cxl_switch_uport); i++) { in cxl_test_init()
959 cxl_switch_uport[i] = pdev; in cxl_test_init()
964 cxl_switch_uport[i % ARRAY_SIZE(cxl_switch_uport)]; in cxl_test_init()
1026 for (i = ARRAY_SIZE(cxl_switch_uport) - 1; i >= 0; i--) in cxl_test_init()
1027 platform_device_unregister(cxl_switch_uport[i]); in cxl_test_init()
1059 for (i = ARRAY_SIZE(cxl_switch_uport) - 1; i >= 0; i--) in cxl_test_exit()
1060 platform_device_unregister(cxl_switch_uport[i]); in cxl_test_exit()