Searched refs:PCI_RID2BUS (Results 1 – 9 of 9) 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 | pcireg.h | 70 #define PCI_RID2BUS(rid) (((rid) >> PCI_RID_BUS_SHIFT) & PCI_BUSMAX) macro
|
H A D | pci_iov.c | 738 if (pci_get_bus(dev) != PCI_RID2BUS(last_rid)) { in pci_iov_config()
|
H A D | pci_pci.c | 2821 *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() 488 bus = PCI_RID2BUS(rid); in vtd_remove_device()
|
/freebsd/sys/x86/iommu/ |
H A D | intel_ctx.c | 118 ctxp = iommu_map_pgtbl(dmar->ctx_obj, 1 + PCI_RID2BUS(ctx->context.rid), in dmar_map_ctx_entry() 535 bus = PCI_RID2BUS(rid); in dmar_get_ctx_for_dev1() 554 dmar_ensure_ctx_page(dmar, PCI_RID2BUS(rid)); in dmar_get_ctx_for_dev1()
|
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()
|