Lines Matching refs:cxl_host_bridge
21 static struct platform_device *cxl_host_bridge[NR_CXL_HOST_BRIDGES]; variable
43 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++) in is_multi_bridge()
44 if (&cxl_host_bridge[i]->dev == dev) in is_multi_bridge()
367 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++) in is_mock_bridge()
368 if (dev == &cxl_host_bridge[i]->dev) in is_mock_bridge()
904 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++) { in cxl_test_init()
919 cxl_host_bridge[i] = pdev; in cxl_test_init()
928 cxl_host_bridge[i % ARRAY_SIZE(cxl_host_bridge)]; in cxl_test_init()
1032 for (i = ARRAY_SIZE(cxl_host_bridge) - 1; i >= 0; i--) { in cxl_test_init()
1033 struct platform_device *pdev = cxl_host_bridge[i]; in cxl_test_init()
1038 platform_device_unregister(cxl_host_bridge[i]); in cxl_test_init()
1063 for (i = ARRAY_SIZE(cxl_host_bridge) - 1; i >= 0; i--) { in cxl_test_exit()
1064 struct platform_device *pdev = cxl_host_bridge[i]; in cxl_test_exit()
1069 platform_device_unregister(cxl_host_bridge[i]); in cxl_test_exit()