Home
last modified time | relevance | path

Searched refs:ClassCode (Results 1 – 25 of 54) sorted by relevance

123

/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DHwDebug.c232 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/
DEfiRom.c624 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 …]
DEfiRom.h73 UINT32 ClassCode; member
83 UINT16 ClassCode; member
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/
DPciDevice.c62 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/
DNonDiscoverablePciDeviceIo.c1423 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/
DEfiRom.c88 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/
DXenSupport.c380 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/
DPcatPciRootBridge.c353 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/
DPciHostBridgeSupport.c506 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/
DLegacyIde.c298 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/
Dpci22.h45 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
Dpci30.h40 UINT8 ClassCode[3]; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
Dpci22.h38 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
Dpci30.h32 UINT8 ClassCode[3]; member
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Wpce791/
DLpcDriver.c189 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/
DPcatIsaAcpi.c106 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/
DEmbeddedDevice.h49 UINT8 ClassCode[3]; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DPci22.h41 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
DPci30.h67 UINT8 ClassCode[3]; member
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordSmm/
DOpalIdeMode.c431 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/
DSataController.c325 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/
DSataController.c355 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/
DSataController.c355 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/
DNvmExpress.c736 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/
DSataController.c355 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()

123