Searched refs:devfn (Results 1 - 10 of 10) 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...]
H A Dconfig.c32 state->dev.devfn = 0;
H A Dsis900.c253 pcibios_read_config_byte(p->bus,p->devfn, 0x48, &reg);
254 pcibios_write_config_byte(p->bus,p->devfn, 0x48, reg | 0x40);
261 pcibios_write_config_byte(p->bus,p->devfn, 0x48, reg & ~0x40);
335 pcibios_write_config_dword(pci->bus, pci->devfn, 0x40, 0x00000000);
341 pcibios_read_config_byte(pci->bus,pci->devfn, PCI_REVISION, &revision);
H A Dnatsemi.c269 pcibios_read_config_dword(pci->bus, pci->devfn, PCIPM, &tmp);
273 pcibios_write_config_dword(pci->bus, pci->devfn, PCIPM, newtmp);
H A Dundi.c450 /* AX contains PCI bus:devfn (PCI specification) */
451 undi.pxs->loader.ax = ( undi.pci.bus << 8 ) | undi.pci.devfn;
511 /* AX contains PCI bus:devfn (PCI specification) */
512 undi.pxs->start_undi.ax = ( undi.pci.bus << 8 ) | undi.pci.devfn;
H A Ddavicom.c684 pcibios_write_config_dword(pci->bus, pci->devfn, 0x40, 0x00000000);
H A Dw89c840.c628 printf("winbond-840: PCI bus %hhX device function %hhX: I/O address: %hX\n", p->bus, p->devfn, ioaddr);
H A Dtulip.c1291 pcibios_write_config_dword(pci->bus, pci->devfn, 0x40, 0x00000000);
1299 pcibios_read_config_byte(pci->bus, pci->devfn, PCI_REVISION, &chip_rev);
H A Dtg3.c2816 if (PCI_FUNC(tp->pdev->devfn) == 0)

Completed in 74 milliseconds