/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | HwDebug.c | 232 if (Hdr->ClassCode[2] < sizeof (gPciDevClass)/sizeof (VOID *)) { in EblPciCmd() 233 Str = gPciDevClass[Hdr->ClassCode[2]]; in EblPciCmd() 234 if (Hdr->ClassCode[2] == PCI_CLASS_SERIAL) { in EblPciCmd() 235 if (Hdr->ClassCode[1] < sizeof (gPciSerialClassCodes)/sizeof (VOID *)) { in EblPciCmd() 237 Str = gPciSerialClassCodes[Hdr->ClassCode[1]]; in EblPciCmd() 243 …sciiPrint (" 0x%04x 0x%04x %a 0x%02x", Hdr->VendorId, Hdr->DeviceId, Str, Hdr->ClassCode[1]); in EblPciCmd() 284 …iPrint (" Class Code: 0x%02x 0x%02x 0x%02x\n", Hdr->ClassCode[2], Hdr->ClassCode[1], Hdr->ClassCo… in EblPciCmd()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiRom/ |
D | EfiRom.c | 624 PciDs23.ClassCode[0] = (UINT8) InFile->ClassCode; in ProcessEfiFile() 625 PciDs23.ClassCode[1] = (UINT8) (InFile->ClassCode >> 8); in ProcessEfiFile() 626 PciDs23.ClassCode[2] = (UINT8) (InFile->ClassCode >> 16); in ProcessEfiFile() 640 PciDs30.ClassCode[0] = (UINT8) InFile->ClassCode; in ProcessEfiFile() 641 PciDs30.ClassCode[1] = (UINT8) (InFile->ClassCode >> 8); in ProcessEfiFile() 642 PciDs30.ClassCode[2] = (UINT8) (InFile->ClassCode >> 16); in ProcessEfiFile() 884 UINT32 ClassCode; in ParseCommandLine() local 905 ClassCode = 0; in ParseCommandLine() 1073 ClassCode = (UINT32) TempValue; in ParseCommandLine() 1074 if (ClassCode & 0xFF000000) { in ParseCommandLine() [all …]
|
D | EfiRom.h | 73 UINT32 ClassCode; member 83 UINT16 ClassCode; member
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/ |
D | PciDevice.c | 62 UINT8 ClassCode; 488 if (PciIoDevice->Pci.Hdr.ClassCode[2] == PCI_CLASS_NETWORK) { in PciBusEvent() 497 while (BadDeviceTable[Index].ClassCode != 0xff) { in PciBusEvent() 499 if ((PciIoDevice->Pci.Hdr.ClassCode[2] == BadDeviceTable[Index].ClassCode) && in PciBusEvent() 500 (PciIoDevice->Pci.Hdr.ClassCode[1] == BadDeviceTable[Index].SubClassCode) && in PciBusEvent() 505 if ((PciIoDevice->Pci.Hdr.ClassCode[2] == BadDeviceTable[Index].ClassCode) && in PciBusEvent() 506 (PciIoDevice->Pci.Hdr.ClassCode[1] == BadDeviceTable[Index].SubClassCode) && in PciBusEvent()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/ |
D | NonDiscoverablePciDeviceIo.c | 1423 Dev->ConfigSpace.Hdr.ClassCode[0] = PCI_IF_MASS_STORAGE_AHCI; in InitializePciIoProtocol() 1424 Dev->ConfigSpace.Hdr.ClassCode[1] = PCI_CLASS_MASS_STORAGE_SATADPA; in InitializePciIoProtocol() 1425 Dev->ConfigSpace.Hdr.ClassCode[2] = PCI_CLASS_MASS_STORAGE; in InitializePciIoProtocol() 1429 Dev->ConfigSpace.Hdr.ClassCode[0] = PCI_IF_EHCI; in InitializePciIoProtocol() 1430 Dev->ConfigSpace.Hdr.ClassCode[1] = PCI_CLASS_SERIAL_USB; in InitializePciIoProtocol() 1431 Dev->ConfigSpace.Hdr.ClassCode[2] = PCI_CLASS_SERIAL; in InitializePciIoProtocol() 1435 Dev->ConfigSpace.Hdr.ClassCode[0] = 0x2; // PCI_IF_NVMHCI in InitializePciIoProtocol() 1436 Dev->ConfigSpace.Hdr.ClassCode[1] = 0x8; // PCI_CLASS_MASS_STORAGE_NVM in InitializePciIoProtocol() 1437 Dev->ConfigSpace.Hdr.ClassCode[2] = PCI_CLASS_MASS_STORAGE; in InitializePciIoProtocol() 1441 Dev->ConfigSpace.Hdr.ClassCode[0] = PCI_IF_OHCI; in InitializePciIoProtocol() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiRom/ |
D | EfiRom.c | 88 UINT32 ClassCode; member 778 PciDs.ClassCode[0] = (UINT8) InFile->ClassCode; in ProcessEfiFile() 779 PciDs.ClassCode[1] = (UINT8) (InFile->ClassCode >> 8); in ProcessEfiFile() 780 PciDs.ClassCode[2] = (UINT8) (InFile->ClassCode >> 16); in ProcessEfiFile() 1018 UINT32 ClassCode; in ParseCommandLine() local 1033 ClassCode = 0; in ParseCommandLine() 1171 ClassCode = (UINT32) strtol (Argv[1], NULL, 16); in ParseCommandLine() 1172 if (ClassCode & 0xFF000000) { in ParseCommandLine() 1257 FileList->ClassCode = ClassCode; in ParseCommandLine() 1259 ClassCode = 0; in ParseCommandLine() [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/PciHostBridgeLib/ |
D | XenSupport.c | 380 if (Pci.Hdr.ClassCode[0] & 0x80) { in ScanForRootBridges() 384 if (Pci.Hdr.ClassCode[0] & 0x01) { in ScanForRootBridges() 387 if (Pci.Hdr.ClassCode[0] & 0x04) { in ScanForRootBridges() 410 if (Pci.Hdr.ClassCode[2] == PCI_CLASS_BRIDGE) { in ScanForRootBridges() 411 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA || in ScanForRootBridges() 412 Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_EISA || in ScanForRootBridges() 413 Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA_PDECODE) { in ScanForRootBridges()
|
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/ |
D | PcatPciRootBridge.c | 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() [all …]
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PciHostBridgeLib/ |
D | PciHostBridgeSupport.c | 506 if (Pci.Hdr.ClassCode[0] & 0x80) { in ScanForRootBridges() 510 if (Pci.Hdr.ClassCode[0] & 0x01) { in ScanForRootBridges() 513 if (Pci.Hdr.ClassCode[0] & 0x04) { in ScanForRootBridges() 536 if (Pci.Hdr.ClassCode[2] == PCI_CLASS_BRIDGE) { in ScanForRootBridges() 537 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA || in ScanForRootBridges() 538 Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_EISA || in ScanForRootBridges() 539 Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA_PDECODE) { in ScanForRootBridges()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
D | LegacyIde.c | 298 if ((PciData.Hdr.ClassCode[2] != PCI_CLASS_MASS_STORAGE) || in InitLegacyIdeController() 299 (PciData.Hdr.ClassCode[1] != PCI_CLASS_MASS_STORAGE_IDE)) { in InitLegacyIdeController() 307 if ((PciData.Hdr.ClassCode[0] & IDE_PI_REGISTER_PNE) == 0) { in InitLegacyIdeController() 311 if ((PciData.Hdr.ClassCode[0] & IDE_PI_REGISTER_SNE) == 0) { in InitLegacyIdeController()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/ |
D | pci22.h | 45 UINT8 ClassCode[3]; member 265 #define IS_CLASS1(_p, c) ((_p)->Hdr.ClassCode[2] == (c)) 266 #define IS_CLASS2(_p, c, s) (IS_CLASS1 (_p, c) && ((_p)->Hdr.ClassCode[1] == (s))) 267 #define IS_CLASS3(_p, c, s, p) (IS_CLASS2 (_p, c, s) && ((_p)->Hdr.ClassCode[0] == (p))) 421 UINT8 ClassCode[3]; member
|
D | pci30.h | 40 UINT8 ClassCode[3]; member
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/ |
D | pci22.h | 38 UINT8 ClassCode[3]; member 256 #define IS_CLASS1(_p, c) ((_p)->Hdr.ClassCode[2] == (c)) 257 #define IS_CLASS2(_p, c, s) (IS_CLASS1 (_p, c) && ((_p)->Hdr.ClassCode[1] == (s))) 258 #define IS_CLASS3(_p, c, s, p) (IS_CLASS2 (_p, c, s) && ((_p)->Hdr.ClassCode[0] == (p))) 406 UINT8 ClassCode[3]; member
|
D | pci30.h | 32 UINT8 ClassCode[3]; member
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Wpce791/ |
D | LpcDriver.c | 189 if (Pci.Hdr.ClassCode[2] == PCI_CLASS_BRIDGE) { in LpcDriverSupported() 194 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA) { in LpcDriverSupported() 202 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA_PDECODE && in LpcDriverSupported()
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/IsaAcpiDxe/ |
D | PcatIsaAcpi.c | 106 if (Pci.Hdr.ClassCode[2] == PCI_CLASS_BRIDGE) { in PcatIsaAcpiDriverBindingSupported() 110 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA) { in PcatIsaAcpiDriverBindingSupported() 117 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA_PDECODE && in PcatIsaAcpiDriverBindingSupported()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/Protocol/ |
D | EmbeddedDevice.h | 49 UINT8 ClassCode[3]; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | Pci22.h | 41 UINT8 ClassCode[3]; member 317 #define IS_CLASS1(_p, c) ((_p)->Hdr.ClassCode[2] == (c)) 329 #define IS_CLASS2(_p, c, s) (IS_CLASS1 (_p, c) && ((_p)->Hdr.ClassCode[1] == (s))) 342 #define IS_CLASS3(_p, c, s, p) (IS_CLASS2 (_p, c, s) && ((_p)->Hdr.ClassCode[0] == (p))) 844 UINT8 ClassCode[3]; member
|
D | Pci30.h | 67 UINT8 ClassCode[3]; member
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordSmm/ |
D | OpalIdeMode.c | 431 UINT8 ClassCode; in GetIdeRegisterIoAddr() local 438 ClassCode = PciRead8 (PCI_LIB_ADDRESS (Bus, Device, Function, 0x9)); in GetIdeRegisterIoAddr() 444 if ((ClassCode & IDE_PRIMARY_OPERATING_MODE) == 0) { in GetIdeRegisterIoAddr() 473 if ((ClassCode & IDE_SECONDARY_OPERATING_MODE) == 0) { in GetIdeRegisterIoAddr()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SataControllerDxe/ |
D | SataController.c | 325 sizeof (PciData.Hdr.ClassCode), in SataControllerSupported() 326 PciData.Hdr.ClassCode in SataControllerSupported() 414 sizeof (PciData.Hdr.ClassCode), in SataControllerStart() 415 PciData.Hdr.ClassCode in SataControllerStart()
|
/device/linaro/bootloader/edk2/CorebootModulePkg/SataControllerDxe/ |
D | SataController.c | 355 sizeof (PciData.Hdr.ClassCode), in SataControllerSupported() 356 PciData.Hdr.ClassCode in SataControllerSupported() 444 sizeof (PciData.Hdr.ClassCode), in SataControllerStart() 445 PciData.Hdr.ClassCode in SataControllerStart()
|
/device/linaro/bootloader/edk2/DuetPkg/SataControllerDxe/ |
D | SataController.c | 355 sizeof (PciData.Hdr.ClassCode), in SataControllerSupported() 356 PciData.Hdr.ClassCode in SataControllerSupported() 444 sizeof (PciData.Hdr.ClassCode), in SataControllerStart() 445 PciData.Hdr.ClassCode in SataControllerStart()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/ |
D | NvmExpress.c | 736 UINT8 ClassCode[3]; in NvmExpressDriverBindingSupported() local 817 sizeof (ClassCode), in NvmExpressDriverBindingSupported() 818 ClassCode in NvmExpressDriverBindingSupported() 827 …if ((ClassCode[0] != PCI_IF_NVMHCI) || (ClassCode[1] != PCI_CLASS_MASS_STORAGE_NVM) || (ClassCode[… in NvmExpressDriverBindingSupported()
|
/device/linaro/bootloader/edk2/OvmfPkg/SataControllerDxe/ |
D | SataController.c | 355 sizeof (PciData.Hdr.ClassCode), in SataControllerSupported() 356 PciData.Hdr.ClassCode in SataControllerSupported() 460 sizeof (PciData.Hdr.ClassCode), in SataControllerStart() 461 PciData.Hdr.ClassCode in SataControllerStart()
|