Home
last modified time | relevance | path

Searched refs:pci_devfn (Results 1 – 4 of 4) sorted by relevance

/arch/xtensa/lib/
Dpci-auto.c239 int sub_bus, pci_devfn, pci_class, cmdstat, found_multi=0; in pciauto_bus_scan() local
261 for (pci_devfn = 0; pci_devfn < 0xff; pci_devfn++) in pciauto_bus_scan()
264 if ((current_bus == pci_ctrl->first_busno) && (pci_devfn == 0)) in pciauto_bus_scan()
267 if (PCI_FUNC(pci_devfn) && !found_multi) in pciauto_bus_scan()
271 pciauto_dev.devfn = pci_devfn; in pciauto_bus_scan()
277 if (!PCI_FUNC(pci_devfn)) in pciauto_bus_scan()
293 PCI_SLOT(pci_devfn)); in pciauto_bus_scan()
341 current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn) ); in pciauto_bus_scan()
344 pciauto_setup_irq(pci_ctrl, dev, pci_devfn); in pciauto_bus_scan()
/arch/sh/drivers/pci/
Dcommon.c52 u32 pci_devfn; in EARLY_PCI_OP() local
59 for (pci_devfn = 0; pci_devfn < 0xff; pci_devfn++) { in EARLY_PCI_OP()
60 if (PCI_FUNC(pci_devfn)) in EARLY_PCI_OP()
63 pci_devfn, PCI_VENDOR_ID, &vid) != in EARLY_PCI_OP()
74 pci_devfn, PCI_STATUS, &stat); in EARLY_PCI_OP()
78 current_bus, pci_devfn); in EARLY_PCI_OP()
Dpci.c198 unsigned int pci_devfn; in pcibios_bus_report_status_early() local
202 for (pci_devfn = 0; pci_devfn < 0xff; pci_devfn++) { in pcibios_bus_report_status_early()
203 if (PCI_FUNC(pci_devfn)) in pcibios_bus_report_status_early()
206 pci_devfn, PCI_STATUS, &status); in pcibios_bus_report_status_early()
213 pci_devfn, PCI_STATUS, in pcibios_bus_report_status_early()
217 pci_devfn, status); in pcibios_bus_report_status_early()
/arch/mips/txx9/generic/
Dpci.c50 u32 pci_devfn; in txx9_pci66_check() local
60 for (pci_devfn = 0; pci_devfn < 0xff; pci_devfn++) { in txx9_pci66_check()
61 if (PCI_FUNC(pci_devfn)) in txx9_pci66_check()
64 pci_devfn, PCI_VENDOR_ID, &vid) != in txx9_pci66_check()
75 pci_devfn, PCI_STATUS, &stat); in txx9_pci66_check()
78 current_bus, pci_devfn); in txx9_pci66_check()