Lines Matching refs:cxl_host_bridge
30 static struct platform_device *cxl_host_bridge[NR_CXL_HOST_BRIDGES];
54 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++)
55 if (&cxl_host_bridge[i]->dev == dev)
515 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++)
516 if (dev == &cxl_host_bridge[i]->dev)
765 if (port->uport_dev == &cxl_host_bridge[0]->dev) {
1067 pdev = platform_device_alloc("cxl_host_bridge", idx);
1124 pdev = platform_device_alloc("cxl_host_bridge",
1368 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++) {
1372 pdev = platform_device_alloc("cxl_host_bridge", i);
1383 cxl_host_bridge[i] = pdev;
1393 cxl_host_bridge[i % ARRAY_SIZE(cxl_host_bridge)];
1486 for (i = ARRAY_SIZE(cxl_host_bridge) - 1; i >= 0; i--) {
1487 struct platform_device *pdev = cxl_host_bridge[i];
1492 platform_device_unregister(cxl_host_bridge[i]);
1517 for (i = ARRAY_SIZE(cxl_host_bridge) - 1; i >= 0; i--) {
1518 struct platform_device *pdev = cxl_host_bridge[i];
1523 platform_device_unregister(cxl_host_bridge[i]);