Home
last modified time | relevance | path

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; in scan_pci_bus() local
279 first_devfn = dev->devfn; in scan_pci_bus()
285 dev->devfn = 0; in scan_pci_bus()
296 for (devfn = first_devfn; devfn < 0xff; ++devfn, first_driver = 0) { in scan_pci_bus()
297 if (PCI_FUNC (devfn) == 0) in scan_pci_bus()
315 bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in scan_pci_bus()
323 pcibios_read_config_byte(bus, devfn, i, &byte); in scan_pci_bus()
343 dev->devfn = devfn; in scan_pci_bus()
351 pcibios_read_config_dword(bus, devfn, in scan_pci_bus()
357 pcibios_read_config_dword(bus, devfn, in scan_pci_bus()
[all …]
H A Dpci.h241 #define PCI_SLOT(devfn) ((devfn) >> 3) argument
242 #define PCI_FUNC(devfn) ((devfn) & 0x07) argument
277 unsigned char devfn; member
299 return pcibios_read_config_byte(dev->bus, dev->devfn, where, value); in pci_read_config_byte()
304 return pcibios_write_config_byte(dev->bus, dev->devfn, where, value); in pci_write_config_byte()
309 return pcibios_read_config_word(dev->bus, dev->devfn, where, value); in pci_read_config_word()
314 return pcibios_write_config_word(dev->bus, dev->devfn, where, value); in pci_write_config_word()
319 return pcibios_read_config_dword(dev->bus, dev->devfn, where, value); in pci_read_config_dword()
324 return pcibios_write_config_dword(dev->bus, dev->devfn, where, value); in pci_write_config_dword()
H A Dsis900.c253 pcibios_read_config_byte(p->bus,p->devfn, 0x48, &reg); in sis630e_get_mac_addr()
254 pcibios_write_config_byte(p->bus,p->devfn, 0x48, reg | 0x40); in sis630e_get_mac_addr()
261 pcibios_write_config_byte(p->bus,p->devfn, 0x48, reg & ~0x40); in sis630e_get_mac_addr()
335 pcibios_write_config_dword(pci->bus, pci->devfn, 0x40, 0x00000000); in sis900_probe()
341 pcibios_read_config_byte(pci->bus,pci->devfn, PCI_REVISION, &revision); in sis900_probe()
H A Dconfig.c32 state->dev.devfn = 0; in pci_probe()
H A Dnatsemi.c269 pcibios_read_config_dword(pci->bus, pci->devfn, PCIPM, &tmp); in natsemi_probe()
273 pcibios_write_config_dword(pci->bus, pci->devfn, PCIPM, newtmp); in natsemi_probe()
H A Ddavicom.c673 pcibios_write_config_dword(pci->bus, pci->devfn, 0x40, 0x00000000); in davicom_probe()
H A Dundi.c451 undi.pxs->loader.ax = ( undi.pci.bus << 8 ) | undi.pci.devfn; in undi_loader()
512 undi.pxs->start_undi.ax = ( undi.pci.bus << 8 ) | undi.pci.devfn; in eb_pxenv_start_undi()
H A Dw89c840.c628 …printf("winbond-840: PCI bus %hhX device function %hhX: I/O address: %hX\n", p->bus, p->devfn, ioa… in w89c840_probe()
H A Dtulip.c1291 pcibios_write_config_dword(pci->bus, pci->devfn, 0x40, 0x00000000); in tulip_probe()
1299 pcibios_read_config_byte(pci->bus, pci->devfn, PCI_REVISION, &chip_rev); in tulip_probe()
H A Dtg3.c2816 if (PCI_FUNC(tp->pdev->devfn) == 0) in tg3_get_device_address()
/illumos-gate/usr/src/uts/common/xen/public/
H A Dphysdev.h156 int devfn; member
180 uint8_t devfn; member
190 uint8_t devfn; member
199 uint8_t devfn; member
204 uint8_t devfn; member
/illumos-gate/usr/src/uts/i86xpv/io/psm/
H A Dxpv_psm.c1037 managed_devlist[i].devfn == devfn) in xen_manage_device()
1041 manage_pci.devfn = devfn; in xen_manage_device()
1046 " devfn:0x%x", bus, devfn); in xen_manage_device()
1069 managed_devlist[i].devfn = devfn; in xen_manage_device()
1185 int busnum, devfn; in apic_alloc_msi_vectors() local
1212 get_busdevfn(dip, &busnum, &devfn); in apic_alloc_msi_vectors()
1217 if (!xen_manage_device(busnum, devfn)) in apic_alloc_msi_vectors()
1232 map_irq.devfn = devfn; in apic_alloc_msi_vectors()
1303 int busnum, devfn; in apic_alloc_msix_vectors() local
1328 get_busdevfn(dip, &busnum, &devfn); in apic_alloc_msix_vectors()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_impl.h181 #define BUS_DEVFN_TO_BDF(b, devfn) (devfn) argument
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dosl.c1042 int bus, device, func, devfn; in AcpiOsDerivePciId() local