Searched refs:PCI_RID2BUS (Results 1 – 10 of 10) sorted by relevance
| /freebsd-14-stable/sys/dev/pci/ |
| HD | pcib_support.c | 79 *bus = PCI_RID2BUS(rid); in pcib_decode_rid()
|
| HD | pcireg.h | 70 #define PCI_RID2BUS(rid) (((rid) >> PCI_RID_BUS_SHIFT) & PCI_BUSMAX) macro
|
| HD | pci_iov.c | 738 if (pci_get_bus(dev) != PCI_RID2BUS(last_rid)) { in pci_iov_config()
|
| HD | pci_pci.c | 2838 *bus = PCI_RID2BUS(rid); in pcib_ari_decode_rid()
|
| /freebsd-14-stable/sys/amd64/vmm/intel/ |
| HD | vtd.c | 216 if (PCI_RID2BUS(rid) != device_scope->Bus) in vtd_device_scope() 447 bus = PCI_RID2BUS(rid); in vtd_add_device() 489 bus = PCI_RID2BUS(rid); in vtd_remove_device()
|
| /freebsd-14-stable/sys/x86/iommu/ |
| HD | intel_ctx.c | 121 ctxp = iommu_map_pgtbl(dmar->ctx_obj, 1 + PCI_RID2BUS(ctx->context.rid), in dmar_map_ctx_entry() 519 bus = PCI_RID2BUS(rid); in dmar_get_ctx_for_dev1() 538 dmar_ensure_ctx_page(dmar, PCI_RID2BUS(rid)); in dmar_get_ctx_for_dev1()
|
| HD | amd_ctx.c | 493 PCI_RID2BUS(ctx->context.rid))) { in dte_entry_init() 517 bus = PCI_RID2BUS(rid); in amdiommu_get_ctx_for_dev()
|
| HD | intel_fault.c | 219 bus = PCI_RID2BUS(sid); in dmar_fault_task()
|
| /freebsd-14-stable/sys/amd64/vmm/amd/ |
| HD | amdvi_hw.c | 67 #define RID2PCI_STR(d) PCI_RID2BUS(d), PCI_RID2SLOT(d), PCI_RID2FUNC(d) 128 return (pci_cfgregread(softc->pci_seg, PCI_RID2BUS(softc->pci_rid), in amdvi_pci_read() 147 dev = pci_find_bsf(PCI_RID2BUS(devid), PCI_RID2SLOT(devid), in amdvi_find_ats_qlen()
|
| HD | ivrs_drv.c | 653 PCI_RID2BUS(ivhd->Header.DeviceId), in ivhd_attach()
|