Searched refs:PCI_RID2BUS (Results 1 – 10 of 10) sorted by relevance
| /freebsd/sys/dev/pci/ |
| H A D | pcib_support.c | 79 *bus = PCI_RID2BUS(rid); in pcib_decode_rid()
|
| H A D | pci_iov.c | 737 if (pci_get_bus(dev) != PCI_RID2BUS(last_rid)) { in pci_iov_config() 741 uint16_t vf_bus = PCI_RID2BUS(last_rid); in pci_iov_config()
|
| H A D | pcireg.h | 70 #define PCI_RID2BUS(rid) (((rid) >> PCI_RID_BUS_SHIFT) & PCI_BUSMAX) macro
|
| H A D | pci_pci.c | 2428 *bus = PCI_RID2BUS(rid); in pcib_ari_decode_rid()
|
| /freebsd/sys/amd64/vmm/intel/ |
| H A D | vtd.c | 215 if (PCI_RID2BUS(rid) != device_scope->Bus) in vtd_device_scope() 446 bus = PCI_RID2BUS(rid); in vtd_add_device() 489 bus = PCI_RID2BUS(rid); in vtd_remove_device()
|
| /freebsd/sys/x86/iommu/ |
| H A D | intel_ctx.c | 120 ctxp = iommu_map_pgtbl(dmar->ctx_obj, 1 + PCI_RID2BUS(ctx->context.rid), in dmar_map_ctx_entry() 518 bus = PCI_RID2BUS(rid); in dmar_get_ctx_for_dev1() 537 dmar_ensure_ctx_page(dmar, PCI_RID2BUS(rid)); in dmar_get_ctx_for_dev1()
|
| H A D | amd_ctx.c | 493 PCI_RID2BUS(ctx->context.rid))) { in dte_entry_init() 517 bus = PCI_RID2BUS(rid); in amdiommu_get_ctx_for_dev()
|
| H A D | intel_fault.c | 219 bus = PCI_RID2BUS(sid); in dmar_fault_task()
|
| /freebsd/sys/amd64/vmm/amd/ |
| H A D | amdvi_hw.c | 66 #define RID2PCI_STR(d) PCI_RID2BUS(d), PCI_RID2SLOT(d), PCI_RID2FUNC(d) 127 return (pci_cfgregread(softc->pci_seg, PCI_RID2BUS(softc->pci_rid), in amdvi_pci_read() 146 dev = pci_find_bsf(PCI_RID2BUS(devid), PCI_RID2SLOT(devid), in amdvi_find_ats_qlen()
|
| H A D | ivrs_drv.c | 653 PCI_RID2BUS(ivhd->Header.DeviceId), in ivhd_attach()
|