Home | History | Annotate | Download | only in Library

Lines Matching refs:SmBusAddress

41   Macro that returns the SMBUS Slave Address value from an SmBusAddress Parameter value.

43 @param SmBusAddress Address that encodes the SMBUS Slave Address, SMBUS Command, SMBUS Data Length, and PEC
45 #define SMBUS_LIB_SLAVE_ADDRESS(SmBusAddress) (((SmBusAddress) >> 1) & 0x7f)
48 Macro that returns the SMBUS Command value from an SmBusAddress Parameter value.
50 @param SmBusAddress Address that encodes the SMBUS Slave Address, SMBUS Command, SMBUS Data Length, and PEC
52 #define SMBUS_LIB_COMMAND(SmBusAddress) (((SmBusAddress) >> 8) & 0xff)
55 Macro that returns the SMBUS Data Length value from an SmBusAddress Parameter value.
57 @param SmBusAddress Address that encodes the SMBUS Slave Address, SMBUS Command, SMBUS Data Length, and PEC
59 #define SMBUS_LIB_LENGTH(SmBusAddress) (((SmBusAddress) >> 16) & 0x3f)
62 Macro that returns the SMBUS PEC value from an SmBusAddress Parameter value.
64 @param SmBusAddress Address that encodes the SMBUS Slave Address, SMBUS Command, SMBUS Data Length, and PEC
66 #define SMBUS_LIB_PEC(SmBusAddress) ((BOOLEAN) (((SmBusAddress) & BIT22) != 0))
69 Macro that returns the set of reserved bits from an SmBusAddress Parameter value.
71 @param SmBusAddress Address that encodes the SMBUS Slave Address, SMBUS Command, SMBUS Data Length, and PEC
73 #define SMBUS_LIB_RESERVED(SmBusAddress) ((SmBusAddress) & ~(BIT23 - 2))
78 Executes an SMBUS quick read command on the SMBUS device specified by SmBusAddress.
79 Only the SMBUS slave address field of SmBusAddress is required.
81 If PEC is set in SmBusAddress, then ASSERT().
82 If Command in SmBusAddress is not zero, then ASSERT().
83 If Length in SmBusAddress is not zero, then ASSERT().
84 If any reserved bits of SmBusAddress are set, then ASSERT().
86 @param SmBusAddress Address that encodes the SMBUS Slave Address,
102 IN UINTN SmBusAddress,
109 Executes an SMBUS quick write command on the SMBUS device specified by SmBusAddress.
110 Only the SMBUS slave address field of SmBusAddress is required.
112 If PEC is set in SmBusAddress, then ASSERT().
113 If Command in SmBusAddress is not zero, then ASSERT().
114 If Length in SmBusAddress is not zero, then ASSERT().
115 If any reserved bits of SmBusAddress are set, then ASSERT().
117 @param SmBusAddress Address that encodes the SMBUS Slave Address,
133 IN UINTN SmBusAddress,
140 Executes an SMBUS receive byte command on the SMBUS device specified by SmBusAddress.
141 Only the SMBUS slave address field of SmBusAddress is required.
144 If Command in SmBusAddress is not zero, then ASSERT().
145 If Length in SmBusAddress is not zero, then ASSERT().
146 If any reserved bits of SmBusAddress are set, then ASSERT().
148 @param SmBusAddress Address that encodes the SMBUS Slave Address,
167 IN UINTN SmBusAddress,
174 Executes an SMBUS send byte command on the SMBUS device specified by SmBusAddress.
176 Only the SMBUS slave address field of SmBusAddress is required. Value is returned.
178 If Command in SmBusAddress is not zero, then ASSERT().
179 If Length in SmBusAddress is not zero, then ASSERT().
180 If any reserved bits of SmBusAddress are set, then ASSERT().
182 @param SmBusAddress Address that encodes the SMBUS Slave Address,
202 IN UINTN SmBusAddress,
210 Executes an SMBUS read data byte command on the SMBUS device specified by SmBusAddress.
211 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
214 If Length in SmBusAddress is not zero, then ASSERT().
215 If any reserved bits of SmBusAddress are set, then ASSERT().
217 @param SmBusAddress Address that encodes the SMBUS Slave Address,
236 IN UINTN SmBusAddress,
243 Executes an SMBUS write data byte command on the SMBUS device specified by SmBusAddress.
245 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
248 If Length in SmBusAddress is not zero, then ASSERT().
249 If any reserved bits of SmBusAddress are set, then ASSERT().
251 @param SmBusAddress Address that encodes the SMBUS Slave Address,
271 IN UINTN SmBusAddress,
279 Executes an SMBUS read data word command on the SMBUS device specified by SmBusAddress.
280 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
283 If Length in SmBusAddress is not zero, then ASSERT().
284 If any reserved bits of SmBusAddress are set, then ASSERT().
286 @param SmBusAddress Address that encodes the SMBUS Slave Address,
305 IN UINTN SmBusAddress,
312 Executes an SMBUS write data word 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,
340 IN UINTN SmBusAddress,
348 Executes an SMBUS process call command on the SMBUS device specified by SmBusAddress.
350 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
353 If Length in SmBusAddress is not zero, then ASSERT().
354 If any reserved bits of SmBusAddress are set, then ASSERT().
356 @param SmBusAddress Address that encodes the SMBUS Slave Address,
376 IN UINTN SmBusAddress,
384 Executes an SMBUS read block command on the SMBUS device specified by SmBusAddress.
385 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
391 If Length in SmBusAddress is not zero, then ASSERT().
393 If any reserved bits of SmBusAddress are set, then ASSERT().
395 @param SmBusAddress Address that encodes the SMBUS Slave Address,
415 IN UINTN SmBusAddress,
423 Executes an SMBUS write block command on the SMBUS device specified by SmBusAddress.
424 The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.
428 If Length in SmBusAddress is zero or greater than 32, then ASSERT().
430 If any reserved bits of SmBusAddress are set, then ASSERT().
432 @param SmBusAddress Address that encodes the SMBUS Slave Address,
451 IN UINTN SmBusAddress,
459 Executes an SMBUS block process call command on the SMBUS device specified by SmBusAddress.
460 The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.
465 If Length in SmBusAddress is zero or greater than 32, then ASSERT().
468 If any reserved bits of SmBusAddress are set, then ASSERT().
470 @param SmBusAddress Address that encodes the SMBUS Slave Address,
490 IN UINTN SmBusAddress,