Searched refs:PCI_DEVFN (Results 1 – 6 of 6) sorted by relevance
| /src/sys/dev/xen/pcifront/ |
| H A D | pcifront.c | 586 #define PCI_DEVFN(slot,func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro 598 .devfn = PCI_DEVFN(slot, func), in xpcib_read_config() 625 .devfn = PCI_DEVFN(slot, func), in xpcib_write_config()
|
| /src/sys/dev/hyperv/pcib/ |
| H A D | vmbus_pcib.c | 484 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro 512 return (PCI_DEVFN(slot, func)); in wslot_to_devfn() 1684 devfn = PCI_DEVFN(pci_get_slot(child), in vmbus_pcib_alloc_resource() 1776 unsigned int devfn = PCI_DEVFN(slot, func); in vmbus_pcib_read_config() 1796 unsigned int devfn = PCI_DEVFN(slot, func); in vmbus_pcib_write_config() 1900 devfn = PCI_DEVFN(pci_get_slot(child), pci_get_function(child)); in vmbus_pcib_map_msi()
|
| /src/sys/compat/linuxkpi/common/include/linux/ |
| H A D | pci.h | 81 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro
|
| /src/sys/compat/linuxkpi/common/src/ |
| H A D | linux_pci.c | 357 pdev->devfn = PCI_DEVFN(pci_get_slot(dev), pci_get_function(dev)); in lkpifill_pci_dev()
|
| /src/sys/contrib/dev/iwlwifi/pcie/gen1_2/ |
| H A D | trans.c | 2238 bt = pci_get_slot(bus, PCI_DEVFN(slot, 1)); in iwl_trans_pcie_removal_wk()
|
| /src/sys/dev/bnxt/bnxt_en/ |
| H A D | if_bnxt.c | 2341 softc->dev_fn = PCI_DEVFN(softc->slot, softc->function); in bnxt_attach_pre()
|