Lines Matching refs:SmBusAddress

47   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()
95 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusQuickWrite()
97 InternalSmBusExec (EfiSmbusQuickWrite, SmBusAddress, 0, NULL, Status); in SmBusQuickWrite()
132 IN UINTN SmBusAddress, in SmBusReceiveByte() argument
138 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusReceiveByte()
139 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusReceiveByte()
140 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusReceiveByte()
142 InternalSmBusExec (EfiSmbusReceiveByte, SmBusAddress, 1, &Byte, Status); in SmBusReceiveByte()
180 IN UINTN SmBusAddress, in SmBusSendByte() argument
187 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0); in SmBusSendByte()
188 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusSendByte()
189 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusSendByte()
192 InternalSmBusExec (EfiSmbusSendByte, SmBusAddress, 1, &Byte, Status); in SmBusSendByte()
228 IN UINTN SmBusAddress, in SmBusReadDataByte() argument
234 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusReadDataByte()
235 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusReadDataByte()
237 InternalSmBusExec (EfiSmbusReadByte, SmBusAddress, 1, &Byte, Status); in SmBusReadDataByte()
275 IN UINTN SmBusAddress, in SmBusWriteDataByte() argument
282 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusWriteDataByte()
283 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusWriteDataByte()
286 InternalSmBusExec (EfiSmbusWriteByte, SmBusAddress, 1, &Byte, Status); in SmBusWriteDataByte()
323 IN UINTN SmBusAddress, in SmBusReadDataWord() argument
329 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusReadDataWord()
330 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusReadDataWord()
332 InternalSmBusExec (EfiSmbusReadWord, SmBusAddress, 2, &Word, Status); in SmBusReadDataWord()
371 IN UINTN SmBusAddress, in SmBusWriteDataWord() argument
378 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusWriteDataWord()
379 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusWriteDataWord()
382 InternalSmBusExec (EfiSmbusWriteWord, SmBusAddress, 2, &Word, Status); in SmBusWriteDataWord()
421 IN UINTN SmBusAddress, in SmBusProcessCall() argument
426 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusProcessCall()
427 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusProcessCall()
429 InternalSmBusExec (EfiSmbusProcessCall, SmBusAddress, 2, &Value, Status); in SmBusProcessCall()
472 IN UINTN SmBusAddress, in SmBusReadBlock() argument
478 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0); in SmBusReadBlock()
479 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusReadBlock()
481 return InternalSmBusExec (EfiSmbusReadBlock, SmBusAddress, 0x20, Buffer, Status); in SmBusReadBlock()
519 IN UINTN SmBusAddress, in SmBusWriteBlock() argument
527 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1); in SmBusWriteBlock()
528 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32); in SmBusWriteBlock()
529 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusWriteBlock()
531 Length = SMBUS_LIB_LENGTH (SmBusAddress); in SmBusWriteBlock()
532 return InternalSmBusExec (EfiSmbusWriteBlock, SmBusAddress, Length, Buffer, Status); in SmBusWriteBlock()
572 IN UINTN SmBusAddress, in SmBusBlockProcessCall() argument
582 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1); in SmBusBlockProcessCall()
583 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32); in SmBusBlockProcessCall()
584 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0); in SmBusBlockProcessCall()
586 Length = SMBUS_LIB_LENGTH (SmBusAddress); in SmBusBlockProcessCall()
591 return InternalSmBusExec (EfiSmbusBWBRProcessCall, SmBusAddress, Length, ReadBuffer, Status); in SmBusBlockProcessCall()