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,
323 IN UINTN SmBusAddress,
329 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
330 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
332 InternalSmBusExec (EfiSmbusReadWord, SmBusAddress, 2, &Word, Status);
340 Executes an SMBUS write data word command on the SMBUS device specified by SmBusAddress.
342 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
345 If Length in SmBusAddress is not zero, then ASSERT().
346 If any reserved bits of SmBusAddress are set, then ASSERT().
348 @param SmBusAddress The address that encodes the SMBUS Slave Address,
371 IN UINTN SmBusAddress,
378 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
379 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
382 InternalSmBusExec (EfiSmbusWriteWord, SmBusAddress, 2, &Word, Status);
390 Executes an SMBUS process call command on the SMBUS device specified by SmBusAddress.
392 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
395 If Length in SmBusAddress is not zero, then ASSERT().
396 If any reserved bits of SmBusAddress are set, then ASSERT().
398 @param SmBusAddress The address that encodes the SMBUS Slave Address,
421 IN UINTN SmBusAddress,
426 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
427 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
429 InternalSmBusExec (EfiSmbusProcessCall, SmBusAddress, 2, &Value, Status);
437 Executes an SMBUS read block command on the SMBUS device specified by SmBusAddress.
438 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
444 If Length in SmBusAddress is not zero, then ASSERT().
446 If any reserved bits of SmBusAddress are set, then ASSERT().
448 @param SmBusAddress The address that encodes the SMBUS Slave Address,
472 IN UINTN SmBusAddress,
478 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
479 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
481 return InternalSmBusExec (EfiSmbusReadBlock, SmBusAddress, 0x20, Buffer, Status);
487 Executes an SMBUS write block command on the SMBUS device specified by SmBusAddress.
488 The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.
492 If Length in SmBusAddress is zero or greater than 32, then ASSERT().
494 If any reserved bits of SmBusAddress are set, then ASSERT().
496 @param SmBusAddress The address that encodes the SMBUS Slave Address,
519 IN UINTN SmBusAddress,
527 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1);
528 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32);
529 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
531 Length = SMBUS_LIB_LENGTH (SmBusAddress);
532 return InternalSmBusExec (EfiSmbusWriteBlock, SmBusAddress, Length, Buffer, Status);
538 Executes an SMBUS block process call command on the SMBUS device specified by SmBusAddress.
539 The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.
544 If Length in SmBusAddress is zero or greater than 32, then ASSERT().
547 If any reserved bits of SmBusAddress are set, then ASSERT().
549 @param SmBusAddress The address that encodes the SMBUS Slave Address,
572 IN UINTN SmBusAddress,
582 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1);
583 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32);
584 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
586 Length = SMBUS_LIB_LENGTH (SmBusAddress);
591 return InternalSmBusExec (EfiSmbusBWBRProcessCall, SmBusAddress, Length, ReadBuffer, Status);