Lines Matching refs:SmBusAddress
23 Executes an SMBUS quick read command on the SMBUS device specified by SmBusAddress.
24 Only the SMBUS slave address field of SmBusAddress is required.
26 If PEC is set in SmBusAddress, then ASSERT().
27 If Command in SmBusAddress is not zero, then ASSERT().
28 If Length in SmBusAddress is not zero, then ASSERT().
29 If any reserved bits of SmBusAddress are set, then ASSERT().
31 @param SmBusAddress Address that encodes the SMBUS Slave Address,
40 IN UINTN SmBusAddress,
44 ASSERT (!SMBUS_LIB_PEC (SmBusAddress));
45 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
46 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
47 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
49 InternalSmBusExec (EfiSmbusQuickRead, SmBusAddress, 0, NULL, Status);
55 Executes an SMBUS quick write command on the SMBUS device specified by SmBusAddress.
56 Only the SMBUS slave address field of SmBusAddress is required.
58 If PEC is set in SmBusAddress, then ASSERT().
59 If Command in SmBusAddress is not zero, then ASSERT().
60 If Length in SmBusAddress is not zero, then ASSERT().
61 If any reserved bits of SmBusAddress are set, then ASSERT().
63 @param SmBusAddress Address that encodes the SMBUS Slave Address,
72 IN UINTN SmBusAddress,
76 ASSERT (!SMBUS_LIB_PEC (SmBusAddress));
77 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
78 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
79 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
81 InternalSmBusExec (EfiSmbusQuickWrite, SmBusAddress, 0, NULL, Status);
87 Executes an SMBUS receive byte command on the SMBUS device specified by SmBusAddress.
88 Only the SMBUS slave address field of SmBusAddress is required.
91 If Command in SmBusAddress is not zero, then ASSERT().
92 If Length in SmBusAddress is not zero, then ASSERT().
93 If any reserved bits of SmBusAddress are set, then ASSERT().
95 @param SmBusAddress Address that encodes the SMBUS Slave Address,
106 IN UINTN SmBusAddress,
112 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
113 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
114 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
116 InternalSmBusExec (EfiSmbusReceiveByte, SmBusAddress, 1, &Byte, Status);
124 Executes an SMBUS send byte command on the SMBUS device specified by SmBusAddress.
126 Only the SMBUS slave address field of SmBusAddress is required. Value is returned.
128 If Command in SmBusAddress is not zero, then ASSERT().
129 If Length in SmBusAddress is not zero, then ASSERT().
130 If any reserved bits of SmBusAddress are set, then ASSERT().
132 @param SmBusAddress Address that encodes the SMBUS Slave Address,
144 IN UINTN SmBusAddress,
151 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
152 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
153 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
156 InternalSmBusExec (EfiSmbusSendByte, SmBusAddress, 1, &Byte, Status);
164 Executes an SMBUS read data byte command on the SMBUS device specified by SmBusAddress.
165 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
168 If Length in SmBusAddress is not zero, then ASSERT().
169 If any reserved bits of SmBusAddress are set, then ASSERT().
171 @param SmBusAddress Address that encodes the SMBUS Slave Address,
182 IN UINTN SmBusAddress,
188 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
189 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
191 InternalSmBusExec (EfiSmbusReadByte, SmBusAddress, 1, &Byte, Status);
199 Executes an SMBUS write data byte command on the SMBUS device specified by SmBusAddress.
201 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
204 If Length in SmBusAddress is not zero, then ASSERT().
205 If any reserved bits of SmBusAddress are set, then ASSERT().
207 @param SmBusAddress Address that encodes the SMBUS Slave Address,
219 IN UINTN SmBusAddress,
226 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
227 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
230 InternalSmBusExec (EfiSmbusWriteByte, SmBusAddress, 1, &Byte, Status);
238 Executes an SMBUS read data word command on the SMBUS device specified by SmBusAddress.
239 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
242 If Length in SmBusAddress is not zero, then ASSERT().
243 If any reserved bits of SmBusAddress are set, then ASSERT().
245 @param SmBusAddress Address that encodes the SMBUS Slave Address,
256 IN UINTN SmBusAddress,
262 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
263 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
265 InternalSmBusExec (EfiSmbusReadWord, SmBusAddress, 2, &Word, Status);
273 Executes an SMBUS write data word command on the SMBUS device specified by SmBusAddress.
275 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
278 If Length in SmBusAddress is not zero, then ASSERT().
279 If any reserved bits of SmBusAddress are set, then ASSERT().
281 @param SmBusAddress Address that encodes the SMBUS Slave Address,
293 IN UINTN SmBusAddress,
300 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
301 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
304 InternalSmBusExec (EfiSmbusWriteWord, SmBusAddress, 2, &Word, Status);
312 Executes an SMBUS process call command on the SMBUS device specified by SmBusAddress.
314 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
317 If Length in SmBusAddress is not zero, then ASSERT().
318 If any reserved bits of SmBusAddress are set, then ASSERT().
320 @param SmBusAddress Address that encodes the SMBUS Slave Address,
332 IN UINTN SmBusAddress,
337 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
338 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
340 InternalSmBusExec (EfiSmbusProcessCall, SmBusAddress, 2, &Value, Status);
348 Executes an SMBUS read block command on the SMBUS device specified by SmBusAddress.
349 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
355 If Length in SmBusAddress is not zero, then ASSERT().
357 If any reserved bits of SmBusAddress are set, then ASSERT().
359 @param SmBusAddress Address that encodes the SMBUS Slave Address,
371 IN UINTN SmBusAddress,
377 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
378 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
380 return InternalSmBusExec (EfiSmbusReadBlock, SmBusAddress, 0x20, Buffer, Status);
386 Executes an SMBUS write block command on the SMBUS device specified by SmBusAddress.
387 The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.
391 If Length in SmBusAddress is zero or greater than 32, then ASSERT().
393 If any reserved bits of SmBusAddress are set, then ASSERT().
395 @param SmBusAddress Address that encodes the SMBUS Slave Address,
407 IN UINTN SmBusAddress,
415 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1);
416 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32);
417 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
419 Length = SMBUS_LIB_LENGTH (SmBusAddress);
420 return InternalSmBusExec (EfiSmbusWriteBlock, SmBusAddress, Length, Buffer, Status);
426 Executes an SMBUS block process call command on the SMBUS device specified by SmBusAddress.
427 The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.
432 If Length in SmBusAddress is zero or greater than 32, then ASSERT().
435 If any reserved bits of SmBusAddress are set, then ASSERT().
437 @param SmBusAddress Address that encodes the SMBUS Slave Address,
450 IN UINTN SmBusAddress,
460 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1);
461 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32);
462 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
464 Length = SMBUS_LIB_LENGTH (SmBusAddress);
469 return InternalSmBusExec (EfiSmbusBWBRProcessCall, SmBusAddress, Length, ReadBuffer, Status);