Searched refs:pci_class (Results 1 – 7 of 7) sorted by relevance
288 devclass_t pci_class; in bgx_find_root_pcib() local291 pci_class = devclass_find("pci"); in bgx_find_root_pcib()292 KASSERT(device_get_devclass(device_get_parent(dev)) == pci_class, in bgx_find_root_pcib()301 if (device_get_devclass(bus) != pci_class) in bgx_find_root_pcib()312 if (device_get_devclass(device_get_parent(pcib)) != pci_class) in bgx_find_root_pcib()
175 static struct pci_class struct191 static void biospci_addinfo(int devid, struct pci_class *pc, struct pci_subclass *psc, struct pci_p… argument262 struct pci_class *pc; in biospci_enumerate()296 biospci_addinfo(int devid, struct pci_class *pc, struct pci_subclass *psc, struct pci_progif *ppi) in biospci_addinfo()
606 devclass_t pci_class; in dmar_dev_depth() local610 pci_class = devclass_find("pci"); in dmar_dev_depth()615 pci_class) in dmar_dev_depth()624 devclass_t pci_class; in dmar_dev_path() local628 pci_class = devclass_find("pci"); in dmar_dev_path()636 pci_class) { in dmar_dev_path()
120 devclass_t pci_class; in iommu_get_requester() local126 pci_class = devclass_find("pci"); in iommu_get_requester()130 if (pci == NULL || device_get_devclass(pci) != pci_class) { in iommu_get_requester()146 KASSERT(device_get_devclass(pci) == pci_class, in iommu_get_requester()162 if (device_get_devclass(pcip) != pci_class) in iommu_get_requester()
763 devclass_t pci_class; in thunder_pem_attach() local776 pci_class = devclass_find("pci"); in thunder_pem_attach()778 if (device_get_devclass(parent) == pci_class) in thunder_pem_attach()
1829 devclass_t pci_class; in smmu_ctx_init() local1840 pci_class = devclass_find("pci"); in smmu_ctx_init()1841 if (device_get_devclass(device_get_parent(ctx->dev)) == pci_class) { in smmu_ctx_init()1867 if (device_get_devclass(device_get_parent(ctx->dev)) == pci_class) in smmu_ctx_init()
6474 devclass_t pci_class; in pci_find_pcie_root_port() local6477 pci_class = devclass_find("pci"); in pci_find_pcie_root_port()6478 KASSERT(device_get_devclass(device_get_parent(dev)) == pci_class, in pci_find_pcie_root_port()6498 if (device_get_devclass(device_get_parent(pcib)) != pci_class) in pci_find_pcie_root_port()