Home
last modified time | relevance | path

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

/linux-3.4.99/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()
/linux-3.4.99/arch/sh/drivers/pci/
Dcommon.c51 u32 pci_devfn; in EARLY_PCI_OP() local
58 for (pci_devfn = 0; pci_devfn < 0xff; pci_devfn++) { in EARLY_PCI_OP()
59 if (PCI_FUNC(pci_devfn)) in EARLY_PCI_OP()
62 pci_devfn, PCI_VENDOR_ID, &vid) != in EARLY_PCI_OP()
73 pci_devfn, PCI_STATUS, &stat); in EARLY_PCI_OP()
77 current_bus, pci_devfn); in EARLY_PCI_OP()
Dpci.c210 unsigned int pci_devfn; in pcibios_bus_report_status_early() local
214 for (pci_devfn = 0; pci_devfn < 0xff; pci_devfn++) { in pcibios_bus_report_status_early()
215 if (PCI_FUNC(pci_devfn)) in pcibios_bus_report_status_early()
218 pci_devfn, PCI_STATUS, &status); in pcibios_bus_report_status_early()
225 pci_devfn, PCI_STATUS, in pcibios_bus_report_status_early()
229 pci_devfn, status); in pcibios_bus_report_status_early()
/linux-3.4.99/arch/mips/txx9/generic/
Dpci.c54 u32 pci_devfn; in txx9_pci66_check() local
64 for (pci_devfn = 0; pci_devfn < 0xff; pci_devfn++) { in txx9_pci66_check()
65 if (PCI_FUNC(pci_devfn)) in txx9_pci66_check()
68 pci_devfn, PCI_VENDOR_ID, &vid) != in txx9_pci66_check()
79 pci_devfn, PCI_STATUS, &stat); in txx9_pci66_check()
83 current_bus, pci_devfn); in txx9_pci66_check()