Lines Matching refs:devfn
265 unsigned int devfn, bus, buses;
279 first_devfn = dev->devfn;
285 dev->devfn = 0;
296 for (devfn = first_devfn; devfn < 0xff; ++devfn, first_driver = 0) {
297 if (PCI_FUNC (devfn) == 0)
298 pcibios_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type);
301 pcibios_read_config_dword(bus, devfn, PCI_VENDOR_ID, &l);
309 pcibios_read_config_dword(bus, devfn, PCI_REVISION, &l);
315 bus, PCI_SLOT(devfn), PCI_FUNC(devfn),
323 pcibios_read_config_byte(bus, devfn, i, &byte);
343 dev->devfn = devfn;
351 pcibios_read_config_dword(bus, devfn,
357 pcibios_read_config_dword(bus, devfn,
363 pcibios_read_config_dword(bus, devfn, reg, &ioaddr);
398 pcibios_read_config_word(p->bus, p->devfn, PCI_COMMAND, &pci_command);
405 pci_command, new_command, p->bus, p->devfn);
407 pcibios_write_config_word(p->bus, p->devfn, PCI_COMMAND, new_command);
409 pcibios_read_config_byte(p->bus, p->devfn, PCI_LATENCY_TIMER, &pci_latency);
415 pcibios_write_config_byte(p->bus, p->devfn, PCI_LATENCY_TIMER, 32);