Lines Matching refs:cxl_host_bridge
29 static struct platform_device *cxl_host_bridge[NR_CXL_HOST_BRIDGES]; variable
53 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++) in is_multi_bridge()
54 if (&cxl_host_bridge[i]->dev == dev) in is_multi_bridge()
514 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++) in is_mock_bridge()
515 if (dev == &cxl_host_bridge[i]->dev) in is_mock_bridge()
768 if (port->uport_dev == &cxl_host_bridge[0]->dev) { in mock_init_hdm_decoder()
1333 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++) { in cxl_test_init()
1348 cxl_host_bridge[i] = pdev; in cxl_test_init()
1358 cxl_host_bridge[i % ARRAY_SIZE(cxl_host_bridge)]; in cxl_test_init()
1468 for (i = ARRAY_SIZE(cxl_host_bridge) - 1; i >= 0; i--) { in cxl_test_init()
1469 struct platform_device *pdev = cxl_host_bridge[i]; in cxl_test_init()
1474 platform_device_unregister(cxl_host_bridge[i]); in cxl_test_init()
1500 for (i = ARRAY_SIZE(cxl_host_bridge) - 1; i >= 0; i--) { in cxl_test_exit()
1501 struct platform_device *pdev = cxl_host_bridge[i]; in cxl_test_exit()
1506 platform_device_unregister(cxl_host_bridge[i]); in cxl_test_exit()