Lines Matching refs:pciInfo
99 struct pci_device *pciInfo = NULL;
106 pciInfo = malloc(sizeof(struct pci_device));
108 pciInfo->vendor_id = pciCfg.VendorID;
109 pciInfo->device_id = pciCfg.DeviceID;
110 pciInfo->revision = pciCfg.RevisionID;
111 pciInfo->subvendor_id = pciCfg.SubVendorID;
112 pciInfo->subdevice_id = pciCfg.SubSystemID;
118 pciInfo->regions[i].base_addr = (memType)PCIGETIO(bar);
121 pciInfo->regions[i].size = AST_REG_SIZE_LOG2;
122 pciInfo->regions[i].base_addr = (memType)PCIGETMEMORY(bar);
125 pciInfo->regions[i].base_addr = 0;
129 pciInfo->regions[i].base_addr |= (memType)bar_hi << 32;
138 return pciInfo;