Home
last modified time | relevance | path

Searched refs:SmBusAddress (Results 1 – 25 of 32) sorted by relevance

12

/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/
DSmbusLib.c40 IN UINTN SmBusAddress, in SmBusQuickRead() argument
44 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickRead()
45 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickRead()
46 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickRead()
47 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusQuickRead()
49 InternalSmBusExec (EfiSmbusQuickRead, SmBusAddress, 0, NULL, Status); in SmBusQuickRead()
72 IN UINTN SmBusAddress, in SmBusQuickWrite() argument
76 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickWrite()
77 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickWrite()
78 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickWrite()
[all …]
DPeiSmbusLib.c65 IN UINTN SmBusAddress, in InternalSmBusExec() argument
78 SmbusDeviceAddress.SmbusDeviceAddress = SMBUS_LIB_SLAVE_ADDRESS (SmBusAddress); in InternalSmBusExec()
84 SMBUS_LIB_COMMAND (SmBusAddress), in InternalSmBusExec()
86 SMBUS_LIB_PEC (SmBusAddress), in InternalSmBusExec()
DInternalSmbusLib.h72 IN UINTN SmBusAddress,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiSmbusLib/
DSmbusLib.c45 IN UINTN SmBusAddress, in SmBusQuickRead() argument
49 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickRead()
50 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickRead()
51 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickRead()
52 ASSERT (SMBUS_LIB_RESEARVED (SmBusAddress) == 0); in SmBusQuickRead()
54 InternalSmBusExec (EfiSmbusQuickRead, SmBusAddress, 0, NULL, Status); in SmBusQuickRead()
77 IN UINTN SmBusAddress, in SmBusQuickWrite() argument
81 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickWrite()
82 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickWrite()
83 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickWrite()
[all …]
DPeiSmbusLibInternal.h29 #define SMBUS_LIB_SLAVE_ADDRESS(SmBusAddress) (((SmBusAddress) >> 1) & 0x7f) argument
30 #define SMBUS_LIB_COMMAND(SmBusAddress) (((SmBusAddress) >> 8) & 0xff) argument
31 #define SMBUS_LIB_LENGTH(SmBusAddress) (((SmBusAddress) >> 16) & 0x3f) argument
32 #define SMBUS_LIB_PEC(SmBusAddress) ((BOOLEAN) (((SmBusAddress) & SMBUS_LIB_PEC_BIT) != 0)) argument
33 #define SMBUS_LIB_RESEARVED(SmBusAddress) ((SmBusAddress) & ~(((1 << 22) - 2) | SMBUS_LIB_… argument
78 IN UINTN SmBusAddress,
DPeiSmbusLib.c74 IN UINTN SmBusAddress, in InternalSmBusExec() argument
87 SmbusDeviceAddress.SmbusDeviceAddress = SMBUS_LIB_SLAVE_ADDRESS (SmBusAddress); in InternalSmBusExec()
93 SMBUS_LIB_COMMAND (SmBusAddress), in InternalSmBusExec()
95 SMBUS_LIB_PEC (SmBusAddress), in InternalSmBusExec()
/device/linaro/bootloader/edk2/MdePkg/Library/PeiSmbusLibSmbus2Ppi/
DSmbusLib.c47 IN UINTN SmBusAddress, in SmBusQuickRead() argument
51 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickRead()
52 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickRead()
53 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickRead()
54 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusQuickRead()
56 InternalSmBusExec (EfiSmbusQuickRead, SmBusAddress, 0, NULL, Status); in SmBusQuickRead()
88 IN UINTN SmBusAddress, in SmBusQuickWrite() argument
92 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickWrite()
93 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickWrite()
94 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickWrite()
[all …]
DPeiSmbusLib.c68 IN UINTN SmBusAddress, in InternalSmBusExec() argument
79 SmbusDeviceAddress.SmbusDeviceAddress = SMBUS_LIB_SLAVE_ADDRESS (SmBusAddress); in InternalSmBusExec()
84 SMBUS_LIB_COMMAND (SmBusAddress), in InternalSmBusExec()
86 SMBUS_LIB_PEC (SmBusAddress), in InternalSmBusExec()
DInternalSmbusLib.h74 IN UINTN SmBusAddress,
/device/linaro/bootloader/edk2/MdePkg/Library/DxeSmbusLib/
DSmbusLib.c47 IN UINTN SmBusAddress, in SmBusQuickRead() argument
51 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickRead()
52 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickRead()
53 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickRead()
54 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusQuickRead()
56 InternalSmBusExec (EfiSmbusQuickRead, SmBusAddress, 0, NULL, Status); in SmBusQuickRead()
88 IN UINTN SmBusAddress, in SmBusQuickWrite() argument
92 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickWrite()
93 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickWrite()
94 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickWrite()
[all …]
DDxeSmbusLib.c79 IN UINTN SmBusAddress, in InternalSmBusExec() argument
88 SmbusDeviceAddress.SmbusDeviceAddress = SMBUS_LIB_SLAVE_ADDRESS (SmBusAddress); in InternalSmBusExec()
93 SMBUS_LIB_COMMAND (SmBusAddress), in InternalSmBusExec()
95 SMBUS_LIB_PEC (SmBusAddress), in InternalSmBusExec()
DInternalSmbusLib.h60 IN UINTN SmBusAddress,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeSmbusLib/
DSmbusLib.c45 IN UINTN SmBusAddress, in SmBusQuickRead() argument
49 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickRead()
50 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickRead()
51 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickRead()
52 ASSERT (SMBUS_LIB_RESEARVED (SmBusAddress) == 0); in SmBusQuickRead()
54 InternalSmBusExec (EfiSmbusQuickRead, SmBusAddress, 0, NULL, Status); in SmBusQuickRead()
77 IN UINTN SmBusAddress, in SmBusQuickWrite() argument
81 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickWrite()
82 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickWrite()
83 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickWrite()
[all …]
DDxeSmbusLibInternal.h28 #define SMBUS_LIB_SLAVE_ADDRESS(SmBusAddress) (((SmBusAddress) >> 1) & 0x7f) argument
29 #define SMBUS_LIB_COMMAND(SmBusAddress) (((SmBusAddress) >> 8) & 0xff) argument
30 #define SMBUS_LIB_LENGTH(SmBusAddress) (((SmBusAddress) >> 16) & 0x3f) argument
31 #define SMBUS_LIB_PEC(SmBusAddress) ((BOOLEAN) (((SmBusAddress) & SMBUS_LIB_PEC_BIT) != 0)) argument
32 #define SMBUS_LIB_RESEARVED(SmBusAddress) ((SmBusAddress) & ~(((1 << 22) - 2) | SMBUS_LIB_… argument
61 IN UINTN SmBusAddress,
DDxeSmbusLib.c82 IN UINTN SmBusAddress, in InternalSmBusExec() argument
91 SmbusDeviceAddress.SmbusDeviceAddress = SMBUS_LIB_SLAVE_ADDRESS (SmBusAddress); in InternalSmBusExec()
96 SMBUS_LIB_COMMAND (SmBusAddress), in InternalSmBusExec()
98 SMBUS_LIB_PEC (SmBusAddress), in InternalSmBusExec()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSmbusLibNull/
DBaseSmbusLibNull.c46 IN UINTN SmBusAddress, in SmBusQuickRead() argument
50 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickRead()
51 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickRead()
52 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickRead()
53 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusQuickRead()
86 IN UINTN SmBusAddress, in SmBusQuickWrite() argument
90 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickWrite()
91 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickWrite()
92 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickWrite()
93 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusQuickWrite()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseS3SmbusLib/
DS3SmbusLib.c47 IN UINTN SmBusAddress, in InternalSaveSmBusExecToBootScript() argument
55 SmBusAddress, in InternalSaveSmBusExecToBootScript()
84 IN UINTN SmBusAddress, in S3SmBusQuickRead() argument
88 SmBusQuickRead (SmBusAddress, Status); in S3SmBusQuickRead()
90 InternalSaveSmBusExecToBootScript (EfiSmbusQuickRead, SmBusAddress, 0, NULL); in S3SmBusQuickRead()
114 IN UINTN SmBusAddress, in S3SmBusQuickWrite() argument
118 SmBusQuickWrite (SmBusAddress, Status); in S3SmBusQuickWrite()
120 InternalSaveSmBusExecToBootScript (EfiSmbusQuickWrite, SmBusAddress, 0, NULL); in S3SmBusQuickWrite()
146 IN UINTN SmBusAddress, in S3SmBusReceiveByte() argument
152 Byte = SmBusReceiveByte (SmBusAddress, Status); in S3SmBusReceiveByte()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/SmbusLib/
DSmbusLib.c155 IN UINTN SmBusAddress, in InternalSmBusNonBlock() argument
176 IoWrite8 (IoPortBaseAddress + R_QNC_SMBUS_HCMD, (UINT8) SMBUS_LIB_COMMAND (SmBusAddress)); in InternalSmBusNonBlock()
187 IoWrite8 (IoPortBaseAddress + R_QNC_SMBUS_TSA, (UINT8) SmBusAddress); in InternalSmBusNonBlock()
231 IN UINTN SmBusAddress, in SmBusQuickRead() argument
235 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickRead()
236 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickRead()
237 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickRead()
238 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusQuickRead()
242 SmBusAddress | V_QNC_SMBUS_RW_SEL_READ, in SmBusQuickRead()
269 IN UINTN SmBusAddress, in SmBusQuickWrite() argument
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/SmbusLib/
DSmbusLib.c175 IN UINTN SmBusAddress, in InternalSmBusNonBlock()
198 if (SMBUS_LIB_PEC (SmBusAddress)) { in InternalSmBusNonBlock()
206 IoWrite8 (IoPortBaseAddress + R_PCH_SMBUS_HCMD, (UINT8) SMBUS_LIB_COMMAND (SmBusAddress)); in InternalSmBusNonBlock()
222 IoWrite8 (IoPortBaseAddress + R_PCH_SMBUS_TSA, (UINT8) SmBusAddress); in InternalSmBusNonBlock()
269 IN UINTN SmBusAddress, in SmBusQuickRead()
273 ASSERT (!SMBUS_LIB_PEC (SmBusAddress)); in SmBusQuickRead()
274 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusQuickRead()
275 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusQuickRead()
276 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusQuickRead()
280 SmBusAddress | B_PCH_SMBUS_RW_SEL_READ, in SmBusQuickRead()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DSmbusLib.h45 #define SMBUS_LIB_SLAVE_ADDRESS(SmBusAddress) (((SmBusAddress) >> 1) & 0x7f) argument
52 #define SMBUS_LIB_COMMAND(SmBusAddress) (((SmBusAddress) >> 8) & 0xff) argument
59 #define SMBUS_LIB_LENGTH(SmBusAddress) (((SmBusAddress) >> 16) & 0x3f) argument
66 #define SMBUS_LIB_PEC(SmBusAddress) ((BOOLEAN) (((SmBusAddress) & BIT22) != 0)) argument
73 #define SMBUS_LIB_RESERVED(SmBusAddress) ((SmBusAddress) & ~(BIT23 - 2)) argument
102 IN UINTN SmBusAddress,
133 IN UINTN SmBusAddress,
167 IN UINTN SmBusAddress,
202 IN UINTN SmBusAddress,
236 IN UINTN SmBusAddress,
[all …]
DS3SmbusLib.h50 IN UINTN SmBusAddress,
82 IN UINTN SmBusAddress,
117 IN UINTN SmBusAddress,
153 IN UINTN SmBusAddress,
188 IN UINTN SmBusAddress,
224 IN UINTN SmBusAddress,
259 IN UINTN SmBusAddress,
295 IN UINTN SmBusAddress,
332 IN UINTN SmBusAddress,
372 IN UINTN SmBusAddress,
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
DEdkIIGlueSmbusLib.h72 IN UINTN SmBusAddress,
96 IN UINTN SmBusAddress,
122 IN UINTN SmBusAddress,
149 IN UINTN SmBusAddress,
175 IN UINTN SmBusAddress,
202 IN UINTN SmBusAddress,
228 IN UINTN SmBusAddress,
255 IN UINTN SmBusAddress,
283 IN UINTN SmBusAddress,
314 IN UINTN SmBusAddress,
[all …]
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/Include/Ppi/
DVlvPolicy.h71 UINT32 SmBusAddress; member
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/Ppi/
DVlvPolicy.h71 UINT32 SmBusAddress; member
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/BootScriptSaveDxe/
DScriptSave.c283 UINTN SmBusAddress; in BootScriptSmbusExecute()
289SmBusAddress = SMBUS_LIB_ADDRESS (SlaveAddress.SmbusDeviceAddress,Command,0,Pec… in BootScriptSmbusExecute()
293 return S3BootScriptSaveSmbusExecute (SmBusAddress, Operation, DataSize, Buffer); in BootScriptSmbusExecute()

12