Lines Matching refs:PciConfigurationHeader

56   PCI_TYPE01                     PciConfigurationHeader;  in InitializePcatPciRootBridge()  local
210 sizeof (PciConfigurationHeader) / sizeof (UINT16), in InitializePcatPciRootBridge()
211 &PciConfigurationHeader in InitializePcatPciRootBridge()
229 if (PciConfigurationHeader.Hdr.Command & 0x20) { in InitializePcatPciRootBridge()
236 if (IS_PCI_BRIDGE(&PciConfigurationHeader)) { in InitializePcatPciRootBridge()
240 if (PciConfigurationHeader.Bridge.SubordinateBus > PrivateData->SubordinateBus) { in InitializePcatPciRootBridge()
245 PrivateData->SubordinateBus = PciConfigurationHeader.Bridge.SubordinateBus; in InitializePcatPciRootBridge()
251 Value = PciConfigurationHeader.Bridge.IoBase & 0x0f; in InitializePcatPciRootBridge()
252 Base = ((UINT32)PciConfigurationHeader.Bridge.IoBase & 0xf0) << 8; in InitializePcatPciRootBridge()
253 Limit = (((UINT32)PciConfigurationHeader.Bridge.IoLimit & 0xf0) << 8) | 0x0fff; in InitializePcatPciRootBridge()
255 Base |= ((UINT32)PciConfigurationHeader.Bridge.IoBaseUpper16 << 16); in InitializePcatPciRootBridge()
256 Limit |= ((UINT32)PciConfigurationHeader.Bridge.IoLimitUpper16 << 16); in InitializePcatPciRootBridge()
270 Base = ((UINT32)PciConfigurationHeader.Bridge.MemoryBase & 0xfff0) << 16; in InitializePcatPciRootBridge()
271 Limit = (((UINT32)PciConfigurationHeader.Bridge.MemoryLimit & 0xfff0) << 16) | 0xfffff; in InitializePcatPciRootBridge()
290 Value = PciConfigurationHeader.Bridge.PrefetchableMemoryBase & 0x0f; in InitializePcatPciRootBridge()
291 Base = ((UINT32)PciConfigurationHeader.Bridge.PrefetchableMemoryBase & 0xfff0) << 16; in InitializePcatPciRootBridge()
292 …Limit = (((UINT32)PciConfigurationHeader.Bridge.PrefetchableMemoryLimit & 0xfff0) << 16) | 0xfffff… in InitializePcatPciRootBridge()
294 Base |= LShiftU64((UINT64)PciConfigurationHeader.Bridge.PrefetchableBaseUpper32,32); in InitializePcatPciRootBridge()
295 Limit |= LShiftU64((UINT64)PciConfigurationHeader.Bridge.PrefetchableLimitUpper32,32); in InitializePcatPciRootBridge()
325 if (PciConfigurationHeader.Bridge.BridgeControl & 0x04) { in InitializePcatPciRootBridge()
329 if (PciConfigurationHeader.Bridge.BridgeControl & 0x08) { in InitializePcatPciRootBridge()
340 if ((PciConfigurationHeader.Hdr.HeaderType & HEADER_LAYOUT_CODE) == HEADER_TYPE_DEVICE) { in InitializePcatPciRootBridge()
343 PciConfigurationHeader.Hdr.Command, in InitializePcatPciRootBridge()
353 if (PciConfigurationHeader.Hdr.ClassCode[2] == 0x01 && in InitializePcatPciRootBridge()
354 PciConfigurationHeader.Hdr.ClassCode[1] == 0x01 ) { in InitializePcatPciRootBridge()
355 if (PciConfigurationHeader.Hdr.ClassCode[0] & 0x80) { in InitializePcatPciRootBridge()
359 if (PciConfigurationHeader.Hdr.ClassCode[0] & 0x01) { in InitializePcatPciRootBridge()
362 if (PciConfigurationHeader.Hdr.ClassCode[0] & 0x04) { in InitializePcatPciRootBridge()
370 if (PciConfigurationHeader.Hdr.ClassCode[2] == 0x00 && in InitializePcatPciRootBridge()
371 PciConfigurationHeader.Hdr.ClassCode[1] == 0x01 ) { in InitializePcatPciRootBridge()
380 if (PciConfigurationHeader.Hdr.ClassCode[2] == 0x03 && in InitializePcatPciRootBridge()
381 PciConfigurationHeader.Hdr.ClassCode[1] == 0x00 ) { in InitializePcatPciRootBridge()
391 if (PciConfigurationHeader.Hdr.ClassCode[2] == 0x06) { in InitializePcatPciRootBridge()
392 if (PciConfigurationHeader.Hdr.ClassCode[1] == 0x01 || in InitializePcatPciRootBridge()
393 PciConfigurationHeader.Hdr.ClassCode[1] == 0x02 || in InitializePcatPciRootBridge()
394 PciConfigurationHeader.Hdr.ClassCode[1] == 0x80 ) { in InitializePcatPciRootBridge()
411 … if (Function == 0 && !(PciConfigurationHeader.Hdr.HeaderType & HEADER_TYPE_MULTI_FUNCTION)) { in InitializePcatPciRootBridge()