/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | pci.c | 265 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 D | pci.h | 241 #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 D | config.c | 32 state->dev.devfn = 0;
|
H A D | sis900.c | 253 pcibios_read_config_byte(p->bus,p->devfn, 0x48, ®); 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 D | natsemi.c | 269 pcibios_read_config_dword(pci->bus, pci->devfn, PCIPM, &tmp); 273 pcibios_write_config_dword(pci->bus, pci->devfn, PCIPM, newtmp);
|
H A D | undi.c | 450 /* 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 D | davicom.c | 684 pcibios_write_config_dword(pci->bus, pci->devfn, 0x40, 0x00000000);
|
H A D | w89c840.c | 628 printf("winbond-840: PCI bus %hhX device function %hhX: I/O address: %hX\n", p->bus, p->devfn, ioaddr);
|
H A D | tulip.c | 1291 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 D | tg3.c | 2816 if (PCI_FUNC(tp->pdev->devfn) == 0)
|
/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | physdev.h | 156 int devfn; member in struct:physdev_map_pirq 180 uint8_t devfn; member in struct:physdev_manage_pci 190 uint8_t devfn; member in struct:physdev_restore_msi 199 uint8_t devfn; member in struct:physdev_manage_pci_ext 204 uint8_t devfn; member in struct:physdev_manage_pci_ext::__anon9308
|
/illumos-gate/usr/src/uts/i86xpv/io/psm/ |
H A D | xpv_psm.c | 1014 * Add devfn on given bus to devices managed by hypervisor 1017 xen_manage_device(uint8_t bus, uint8_t devfn) argument 1023 * Check if bus/devfn already managed. If so just return success. 1036 managed_devlist[i].devfn == devfn) 1040 manage_pci.devfn = devfn; 1045 " devfn:0x%x", bus, devfn); 1068 managed_devlist[i].devfn 1183 int busnum, devfn; local 1301 int busnum, devfn; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_impl.h | 181 #define BUS_DEVFN_TO_BDF(b, devfn) (devfn)
|
/illumos-gate/usr/src/uts/intel/io/acpica/ |
H A D | osl.c | 1041 int bus, device, func, devfn; local
|