Lines Matching refs:pci_ctrl
121 pciauto_setup_irq(struct pci_controller* pci_ctrl,struct pci_dev *dev,int devfn) in pciauto_setup_irq() argument
133 if (pci_ctrl->map_irq) in pciauto_setup_irq()
134 irq = pci_ctrl->map_irq(dev, PCI_SLOT(devfn), pin); in pciauto_setup_irq()
223 int __init pciauto_bus_scan(struct pci_controller *pci_ctrl, int current_bus) in pciauto_bus_scan() argument
231 pciauto_dev.sysdata = pci_ctrl; in pciauto_bus_scan()
232 pciauto_bus.ops = pci_ctrl->ops; in pciauto_bus_scan()
239 if (current_bus == pci_ctrl->first_busno) in pciauto_bus_scan()
241 pciauto_upper_iospc = pci_ctrl->io_resource.end + 1; in pciauto_bus_scan()
242 pciauto_upper_memspc = pci_ctrl->mem_resources[0].end + 1; in pciauto_bus_scan()
250 if ((current_bus == pci_ctrl->first_busno) && (pci_devfn == 0)) in pciauto_bus_scan()
286 sub_bus = pciauto_bus_scan(pci_ctrl, sub_bus+1); in pciauto_bus_scan()
313 pciauto_setup_irq(pci_ctrl, dev, pci_devfn); in pciauto_bus_scan()