Searched defs:devfn (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dpci.c265 unsigned int devfn, bus, buses; local
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_REVISIO
[all...]
H A Dpci.h241 #define PCI_SLOT(devfn) ((devfn) >> 3)
242 #define PCI_FUNC(devfn) ((devfn) & 0x07)
277 unsigned char devfn; member in struct:pci_device
299 return pcibios_read_config_byte(dev->bus, dev->devfn, where, value);
304 return pcibios_write_config_byte(dev->bus, dev->devfn, where, value);
309 return pcibios_read_config_word(dev->bus, dev->devfn, where, value);
314 return pcibios_write_config_word(dev->bus, dev->devfn, where, value);
319 return pcibios_read_config_dword(dev->bus, dev->devfn, wher
[all...]

Completed in 24 milliseconds