Lines Matching refs:mock_pci_bus
587 static struct pci_bus mock_pci_bus[NR_BRIDGES]; variable
588 static struct acpi_pci_root mock_pci_root[ARRAY_SIZE(mock_pci_bus)] = {
590 .bus = &mock_pci_bus[0],
593 .bus = &mock_pci_bus[1],
596 .bus = &mock_pci_bus[2],
599 .bus = &mock_pci_bus[3],
608 for (i = 0; i < ARRAY_SIZE(mock_pci_bus); i++) in is_mock_bus()
609 if (bus == &mock_pci_bus[i]) in is_mock_bus()
1024 mock_pci_bus[idx].bridge = &pdev->dev; in cxl_rch_init()
1106 mock_pci_bus[i + NR_CXL_HOST_BRIDGES].bridge = &pdev->dev; in cxl_single_init()
1287 mock_pci_bus[i].bridge = &pdev->dev; in cxl_test_init()