Home
last modified time | relevance | path

Searched refs:Data (Results 1 – 25 of 995) sorted by relevance

12345678910>>...40

/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/
DGccInline.c130 UINT64 Data; in AsmReadMsr64() local
134 : "=A" (Data) // %0 in AsmReadMsr64()
138 return Data; in AsmReadMsr64()
222 UINTN Data; in AsmReadCr0() local
226 : "=a" (Data) in AsmReadCr0()
229 return Data; in AsmReadCr0()
249 UINTN Data; in AsmReadCr2() local
253 : "=r" (Data) in AsmReadCr2()
256 return Data; in AsmReadCr2()
275 UINTN Data; in AsmReadCr3() local
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Marvell/Library/ComPhyLib/
DComPhyCp110.c102 UINT32 Mask, Data; in ComPhyPcieRFUConfiguration() local
106 Data = 0x1 << COMMON_PHY_CFG1_PWR_UP_OFFSET; in ComPhyPcieRFUConfiguration()
108 Data |= 0x1 << COMMON_PHY_CFG1_PIPE_SELECT_OFFSET; in ComPhyPcieRFUConfiguration()
110 Data |= 0x0 << COMMON_PHY_CFG1_PWR_ON_RESET_OFFSET; in ComPhyPcieRFUConfiguration()
112 Data |= 0x0 << COMMON_PHY_CFG1_CORE_RSTN_OFFSET; in ComPhyPcieRFUConfiguration()
114 Data |= 0x0 << COMMON_PHY_PHY_MODE_OFFSET; in ComPhyPcieRFUConfiguration()
115 RegSet (ComPhyAddr + COMMON_PHY_CFG1_REG, Data, Mask); in ComPhyPcieRFUConfiguration()
119 Data = 0x1 << COMMON_PHY_CFG1_PWR_ON_RESET_OFFSET; in ComPhyPcieRFUConfiguration()
121 Data |= 0x1 << COMMON_PHY_CFG1_CORE_RSTN_OFFSET; in ComPhyPcieRFUConfiguration()
122 RegSet (ComPhyAddr + COMMON_PHY_CFG1_REG, Data, Mask); in ComPhyPcieRFUConfiguration()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/X64/
DGccInline.c232 UINTN Data; in AsmReadCr0() local
236 : "=r" (Data) // %0 in AsmReadCr0()
239 return Data; in AsmReadCr0()
259 UINTN Data; in AsmReadCr2() local
263 : "=r" (Data) // %0 in AsmReadCr2()
266 return Data; in AsmReadCr2()
285 UINTN Data; in AsmReadCr3() local
289 : "=r" (Data) // %0 in AsmReadCr3()
292 return Data; in AsmReadCr3()
312 UINTN Data; in AsmReadCr4() local
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Library/I2cLib/
DI2cLib.c132 UINT32 Data; in DisableI2CController() local
146 Data = *((volatile UINT32 *) (UINTN)(Addr)); in DisableI2CController()
147 Data &= ~B_I2C_REG_ENABLE; in DisableI2CController()
148 *((volatile UINT32 *) (UINTN)(Addr)) = Data; in DisableI2CController()
153 Data = 0xFF; in DisableI2CController()
155 Data = *((volatile UINT32 *) (UINTN)(Addr)) & I2C_REG_ENABLE_STATUS; in DisableI2CController()
156 while (Data != 0) { in DisableI2CController()
165 Data = *((volatile UINT32 *) (UINTN)(Addr)); in DisableI2CController()
166 Data &= I2C_REG_ENABLE_STATUS; in DisableI2CController()
179 Data = *((volatile UINT32 *) (UINTN)(Addr)); in DisableI2CController()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/
DUefiIfrOpCodeCreation.c75 IN OUT EFI_HII_UPDATE_DATA *Data in CreateEndOpCode() argument
81 ASSERT (Data != NULL && Data->Data != NULL); in CreateEndOpCode()
83 if (Data->Offset + sizeof (EFI_IFR_END) > Data->BufferSize) { in CreateEndOpCode()
91 LocalBuffer = (UINT8 *) Data->Data + Data->Offset; in CreateEndOpCode()
93 Data->Offset += sizeof (EFI_IFR_END); in CreateEndOpCode()
102 IN OUT EFI_HII_UPDATE_DATA *Data in CreateDefaultOpCode() argument
108 ASSERT (Data != NULL && Data->Data != NULL); in CreateDefaultOpCode()
114 if (Data->Offset + sizeof (EFI_IFR_DEFAULT) > Data->BufferSize) { in CreateDefaultOpCode()
125 LocalBuffer = (UINT8 *) Data->Data + Data->Offset; in CreateDefaultOpCode()
127 Data->Offset += sizeof (EFI_IFR_DEFAULT); in CreateDefaultOpCode()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/
DPlatformIoLib.c51 UINT32 Data; in GetPciAddress() local
53 Data = 0; in GetPciAddress()
55 Data = (((UINT32) Segment) << 24); in GetPciAddress()
56 Data |= (((UINT32) Bus) << 16); in GetPciAddress()
57 Data |= (((UINT32) DevFunc) << 8); in GetPciAddress()
58 Data |= (UINT32) Register; in GetPciAddress()
60 return Data; in GetPciAddress()
90 UINT8 Data; in PciRead8() local
105 EfiIoRead (EfiCpuIoWidthUint8, (PCI_CONFIG_DATA_PORT + (PciAddress1 & 0x3)), 1, &Data); in PciRead8()
107 return Data; in PciRead8()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/
DSDController.c253 UINT32 Data; in SetHighSpeedMode() local
266 &Data in SetHighSpeedMode()
275 Data |= BIT2; in SetHighSpeedMode()
277 Data &= ~BIT2; in SetHighSpeedMode()
285 &Data in SetHighSpeedMode()
296 UINT16 Data; in SetDDRMode() local
307 &Data in SetDDRMode()
309 Data &= 0xFFF0; in SetDDRMode()
311 Data |= 0x0004; // Enable DDR50 by default, later should enable other mode like HS200/400 in SetDDRMode()
312 Data |= BIT3; // Enable 1.8V Signaling in SetDDRMode()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/
DIoLibIpf.c157 IN UINT8 Data in IoWrite8() argument
168 return MmioWrite8 (Address, Data); in IoWrite8()
188 IN UINT16 Data in IoWrite16() argument
199 return MmioWrite16 (Address, Data); in IoWrite16()
219 IN UINT32 Data in IoWrite32() argument
230 return MmioWrite32 (Address, Data); in IoWrite32()
277 UINT8 Data; in MmioRead8() local
282 Data = *((volatile UINT8 *) Address); in MmioRead8()
285 return Data; in MmioRead8()
306 UINT16 Data; in MmioRead16() local
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/
DPlatformIoLib.c51 UINT32 Data; in GetPciAddress() local
53 Data = (((UINT32) Segment) << 24); in GetPciAddress()
54 Data |= (((UINT32) Bus) << 16); in GetPciAddress()
55 Data |= (((UINT32) DevFunc) << 8); in GetPciAddress()
56 Data |= (UINT32) Register; in GetPciAddress()
58 return Data; in GetPciAddress()
88 UINT8 Data; in PciRead8() local
103 EfiIoRead (EfiCpuIoWidthUint8, (PCI_CONFIG_DATA_PORT + (PciAddress1 & 0x3)), 1, &Data); in PciRead8()
105 return Data; in PciRead8()
134 UINT16 Data; in PciRead16() local
[all …]
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/RealTimeClockLib/
DRealTimeClockLib.c54 UINT8 Data; in LibGetTime() local
67 … = gTPS65950->Read (gTPS65950, EXTERNAL_DEVICE_REGISTER(I2C_ADDR_GRP_ID4, RTC_CTRL_REG), 1, &Data); in LibGetTime()
69 Data |= BIT6; in LibGetTime()
70 …= gTPS65950->Write (gTPS65950, EXTERNAL_DEVICE_REGISTER(I2C_ADDR_GRP_ID4, RTC_CTRL_REG), 1, &Data); in LibGetTime()
74 …tus = gTPS65950->Read (gTPS65950, EXTERNAL_DEVICE_REGISTER(I2C_ADDR_GRP_ID4, YEARS_REG), 1, &Data); in LibGetTime()
76 Time->Year = 2000 + ((Data >> 4) & 0xF) * 10 + (Data & 0xF); in LibGetTime()
78 …us = gTPS65950->Read (gTPS65950, EXTERNAL_DEVICE_REGISTER(I2C_ADDR_GRP_ID4, MONTHS_REG), 1, &Data); in LibGetTime()
80 Time->Month = ((Data >> 4) & 0x1) * 10 + (Data & 0xF); in LibGetTime()
82 …atus = gTPS65950->Read (gTPS65950, EXTERNAL_DEVICE_REGISTER(I2C_ADDR_GRP_ID4, DAYS_REG), 1, &Data); in LibGetTime()
84 Time->Day = ((Data >> 4) & 0x3) * 10 + (Data & 0xF); in LibGetTime()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhciReg.c34 UINT8 Data; in XhcReadCapReg8() local
43 &Data in XhcReadCapReg8()
48 Data = 0xFF; in XhcReadCapReg8()
51 return Data; in XhcReadCapReg8()
70 UINT32 Data; in XhcReadCapReg() local
79 &Data in XhcReadCapReg()
84 Data = 0xFFFFFFFF; in XhcReadCapReg()
87 return Data; in XhcReadCapReg()
106 UINT32 Data; in XhcReadOpReg() local
117 &Data in XhcReadOpReg()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DSdramSpdDdr4.h29 UINT8 Data; member
37 UINT8 Data; member
44 UINT8 Data; member
53 UINT8 Data; member
62 UINT8 Data; member
71 UINT8 Data; member
81 UINT8 Data; member
90 UINT8 Data; member
97 UINT8 Data; member
106 UINT8 Data; member
[all …]
DSdramSpdDdr3.h29 UINT8 Data; member
37 UINT8 Data; member
44 UINT8 Data; member
52 UINT8 Data; member
61 UINT8 Data; member
70 UINT8 Data; member
80 UINT8 Data; member
89 UINT8 Data; member
98 UINT8 Data; member
106 UINT8 Data; member
[all …]
DSdramSpdLpDdr.h29 UINT8 Data; member
37 UINT8 Data; member
44 UINT8 Data; member
53 UINT8 Data; member
62 UINT8 Data; member
71 UINT8 Data; member
81 UINT8 Data; member
90 UINT8 Data; member
97 UINT8 Data; member
106 UINT8 Data; member
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/
DDump.c89 IN UINT8 *Data, in DumpBuf() argument
95 Print (L"%02x ", Data[Index]); in DumpBuf()
267 IN EFI_IPSEC_SPD_DATA *Data, in DumpSpdEntry() argument
290 Print (L"%s ", MapIntegerToString (Data->Action, mMapIpSecAction)); in DumpSpdEntry()
291 Print (L"PF:%08x ", Data->PackageFlag); in DumpSpdEntry()
294 while (Data->Name[Index] != 0) { in DumpSpdEntry()
295 DataName[Index] = (CHAR16) Data->Name[Index]; in DumpSpdEntry()
303 if (Data->Action == EfiIPsecActionProtect) { in DumpSpdEntry()
305 if (Data->ProcessingPolicy->ExtSeqNum) { in DumpSpdEntry()
309 if (Data->ProcessingPolicy->SeqOverflow) { in DumpSpdEntry()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/
DLegacySpeaker.c46 UINT8 Data; in TurnOnSpeaker()
47 Data = IoRead8 (EFI_SPEAKER_CONTROL_PORT); in TurnOnSpeaker()
48 Data |= 0x03; in TurnOnSpeaker()
49 IoWrite8(EFI_SPEAKER_CONTROL_PORT, Data); in TurnOnSpeaker()
64 UINT8 Data; in TurnOffSpeaker()
66 Data = IoRead8 (EFI_SPEAKER_CONTROL_PORT); in TurnOffSpeaker()
67 Data &= 0xFC; in TurnOffSpeaker()
68 IoWrite8(EFI_SPEAKER_CONTROL_PORT, Data); in TurnOffSpeaker()
121 UINT8 Data; in ProgramToneFrequency()
123 Data = 0xB6; in ProgramToneFrequency()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/AcpiPlatformDxe/
DEthMac.c121 CONST UINT8 *Data; in _SearchReplacePackageMACAddress() local
137 Data = Buffer; in _SearchReplacePackageMACAddress()
139 DataSize, Data[0], DataSize > 1 ? Data[1] : 0); in _SearchReplacePackageMACAddress()
141 if (Level < 2 && Data[0] != AML_PACKAGE_OP) in _SearchReplacePackageMACAddress()
144 if (Level == 2 && Data[0] == AML_STRING_PREFIX) { in _SearchReplacePackageMACAddress()
150 DataSize, Data[0], DataSize > 1 ? Data[1] : 0); in _SearchReplacePackageMACAddress()
152 Data = Buffer; in _SearchReplacePackageMACAddress()
154 || AsciiStrCmp((CHAR8 *) Data, ACPI_ETH_MAC_KEY) != 0) in _SearchReplacePackageMACAddress()
178 Data = Buffer; in _SearchReplacePackageMACAddress()
180 DataSize, Data[0], DataSize > 1 ? Data[1] : 0, DataType); in _SearchReplacePackageMACAddress()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/
DSetupFunctions.c53 IN CHAR8 *Data
60 while (Data[Index] != 0 && Data[Index+1] != 0) {
61 Temp8 = Data[Index];
62 Data[Index] = Data[Index+1]; in ConvertBase10ToRaw() argument
63 Data[Index+1] = Temp8;
72 IN EFI_EXP_BASE10_DATA *Data)
77 RawData = Data->Value; in ConvertBase2ToRaw() argument
78 for (Index = 0; Index < (UINTN) Data->Exponent; Index++) {
87 IN EFI_EXP_BASE2_DATA *Data)
92 RawData = Data->Value;
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/
DIpSecConfigImpl.c799 IN OUT EFI_IPSEC_SPD_DATA *Data in FixSpdEntry() argument
809 if (Data->ProcessingPolicy != NULL) { in FixSpdEntry()
810 if (Data->ProcessingPolicy->TunnelOption != NULL) { in FixSpdEntry()
811 FIX_REF_BUF_ADDR (Data->ProcessingPolicy->TunnelOption, Data); in FixSpdEntry()
814 FIX_REF_BUF_ADDR (Data->ProcessingPolicy, Data); in FixSpdEntry()
834 IN OUT EFI_IPSEC_SA_DATA2 *Data in FixSadEntry() argument
841 if (Data->AlgoInfo.EspAlgoInfo.AuthKey != NULL) { in FixSadEntry()
842 FIX_REF_BUF_ADDR (Data->AlgoInfo.EspAlgoInfo.AuthKey, Data); in FixSadEntry()
845 if (SaId->Proto == EfiIPsecESP && Data->AlgoInfo.EspAlgoInfo.EncKey != NULL) { in FixSadEntry()
846 FIX_REF_BUF_ADDR (Data->AlgoInfo.EspAlgoInfo.EncKey, Data); in FixSadEntry()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Isa/Ps2MouseDxe/
DCommPs2.c34 UINT8 Data; in KbcSelfTest() local
46 Status = In8042Data (&Data); in KbcSelfTest()
51 if (Data != 0x55) { in KbcSelfTest()
62 Status = In8042Data (&Data); in KbcSelfTest()
72 Data |= CMD_SYS_FLAG; in KbcSelfTest()
73 Status = Out8042Data (Data); in KbcSelfTest()
162 UINT8 Data; in CheckKbStatus() local
172 Status = In8042Data (&Data); in CheckKbStatus()
179 if ((Data & CMD_KB_STS) == CMD_KB_DIS) { in CheckKbStatus()
199 UINT8 Data; in PS2MouseReset() local
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Marvell/Library/UtmiPhyLib/
DUtmiPhyLib.c48 IN UINT32 Data, in RegSetSilent() argument
56 RegData |= Data; in RegSetSilent()
64 IN UINT32 Data, in RegSet() argument
69 Addr, Data, Mask)); in RegSet()
71 RegSetSilent (Addr, Data, Mask); in RegSet()
85 UINT32 Mask, Data; in UtmiPhyPowerDown() local
100 Data = 0x1 << UTMI_USB_CFG_DEVICE_EN_OFFSET; in UtmiPhyPowerDown()
103 Data |= UtmiIndex << UTMI_USB_CFG_DEVICE_MUX_OFFSET; in UtmiPhyPowerDown()
105 Data = 0x0 << UTMI_USB_CFG_DEVICE_EN_OFFSET; in UtmiPhyPowerDown()
110 Data = 0x1 << UTMI_CTRL_STATUS0_SUSPENDM_OFFSET; in UtmiPhyPowerDown()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/
DUhciReg.c34 UINT16 Data; in UhciReadReg() local
43 &Data in UhciReadReg()
49 Data = 0xFFFF; in UhciReadReg()
52 return Data; in UhciReadReg()
68 IN UINT16 Data in UhciWriteReg() argument
79 &Data in UhciWriteReg()
103 UINT16 Data; in UhciSetRegBit() local
105 Data = UhciReadReg (PciIo, Offset); in UhciSetRegBit()
106 Data = (UINT16) (Data |Bit); in UhciSetRegBit()
107 UhciWriteReg (PciIo, Offset, Data); in UhciSetRegBit()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DLegacySpeaker.c58 UINT8 Data; in TurnOnSpeaker()
59 Data = IoRead8 (EFI_SPEAKER_CONTROL_PORT); in TurnOnSpeaker()
60 Data |= 0x03; in TurnOnSpeaker()
61 IoWrite8(EFI_SPEAKER_CONTROL_PORT, Data); in TurnOnSpeaker()
78 UINT8 Data; in TurnOffSpeaker()
80 Data = IoRead8 (EFI_SPEAKER_CONTROL_PORT); in TurnOffSpeaker()
81 Data &= 0xFC; in TurnOffSpeaker()
82 IoWrite8(EFI_SPEAKER_CONTROL_PORT, Data); in TurnOffSpeaker()
126 UINT8 Data; in ProgramToneFrequency()
128 Data = 0xB6; in ProgramToneFrequency()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/
DCommPs2.c36 UINT8 Data; in KbcSelfTest() local
48 Status = In8042Data (IsaIo, &Data); in KbcSelfTest()
53 if (Data != 0x55) { in KbcSelfTest()
64 Status = In8042Data (IsaIo, &Data); in KbcSelfTest()
74 Data |= CMD_SYS_FLAG; in KbcSelfTest()
75 Status = Out8042Data (IsaIo, Data); in KbcSelfTest()
170 UINT8 Data; in CheckKbStatus() local
180 Status = In8042Data (IsaIo, &Data); in CheckKbStatus()
187 if ((Data & CMD_KB_STS) == CMD_KB_DIS) { in CheckKbStatus()
209 UINT8 Data; in PS2MouseReset() local
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/
DCommPs2.c36 UINT8 Data; in KbcSelfTest() local
48 Status = In8042Data (IsaIo, &Data); in KbcSelfTest()
53 if (Data != 0x55) { in KbcSelfTest()
64 Status = In8042Data (IsaIo, &Data); in KbcSelfTest()
74 Data |= CMD_SYS_FLAG; in KbcSelfTest()
75 Status = Out8042Data (IsaIo, Data); in KbcSelfTest()
170 UINT8 Data; in CheckKbStatus() local
180 Status = In8042Data (IsaIo, &Data); in CheckKbStatus()
187 if ((Data & CMD_KB_STS) == CMD_KB_DIS) { in CheckKbStatus()
209 UINT8 Data; in PS2MouseReset() local
[all …]

12345678910>>...40