Searched refs:devfn (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/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)
/illumos-gate/usr/src/uts/common/xen/public/
H A Dphysdev.h156 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 Dxpv_psm.c1014 * 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 Damd_iommu_impl.h181 #define BUS_DEVFN_TO_BDF(b, devfn) (devfn)
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dosl.c1041 int bus, device, func, devfn; local

Completed in 105 milliseconds