Lines Matching refs:cxl_host_bridge
27 static struct platform_device *cxl_host_bridge[NR_CXL_HOST_BRIDGES]; variable
51 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++) in is_multi_bridge()
52 if (&cxl_host_bridge[i]->dev == dev) in is_multi_bridge()
508 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++) in is_mock_bridge()
509 if (dev == &cxl_host_bridge[i]->dev) in is_mock_bridge()
757 if (port->uport_dev == &cxl_host_bridge[0]->dev) { in mock_init_hdm_decoder()
1270 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++) { in cxl_test_init()
1285 cxl_host_bridge[i] = pdev; in cxl_test_init()
1295 cxl_host_bridge[i % ARRAY_SIZE(cxl_host_bridge)]; in cxl_test_init()
1405 for (i = ARRAY_SIZE(cxl_host_bridge) - 1; i >= 0; i--) { in cxl_test_init()
1406 struct platform_device *pdev = cxl_host_bridge[i]; in cxl_test_init()
1411 platform_device_unregister(cxl_host_bridge[i]); in cxl_test_init()
1437 for (i = ARRAY_SIZE(cxl_host_bridge) - 1; i >= 0; i--) { in cxl_test_exit()
1438 struct platform_device *pdev = cxl_host_bridge[i]; in cxl_test_exit()
1443 platform_device_unregister(cxl_host_bridge[i]); in cxl_test_exit()