Home
last modified time | relevance | path

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

/linux-6.1.9/arch/xtensa/lib/
Dpci-auto.c225 int sub_bus, pci_devfn, pci_class, cmdstat, found_multi=0; in pciauto_bus_scan() local
247 for (pci_devfn = 0; pci_devfn < 0xff; pci_devfn++) in pciauto_bus_scan()
250 if ((current_bus == pci_ctrl->first_busno) && (pci_devfn == 0)) in pciauto_bus_scan()
253 if (PCI_FUNC(pci_devfn) && !found_multi) in pciauto_bus_scan()
257 pciauto_dev.devfn = pci_devfn; in pciauto_bus_scan()
263 if (!PCI_FUNC(pci_devfn)) in pciauto_bus_scan()
279 PCI_SLOT(pci_devfn)); in pciauto_bus_scan()
310 current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn)); in pciauto_bus_scan()
313 pciauto_setup_irq(pci_ctrl, dev, pci_devfn); in pciauto_bus_scan()
/linux-6.1.9/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.c196 unsigned int pci_devfn; in pcibios_bus_report_status_early() local
200 for (pci_devfn = 0; pci_devfn < 0xff; pci_devfn++) { in pcibios_bus_report_status_early()
201 if (PCI_FUNC(pci_devfn)) in pcibios_bus_report_status_early()
204 pci_devfn, PCI_STATUS, &status); in pcibios_bus_report_status_early()
211 pci_devfn, PCI_STATUS, in pcibios_bus_report_status_early()
214 pr_cont("(%02x:%02x: %04X) ", current_bus, pci_devfn, in pcibios_bus_report_status_early()
/linux-6.1.9/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()