Lines Matching refs:SmBusAddress
21 Executes an SMBUS quick read command on the SMBUS device specified by SmBusAddress.
22 Only the SMBUS slave address field of SmBusAddress is required.
24 If PEC is set in SmBusAddress, then ASSERT().
25 If Command in SmBusAddress is not zero, then ASSERT().
26 If Length in SmBusAddress is not zero, then ASSERT().
27 If any reserved bits of SmBusAddress are set, then ASSERT().
29 @param SmBusAddress The address that encodes the SMBUS Slave Address,
47 IN UINTN SmBusAddress,
51 ASSERT (!SMBUS_LIB_PEC (SmBusAddress));
52 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
53 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
54 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
56 InternalSmBusExec (EfiSmbusQuickRead, SmBusAddress, 0, NULL, Status);
62 Executes an SMBUS quick write command on the SMBUS device specified by SmBusAddress.
63 Only the SMBUS slave address field of SmBusAddress is required.
65 If PEC is set in SmBusAddress, then ASSERT().
66 If Command in SmBusAddress is not zero, then ASSERT().
67 If Length in SmBusAddress is not zero, then ASSERT().
68 If any reserved bits of SmBusAddress are set, then ASSERT().
70 @param SmBusAddress The address that encodes the SMBUS Slave Address,
88 IN UINTN SmBusAddress,
92 ASSERT (!SMBUS_LIB_PEC (SmBusAddress));
93 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
94 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
95 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
97 InternalSmBusExec (EfiSmbusQuickWrite, SmBusAddress, 0, NULL, Status);
103 Executes an SMBUS receive byte command on the SMBUS device specified by SmBusAddress.
104 Only the SMBUS slave address field of SmBusAddress is required.
107 If Command in SmBusAddress is not zero, then ASSERT().
108 If Length in SmBusAddress is not zero, then ASSERT().
109 If any reserved bits of SmBusAddress are set, then ASSERT().
111 @param SmBusAddress The address that encodes the SMBUS Slave Address,
132 IN UINTN SmBusAddress,
138 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
139 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
140 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
142 InternalSmBusExec (EfiSmbusReceiveByte, SmBusAddress, 1, &Byte, Status);
150 Executes an SMBUS send byte command on the SMBUS device specified by SmBusAddress.
152 Only the SMBUS slave address field of SmBusAddress is required. Value is returned.
154 If Command in SmBusAddress is not zero, then ASSERT().
155 If Length in SmBusAddress is not zero, then ASSERT().
156 If any reserved bits of SmBusAddress are set, then ASSERT().
158 @param SmBusAddress The address that encodes the SMBUS Slave Address,
180 IN UINTN SmBusAddress,
187 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
188 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
189 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
192 InternalSmBusExec (EfiSmbusSendByte, SmBusAddress, 1, &Byte, Status);
200 Executes an SMBUS read 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 The address that encodes the SMBUS Slave Address,
228 IN UINTN SmBusAddress,
234 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
235 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
237 InternalSmBusExec (EfiSmbusReadByte, SmBusAddress, 1, &Byte, Status);
245 Executes an SMBUS write data byte command on the SMBUS device specified by SmBusAddress.
247 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
250 If Length in SmBusAddress is not zero, then ASSERT().
251 If any reserved bits of SmBusAddress are set, then ASSERT().
253 @param SmBusAddress The address that encodes the SMBUS Slave Address,
275 IN UINTN SmBusAddress,
282 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
283 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
286 InternalSmBusExec (EfiSmbusWriteByte, SmBusAddress, 1, &Byte, Status);
294 Executes an SMBUS read data word command on the SMBUS device specified by SmBusAddress.
295 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
298 If Length in SmBusAddress is not zero, then ASSERT().
299 If any reserved bits of SmBusAddress are set, then ASSERT().
301 @param SmBusAddress The address that encodes the SMBUS Slave Address,
322 IN UINTN SmBusAddress,
328 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
329 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
331 InternalSmBusExec (EfiSmbusReadWord, SmBusAddress, 2, &Word, Status);
339 Executes an SMBUS write data word command on the SMBUS device specified by SmBusAddress.
341 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
344 If Length in SmBusAddress is not zero, then ASSERT().
345 If any reserved bits of SmBusAddress are set, then ASSERT().
347 @param SmBusAddress The address that encodes the SMBUS Slave Address,
369 IN UINTN SmBusAddress,
376 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
377 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
380 SmBusAddress, 2, &Word, Status);
388 Executes an SMBUS process call command on the SMBUS device specified by SmBusAddress.
390 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
393 If Length in SmBusAddress is not zero, then ASSERT().
394 If any reserved bits of SmBusAddress are set, then ASSERT().
396 @param SmBusAddress The address that encodes the SMBUS Slave Address,
418 IN UINTN SmBusAddress,
423 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
424 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
426 InternalSmBusExec (EfiSmbusProcessCall, SmBusAddress, 2, &Value, Status);
434 Executes an SMBUS read block command on the SMBUS device specified by SmBusAddress.
435 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
441 If Length in SmBusAddress is not zero, then ASSERT().
443 If any reserved bits of SmBusAddress are set, then ASSERT().
445 @param SmBusAddress The address that encodes the SMBUS Slave Address,
467 IN UINTN SmBusAddress,
473 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
474 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
476 return InternalSmBusExec (EfiSmbusReadBlock, SmBusAddress, 0x20, Buffer, Status);
482 Executes an SMBUS write block command on the SMBUS device specified by SmBusAddress.
483 The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.
487 If Length in SmBusAddress is zero or greater than 32, then ASSERT().
489 If any reserved bits of SmBusAddress are set, then ASSERT().
491 @param SmBusAddress The address that encodes the SMBUS Slave Address,
512 IN UINTN SmBusAddress,
520 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1);
521 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32);
522 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
524 Length = SMBUS_LIB_LENGTH (SmBusAddress);
525 return InternalSmBusExec (EfiSmbusWriteBlock, SmBusAddress, Length, Buffer, Status);
531 Executes an SMBUS block process call command on the SMBUS device specified by SmBusAddress.
532 The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.
537 If Length in SmBusAddress is zero or greater than 32, then ASSERT().
540 If any reserved bits of SmBusAddress are set, then ASSERT().
542 @param SmBusAddress The address that encodes the SMBUS Slave Address,
564 IN UINTN SmBusAddress,
574 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1);
575 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32);
576 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
578 Length = SMBUS_LIB_LENGTH (SmBusAddress);
583 return InternalSmBusExec (EfiSmbusBWBRProcessCall, SmBusAddress, Length, ReadBuffer, Status);