Lines Matching refs:devfn
401 unsigned int devfn, l, bus, buses; in scan_bus() local
416 for (devfn = 0; devfn < 0xff; ++devfn) { in scan_bus()
417 if (PCI_FUNC (devfn) == 0) in scan_bus()
418 pcibios_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type); in scan_bus()
421 pcibios_read_config_dword(bus, devfn, PCI_VENDOR_ID, &l); in scan_bus()
432 bus, devfn, vendor, device); in scan_bus()
438 pcidev[i].devfn = devfn; in scan_bus()
441 pcibios_read_config_dword(bus, devfn, reg, &ioaddr); in scan_bus()
448 pcibios_read_config_dword(bus, devfn, in scan_bus()
451 pcibios_read_config_dword(bus, devfn, PCI_ROM_ADDRESS, &romaddr); in scan_bus()
489 pcibios_read_config_word(p->bus, p->devfn, PCI_COMMAND, &pci_command); in adjust_pci_device()
493 pci_command, new_command, p->bus, p->devfn); in adjust_pci_device()
494 pcibios_write_config_word(p->bus, p->devfn, PCI_COMMAND, new_command); in adjust_pci_device()
496 pcibios_read_config_byte(p->bus, p->devfn, PCI_LATENCY_TIMER, &pci_latency); in adjust_pci_device()
499 pcibios_write_config_byte(p->bus, p->devfn, PCI_LATENCY_TIMER, 32); in adjust_pci_device()