Home
last modified time | relevance | path

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

/linux-6.12.1/arch/xtensa/lib/
Dpci-auto.c226 int sub_bus, pci_devfn, pci_class, cmdstat; in pciauto_bus_scan() local
249 for (pci_devfn = 0; pci_devfn < 0xff; pci_devfn++) in pciauto_bus_scan()
252 if ((current_bus == pci_ctrl->first_busno) && (pci_devfn == 0)) in pciauto_bus_scan()
255 if (PCI_FUNC(pci_devfn) && !found_multi) in pciauto_bus_scan()
259 pciauto_dev.devfn = pci_devfn; in pciauto_bus_scan()
265 if (!PCI_FUNC(pci_devfn)) in pciauto_bus_scan()
281 PCI_SLOT(pci_devfn)); in pciauto_bus_scan()
312 current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn)); in pciauto_bus_scan()
315 pciauto_setup_irq(pci_ctrl, dev, pci_devfn); in pciauto_bus_scan()
/linux-6.12.1/arch/sh/drivers/pci/
Dcommon.c52 u32 pci_devfn; in EARLY_PCI_OP() local
60 for (pci_devfn = 0; pci_devfn < 0xff; pci_devfn++) { in EARLY_PCI_OP()
61 if (PCI_FUNC(pci_devfn)) in EARLY_PCI_OP()
64 pci_devfn, PCI_VENDOR_ID, &vid); in EARLY_PCI_OP()
75 pci_devfn, PCI_STATUS, &stat); in EARLY_PCI_OP()
79 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.12.1/arch/mips/txx9/generic/
Dpci.c50 u32 pci_devfn; in txx9_pci66_check() local
61 for (pci_devfn = 0; pci_devfn < 0xff; pci_devfn++) { in txx9_pci66_check()
62 if (PCI_FUNC(pci_devfn)) in txx9_pci66_check()
65 pci_devfn, PCI_VENDOR_ID, &vid); in txx9_pci66_check()
76 pci_devfn, PCI_STATUS, &stat); in txx9_pci66_check()
79 current_bus, pci_devfn); in txx9_pci66_check()