Home
last modified time | relevance | path

Searched full:devfn (Results 1 – 4 of 4) sorted by relevance

/kvm-unit-tests/lib/
H A Dpci.c335 pcidevaddr_t devfn; in pci_print() local
338 for (devfn = 0; devfn < PCI_DEVFN_MAX; ++devfn) { in pci_print()
339 if (pci_dev_exists(devfn)) { in pci_print()
340 pci_dev_init(&pci_dev, devfn); in pci_print()
H A Dpci-host-generic.c280 static void __iomem *pci_get_dev_conf(struct pci_host_bridge *host, int devfn) in pci_get_dev_conf() argument
282 return host->start + (devfn << PCI_ECAM_DEVFN_SHIFT); in pci_get_dev_conf()
/kvm-unit-tests/lib/x86/
H A Dintel-iommu.c178 uint8_t bus_n, devfn; in vtd_map_range() local
188 devfn = PCI_BDF_GET_DEVFN(sid); in vtd_map_range()
204 ce += devfn; in vtd_map_range()
218 printf("allocated vt-d context entry for devfn %#x\n", in vtd_map_range()
219 devfn); in vtd_map_range()
/kvm-unit-tests/lib/linux/
H A Dpci_regs.h419 #define PCI_X_STATUS_DEVFN 0x000000ff /* A copy of devfn */