/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/ |
D | AtaAtapiPassThru.c | 1008 EFI_ATA_DEVICE_INFO *DeviceInfo; in SearchDeviceInfoList() local 1013 DeviceInfo = ATA_ATAPI_DEVICE_INFO_FROM_THIS (Node); in SearchDeviceInfoList() 1022 (DeviceInfo->Type == EfiIdeCdrom) && in SearchDeviceInfoList() 1027 if ((DeviceInfo->Type == DeviceType) && in SearchDeviceInfoList() 1028 (Port == DeviceInfo->Port) && in SearchDeviceInfoList() 1029 (PortMultiplier == DeviceInfo->PortMultiplier)) { in SearchDeviceInfoList() 1064 EFI_ATA_DEVICE_INFO *DeviceInfo; in CreateNewDeviceInfo() local 1066 DeviceInfo = AllocateZeroPool (sizeof (EFI_ATA_DEVICE_INFO)); in CreateNewDeviceInfo() 1068 if (DeviceInfo == NULL) { in CreateNewDeviceInfo() 1072 DeviceInfo->Signature = ATA_ATAPI_DEVICE_SIGNATURE; in CreateNewDeviceInfo() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/GraphicsOutputDxe/ |
D | GraphicsOutput.c | 317 EFI_PEI_GRAPHICS_DEVICE_INFO_HOB *DeviceInfo; in GraphicsOutputDriverBindingStart() local 327 if ((HobStart == NULL) || (GET_GUID_HOB_DATA_SIZE (HobStart) < sizeof (*DeviceInfo))) { in GraphicsOutputDriverBindingStart() 331 DeviceInfo = &mDefaultGraphicsDeviceInfo; in GraphicsOutputDriverBindingStart() 334 DeviceInfo = (EFI_PEI_GRAPHICS_DEVICE_INFO_HOB *) (GET_GUID_HOB_DATA (HobStart)); in GraphicsOutputDriverBindingStart() 340 DeviceInfo->VendorId, DeviceInfo->DeviceId, in GraphicsOutputDriverBindingStart() 341 DeviceInfo->RevisionId, DeviceInfo->BarIndex, in GraphicsOutputDriverBindingStart() 342 DeviceInfo->SubsystemVendorId, DeviceInfo->SubsystemId)); in GraphicsOutputDriverBindingStart() 380 ((DeviceInfo->VendorId != MAX_UINT16) && (DeviceInfo->VendorId != Pci.Hdr.VendorId)) || in GraphicsOutputDriverBindingStart() 381 ((DeviceInfo->DeviceId != MAX_UINT16) && (DeviceInfo->DeviceId != Pci.Hdr.DeviceId)) || in GraphicsOutputDriverBindingStart() 382 ((DeviceInfo->RevisionId != MAX_UINT8) && (DeviceInfo->RevisionId != Pci.Hdr.RevisionID)) || in GraphicsOutputDriverBindingStart() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSerialPortLib16550/ |
D | BaseSerialPortLib16550.c | 204 PCI_UART_DEVICE_INFO *DeviceInfo; in GetSerialRegisterBase() local 209 DeviceInfo = (PCI_UART_DEVICE_INFO *) PcdGetPtr (PcdSerialPciDeviceInfo); in GetSerialRegisterBase() 214 if (DeviceInfo->Device == 0xff) { in GetSerialRegisterBase() 230 for (BusNumber = 0; (DeviceInfo + 1)->Device != 0xff; DeviceInfo++) { in GetSerialRegisterBase() 234 PciLibAddress = PCI_LIB_ADDRESS (BusNumber, DeviceInfo->Device, DeviceInfo->Function, 0); in GetSerialRegisterBase() 302 PciLibAddress = PCI_LIB_ADDRESS (BusNumber, DeviceInfo->Device, DeviceInfo->Function, 0); in GetSerialRegisterBase() 367 if (DeviceInfo->PowerManagementStatusAndControlRegister != 0x00) { in GetSerialRegisterBase() 368 …if ((PciRead16 (PciLibAddress + DeviceInfo->PowerManagementStatusAndControlRegister) & (BIT0 | BIT… in GetSerialRegisterBase() 369 …PciAnd16 (PciLibAddress + DeviceInfo->PowerManagementStatusAndControlRegister, (UINT16)~(BIT0 | BI… in GetSerialRegisterBase() 380 DeviceInfo = (PCI_UART_DEVICE_INFO *) PcdGetPtr (PcdSerialPciDeviceInfo); in GetSerialRegisterBase() [all …]
|
/device/linaro/bootloader/edk2/CorebootModulePkg/Library/BaseSerialPortLib16550/ |
D | BaseSerialPortLib16550.c | 204 PCI_UART_DEVICE_INFO *DeviceInfo; in GetSerialRegisterBase() local 209 DeviceInfo = (PCI_UART_DEVICE_INFO *) PcdGetPtr (PcdSerialPciDeviceInfo); in GetSerialRegisterBase() 214 if (DeviceInfo->Device == 0xff) { in GetSerialRegisterBase() 230 for (BusNumber = 0; (DeviceInfo + 1)->Device != 0xff; DeviceInfo++) { in GetSerialRegisterBase() 234 PciLibAddress = PCI_LIB_ADDRESS (BusNumber, DeviceInfo->Device, DeviceInfo->Function, 0); in GetSerialRegisterBase() 302 PciLibAddress = PCI_LIB_ADDRESS (BusNumber, DeviceInfo->Device, DeviceInfo->Function, 0); in GetSerialRegisterBase() 367 if (DeviceInfo->PowerManagementStatusAndControlRegister != 0x00) { in GetSerialRegisterBase() 368 …if ((PciRead16 (PciLibAddress + DeviceInfo->PowerManagementStatusAndControlRegister) & (BIT0 | BIT… in GetSerialRegisterBase() 369 …PciAnd16 (PciLibAddress + DeviceInfo->PowerManagementStatusAndControlRegister, (UINT16)~(BIT0 | BI… in GetSerialRegisterBase() 380 DeviceInfo = (PCI_UART_DEVICE_INFO *) PcdGetPtr (PcdSerialPciDeviceInfo); in GetSerialRegisterBase() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyPei/ |
D | FloppyPeim.c | 1085 FdcBlkIoDev->DeviceInfo[DevPos].DevPos = DevPos; in FdcEnumeration() 1086 FdcBlkIoDev->DeviceInfo[DevPos].Pcn = 0; in FdcEnumeration() 1087 FdcBlkIoDev->DeviceInfo[DevPos].MotorOn = FALSE; in FdcEnumeration() 1088 FdcBlkIoDev->DeviceInfo[DevPos].NeedRecalibrate = TRUE; in FdcEnumeration() 1089 FdcBlkIoDev->DeviceInfo[DevPos].Type = FdcType1440K1440K; in FdcEnumeration() 1094 if (DiscoverFdcDevice (FdcBlkIoDev, &(FdcBlkIoDev->DeviceInfo[DevPos]), &MediaInfo)) { in FdcEnumeration() 1095 FdcBlkIoDev->DeviceInfo[DevNo].DevPos = DevPos; in FdcEnumeration() 1097 FdcBlkIoDev->DeviceInfo[DevNo].Pcn = FdcBlkIoDev->DeviceInfo[DevPos].Pcn; in FdcEnumeration() 1098 FdcBlkIoDev->DeviceInfo[DevNo].MotorOn = FdcBlkIoDev->DeviceInfo[DevPos].MotorOn; in FdcEnumeration() 1099 … FdcBlkIoDev->DeviceInfo[DevNo].NeedRecalibrate = FdcBlkIoDev->DeviceInfo[DevPos].NeedRecalibrate; in FdcEnumeration() [all …]
|
D | FloppyPeim.h | 155 PEI_FLOPPY_DEVICE_INFO DeviceInfo[2]; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/ |
D | AtapiPeim.c | 199 …DEBUG ((EFI_D_INFO, "Atatpi GetInfo DevicePosition is %d\n", AtapiBlkIoDev->DeviceInfo[Index].Devi… in AtapiGetBlockDeviceMediaInfo() 200 …DEBUG ((EFI_D_INFO, "Atatpi GetInfo DeviceType is %d\n", AtapiBlkIoDev->DeviceInfo[Index].MediaI… in AtapiGetBlockDeviceMediaInfo() 201 …DEBUG ((EFI_D_INFO, "Atatpi GetInfo MediaPresent is %d\n", AtapiBlkIoDev->DeviceInfo[Index].MediaI… in AtapiGetBlockDeviceMediaInfo() 202 …DEBUG ((EFI_D_INFO, "Atatpi GetInfo BlockSize is 0x%x\n", AtapiBlkIoDev->DeviceInfo[Index].MediaI… in AtapiGetBlockDeviceMediaInfo() 203 …DEBUG ((EFI_D_INFO, "Atatpi GetInfo LastBlock is 0x%x\n", AtapiBlkIoDev->DeviceInfo[Index].MediaI… in AtapiGetBlockDeviceMediaInfo() 207 AtapiBlkIoDev->DeviceInfo[Index].DevicePosition, in AtapiGetBlockDeviceMediaInfo() 208 &AtapiBlkIoDev->DeviceInfo[Index].MediaInfo, in AtapiGetBlockDeviceMediaInfo() 209 &AtapiBlkIoDev->DeviceInfo[Index].MediaInfo2 in AtapiGetBlockDeviceMediaInfo() 215 …DEBUG ((EFI_D_INFO, "Atatpi GetInfo DevicePosition is %d\n", AtapiBlkIoDev->DeviceInfo[Index].Devi… in AtapiGetBlockDeviceMediaInfo() 216 …DEBUG ((EFI_D_INFO, "Atatpi GetInfo DeviceType is %d\n", AtapiBlkIoDev->DeviceInfo[Index].MediaI… in AtapiGetBlockDeviceMediaInfo() [all …]
|
D | AtapiPeim.h | 109 PEI_ATAPI_DEVICE_INFO DeviceInfo[MAX_IDE_DEVICES]; //for max 8 device member
|
/device/google/cuttlefish/common/libs/usbforward/ |
D | protocol.h | 102 struct DeviceInfo { struct
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | BluetoothIo.h | 88 OUT VOID **DeviceInfo
|
D | UsbFunctionIo.h | 222 OUT EFI_USB_DEVICE_INFO *DeviceInfo
|