Lines Matching refs:cxl_root_single
36 static struct platform_device *cxl_root_single[NR_CXL_SINGLE_HOST]; variable
540 for (i = 0; i < ARRAY_SIZE(cxl_root_single); i++) in is_mock_port()
541 if (dev == &cxl_root_single[i]->dev) in is_mock_port()
927 array_size = ARRAY_SIZE(cxl_root_single); in mock_cxl_port_enumerate_dports()
928 array = cxl_root_single; in mock_cxl_port_enumerate_dports()
1113 for (i = 0; i < ARRAY_SIZE(cxl_root_single); i++) { in cxl_single_init()
1129 cxl_root_single[i] = pdev; in cxl_single_init()
1133 struct platform_device *root_port = cxl_root_single[i]; in cxl_single_init()
1199 for (i = ARRAY_SIZE(cxl_root_single) - 1; i >= 0; i--) in cxl_single_init()
1200 platform_device_unregister(cxl_root_single[i]); in cxl_single_init()
1224 for (i = ARRAY_SIZE(cxl_root_single) - 1; i >= 0; i--) in cxl_single_exit()
1225 platform_device_unregister(cxl_root_single[i]); in cxl_single_exit()