Searched refs:PCI_SLOT (Results 1 – 7 of 7) sorted by relevance
| /freebsd/sys/dev/pms/freebsd/driver/common/ |
| H A D | lxcommon.h | 582 pdev->vendor, pdev->device, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)) \
|
| /freebsd/sys/dev/hyperv/pcib/ |
| H A D | vmbus_pcib.c | 485 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) macro 494 wslot.bits.slot = PCI_SLOT(devfn); in devfn_to_wslot() 645 0, PCI_SLOT(devfn), PCI_FUNC(devfn)); in hv_pci_delete_device()
|
| /freebsd/sys/dev/bnxt/bnxt_re/ |
| H A D | main.c | 3984 int tmp_dev_num, dev_num = PCI_SLOT(pdev_in->devfn); in bnxt_re_get_peer_pf() 3991 tmp_dev_num = PCI_SLOT(tmp_rdev->en_dev->pdev->devfn); in bnxt_re_get_peer_pf() 4035 int tmp_dev_num, dev_num = PCI_SLOT(pdev_in->devfn); in bnxt_re_get_slot_pf_count() 4042 tmp_dev_num = PCI_SLOT(tmp_rdev->en_dev->pdev->devfn); in bnxt_re_get_slot_pf_count()
|
| /freebsd/sys/compat/linuxkpi/common/src/ |
| H A D | linux_pci.c | 483 dev = pci_find_dbsf(domain, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in lkpi_pci_get_domain_bus_and_slot() 497 dev = pci_find_bsf(pbus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); in lkpi_pci_get_slot()
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | pci.h | 93 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) macro
|
| /freebsd/sys/contrib/dev/iwlwifi/pcie/gen1_2/ |
| H A D | trans.c | 2234 int slot = PCI_SLOT(pdev->devfn); in iwl_trans_pcie_removal_wk()
|
| /freebsd/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_main.c | 3056 return PCI_SLOT(pdev->devfn) * 8 + PCI_FUNC(pdev->devfn); in extended_func_num()
|