Home
last modified time | relevance | path

Searched refs:PCI_RID2BUS (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/dev/pci/
H A Dpcib_support.c79 *bus = PCI_RID2BUS(rid); in pcib_decode_rid()
H A Dpcireg.h70 #define PCI_RID2BUS(rid) (((rid) >> PCI_RID_BUS_SHIFT) & PCI_BUSMAX) macro
H A Dpci_iov.c738 if (pci_get_bus(dev) != PCI_RID2BUS(last_rid)) { in pci_iov_config()
H A Dpci_pci.c2821 *bus = PCI_RID2BUS(rid); in pcib_ari_decode_rid()
/freebsd/sys/amd64/vmm/intel/
H A Dvtd.c215 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 Dintel_ctx.c118 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 Dintel_fault.c219 bus = PCI_RID2BUS(sid); in dmar_fault_task()
/freebsd/sys/amd64/vmm/amd/
H A Damdvi_hw.c66 #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 Divrs_drv.c653 PCI_RID2BUS(ivhd->Header.DeviceId), in ivhd_attach()