Lines Matching refs:pci_ctrl
122 pciauto_setup_irq(struct pci_controller* pci_ctrl,struct pci_dev *dev,int devfn) in pciauto_setup_irq() argument
134 if (pci_ctrl->map_irq) in pciauto_setup_irq()
135 irq = pci_ctrl->map_irq(dev, PCI_SLOT(devfn), pin); in pciauto_setup_irq()
224 int __init pciauto_bus_scan(struct pci_controller *pci_ctrl, int current_bus) in pciauto_bus_scan() argument
233 pciauto_dev.sysdata = pci_ctrl; in pciauto_bus_scan()
234 pciauto_bus.ops = pci_ctrl->ops; in pciauto_bus_scan()
241 if (current_bus == pci_ctrl->first_busno) in pciauto_bus_scan()
243 pciauto_upper_iospc = pci_ctrl->io_resource.end + 1; in pciauto_bus_scan()
244 pciauto_upper_memspc = pci_ctrl->mem_resources[0].end + 1; in pciauto_bus_scan()
252 if ((current_bus == pci_ctrl->first_busno) && (pci_devfn == 0)) in pciauto_bus_scan()
288 sub_bus = pciauto_bus_scan(pci_ctrl, sub_bus+1); in pciauto_bus_scan()
315 pciauto_setup_irq(pci_ctrl, dev, pci_devfn); in pciauto_bus_scan()