Searched refs:PCI_CONTROLLER (Results 1 – 8 of 8) sorted by relevance
77 #define PCI_CONTROLLER(busdev) ((struct pci_controller *) busdev->sysdata) macro78 #define pci_domain_nr(busdev) (PCI_CONTROLLER(busdev)->segment)
46 #define pcibus_to_node(bus) PCI_CONTROLLER(bus)->node
24 ((struct sn_platform_data *)(PCI_CONTROLLER(busdev)->platform_data))
412 phandle = acpi_device_handle(PCI_CONTROLLER(slot->pci_bus)->companion); in enable_slot()491 PCI_CONTROLLER(slot->pci_bus)->companion) { in disable_slot()500 phandle = acpi_device_handle(PCI_CONTROLLER(slot->pci_bus)->companion); in disable_slot()
289 controller = PCI_CONTROLLER(bus); in sn_common_bus_fixup()549 PCI_CONTROLLER(bus)->node = near_cnode; in sn_io_late_init()
135 handle = acpi_device_handle(PCI_CONTROLLER(bus)->companion); in sn_get_bussoft_ptr()363 rootbus_handle = acpi_device_handle(PCI_CONTROLLER(dev)->companion); in sn_acpi_get_pcidev_info()
289 prom_bussoft_ptr = PCI_CONTROLLER(bus)->platform_data; in sn_bus_fixup()
259 ? ((struct ioc *) PCI_CONTROLLER(to_pci_dev(dev))->iommu) : NULL)1978 if (!PCI_CONTROLLER(bus)) in sba_connect_bus()1981 if (PCI_CONTROLLER(bus)->iommu) in sba_connect_bus()1984 handle = acpi_device_handle(PCI_CONTROLLER(bus)->companion); in sba_connect_bus()1996 PCI_CONTROLLER(bus)->iommu = ioc; in sba_connect_bus()