Lines Matching refs:pPci
353 xf86IsPrimaryPci(struct pci_device *pPci)
360 return pPci == primaryBus.id.pci;
364 if (MATCH_PCI_DEVICES(primaryBus.id.plat->pdev, pPci))
398 xf86CheckPciMemBase(struct pci_device *pPci, memType base)
403 if (base == pPci->regions[i].base_addr)
442 struct pci_device *pPci;
447 while ((pPci = pci_device_next(iter)) != NULL) {
452 if (PCI_ID_COMPARE(devices[j].vendor_id, pPci->vendor_id)
453 && PCI_ID_COMPARE(devices[j].device_id, pPci->device_id)
454 && ((devices[j].device_class_mask & pPci->device_class)
456 if (xf86CheckPciSlot(pPci)) {
459 pPci, -1);
485 struct pci_device *pPci;
498 while ((pPci = pci_device_next(iter)) != NULL) {
501 ((pPci->domain << 8)
502 | pPci->bus),
503 pPci->dev, pPci->func)) {
507 else if (xf86IsPrimaryPci(pPci)) {
514 if (pPci == NULL) {
518 ? devList[i]->chipID : pPci->device_id;
524 if (PCI_ID_COMPARE(devices[j].vendor_id, pPci->vendor_id)
526 && ((devices[j].device_class_mask & pPci->device_class)
537 if ((devList[i]->screen == 0) && !xf86CheckPciSlot(pPci))
541 drvp->driverName, pPci->bus, pPci->dev, pPci->func);
544 entry = xf86ClaimPciSlot(pPci, drvp, device_id,
555 pPci) {
564 if ((*drvp->PciProbe) (drvp, entry, pPci,
569 xf86UnclaimPciSlot(pPci, devList[i]);
659 struct pci_device *pPci;
681 while ((pPci = pci_device_next(iter)) != NULL) {
690 while ((pPci = pci_device_next(iter)) != NULL) {
691 unsigned device_class = pPci->device_class;
717 if ((vendor_id == pPci->vendor_id)
722 instances[allocatedInstances - 1].pci = pPci;
731 if ((device_id == pPci->device_id)
740 if (xf86CheckPciSlot(pPci)) {
743 BUS_PCI, pPci, -1);
799 pPci = instances[i].pci;
801 PCI_MAKE_BUS(pPci->domain,
802 pPci->bus), pPci->dev,
803 pPci->func)) {
819 pPci = instances[i].pci;
823 PCI_MAKE_BUS(pPci->domain,
824 pPci->bus), pPci->dev,
825 pPci->func) &&
843 if (xf86IsPrimaryPci(pPci)) {
859 if (xf86CheckPciSlot(pPci) && pciDeviceHasBars(pPci)) {
862 driverName, pPci->bus, pPci->domain, pPci->dev,
863 pPci->func);
965 pPci = instances[i].pci;
975 if (instances[i].screen == 0 && !xf86CheckPciSlot(pPci))
979 driverName, pPci->bus, pPci->dev, pPci->func);
984 retEntities[numFound - 1] = xf86ClaimPciSlot(pPci, drvp,
994 if (pEnt->bus.id.pci == pPci) {