Searched refs:PCI_DEVFN (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/sys/dev/xen/pcifront/ |
| H A D | pcifront.c | 587 #define PCI_DEVFN(slot,func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro 599 .devfn = PCI_DEVFN(slot, func), in xpcib_read_config() 626 .devfn = PCI_DEVFN(slot, func), in xpcib_write_config()
|
| /freebsd-12.1/sys/dev/hyperv/pcib/ |
| H A D | vmbus_pcib.c | 380 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro 408 return (PCI_DEVFN(slot, func)); in wslot_to_devfn() 1545 devfn = PCI_DEVFN(pci_get_slot(child), in vmbus_pcib_alloc_resource() 1603 unsigned int devfn = PCI_DEVFN(slot, func); in vmbus_pcib_read_config() 1623 unsigned int devfn = PCI_DEVFN(slot, func); in vmbus_pcib_write_config() 1694 devfn = PCI_DEVFN(pci_get_slot(child), pci_get_function(child)); in vmbus_pcib_map_msi()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_pci.c | 154 pdev->devfn = PCI_DEVFN(pci_get_slot(dev), pci_get_function(dev)); in linux_pci_attach()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | pci.h | 98 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro
|