Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/dev/pci/
HDpcib_support.c79 *bus = PCI_RID2BUS(rid); in pcib_decode_rid()
HDpcireg.h70 #define PCI_RID2BUS(rid) (((rid) >> PCI_RID_BUS_SHIFT) & PCI_BUSMAX) macro
HDpci_iov.c738 if (pci_get_bus(dev) != PCI_RID2BUS(last_rid)) { in pci_iov_config()
HDpci_pci.c2838 *bus = PCI_RID2BUS(rid); in pcib_ari_decode_rid()
/freebsd-14-stable/sys/amd64/vmm/intel/
HDvtd.c216 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/
HDintel_ctx.c121 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()
HDamd_ctx.c493 PCI_RID2BUS(ctx->context.rid))) { in dte_entry_init()
517 bus = PCI_RID2BUS(rid); in amdiommu_get_ctx_for_dev()
HDintel_fault.c219 bus = PCI_RID2BUS(sid); in dmar_fault_task()
/freebsd-14-stable/sys/amd64/vmm/amd/
HDamdvi_hw.c67 #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()
HDivrs_drv.c653 PCI_RID2BUS(ivhd->Header.DeviceId), in ivhd_attach()