Lines Matching refs:SmBusAddress
143 @param SmBusAddress Address that encodes the SMBUS Slave Address,
155 IN UINTN SmBusAddress,
176 IoWrite8 (IoPortBaseAddress + R_QNC_SMBUS_HCMD, (UINT8) SMBUS_LIB_COMMAND (SmBusAddress));
187 IoWrite8 (IoPortBaseAddress + R_QNC_SMBUS_TSA, (UINT8) SmBusAddress);
214 Executes an SMBUS quick read command on the SMBUS device specified by SmBusAddress.
215 Only the SMBUS slave address field of SmBusAddress is required.
217 If PEC is set in SmBusAddress, then ASSERT().
218 If Command in SmBusAddress is not zero, then ASSERT().
219 If Length in SmBusAddress is not zero, then ASSERT().
220 If any reserved bits of SmBusAddress are set, then ASSERT().
222 @param SmBusAddress Address that encodes the SMBUS Slave Address,
231 IN UINTN SmBusAddress,
235 ASSERT (!SMBUS_LIB_PEC (SmBusAddress));
236 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
237 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
238 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
242 SmBusAddress | V_QNC_SMBUS_RW_SEL_READ,
252 Executes an SMBUS quick write command on the SMBUS device specified by SmBusAddress.
253 Only the SMBUS slave address field of SmBusAddress is required.
255 If PEC is set in SmBusAddress, then ASSERT().
256 If Command in SmBusAddress is not zero, then ASSERT().
257 If Length in SmBusAddress is not zero, then ASSERT().
258 If any reserved bits of SmBusAddress are set, then ASSERT().
260 @param SmBusAddress Address that encodes the SMBUS Slave Address,
269 IN UINTN SmBusAddress,
273 ASSERT (!SMBUS_LIB_PEC (SmBusAddress));
274 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
275 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
276 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
280 SmBusAddress & V_QNC_SMBUS_RW_SEL_WRITE,
290 Executes an SMBUS receive byte command on the SMBUS device specified by SmBusAddress.
291 Only the SMBUS slave address field of SmBusAddress is required.
294 If Command in SmBusAddress is not zero, then ASSERT().
295 If Length in SmBusAddress is not zero, then ASSERT().
296 If any reserved bits of SmBusAddress are set, then ASSERT().
298 @param SmBusAddress Address that encodes the SMBUS Slave Address,
309 IN UINTN SmBusAddress,
313 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
314 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
315 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
319 SmBusAddress | V_QNC_SMBUS_RW_SEL_READ,
329 Executes an SMBUS send byte command on the SMBUS device specified by SmBusAddress.
331 Only the SMBUS slave address field of SmBusAddress is required. Value is returned.
333 If Command in SmBusAddress is not zero, then ASSERT().
334 If Length in SmBusAddress is not zero, then ASSERT().
335 If any reserved bits of SmBusAddress are set, then ASSERT().
337 @param SmBusAddress Address that encodes the SMBUS Slave Address,
349 IN UINTN SmBusAddress,
354 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
355 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
356 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
360 SmBusAddress & V_QNC_SMBUS_RW_SEL_WRITE,
370 Executes an SMBUS read data byte command on the SMBUS device specified by SmBusAddress.
371 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
374 If Length in SmBusAddress is not zero, then ASSERT().
375 If any reserved bits of SmBusAddress are set, then ASSERT().
377 @param SmBusAddress Address that encodes the SMBUS Slave Address,
388 IN UINTN SmBusAddress,
392 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
393 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
397 SmBusAddress | V_QNC_SMBUS_RW_SEL_READ,
406 Executes an SMBUS write data byte command on the SMBUS device specified by SmBusAddress.
408 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
411 If Length in SmBusAddress is not zero, then ASSERT().
412 If any reserved bits of SmBusAddress are set, then ASSERT().
414 @param SmBusAddress Address that encodes the SMBUS Slave Address,
426 IN UINTN SmBusAddress,
431 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
432 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
436 SmBusAddress | V_QNC_SMBUS_RW_SEL_WRITE,
445 Executes an SMBUS read data word command on the SMBUS device specified by SmBusAddress.
446 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
449 If Length in SmBusAddress is not zero, then ASSERT().
450 If any reserved bits of SmBusAddress are set, then ASSERT().
452 @param SmBusAddress Address that encodes the SMBUS Slave Address,
463 IN UINTN SmBusAddress,
467 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 2);
468 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
472 SmBusAddress | V_QNC_SMBUS_RW_SEL_READ,
482 Executes an SMBUS write data word command on the SMBUS device specified by SmBusAddress.
484 SmBusAddress are required.
487 If Length in SmBusAddress is not zero, then ASSERT().
488 If any reserved bits of SmBusAddress are set, then ASSERT().
490 @param SmBusAddress Address that encodes the SMBUS Slave Address,
502 IN UINTN SmBusAddress,
507 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 2);
508 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
512 SmBusAddress | V_QNC_SMBUS_RW_SEL_WRITE,
521 Executes an SMBUS process call command on the SMBUS device specified by SmBusAddress.
523 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
526 If Length in SmBusAddress is not zero, then ASSERT().
527 If any reserved bits of SmBusAddress are set, then ASSERT().
529 @param SmBusAddress Address that encodes the SMBUS Slave Address,
541 IN UINTN SmBusAddress,
546 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
547 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
551 SmBusAddress & V_QNC_SMBUS_RW_SEL_WRITE,
562 on the SMBUS device specified by SmBusAddress.
570 @param SmBusAddress Address that encodes the SMBUS Slave Address,
583 IN UINTN SmBusAddress,
596 BytesCount = SMBUS_LIB_LENGTH (SmBusAddress);
609 IoWrite8 (IoPortBaseAddress + R_QNC_SMBUS_HCMD, (UINT8) SMBUS_LIB_COMMAND (SmBusAddress));
631 IoWrite8 (IoPortBaseAddress + R_QNC_SMBUS_TSA, (UINT8) SmBusAddress);
669 Executes an SMBUS read block command on the SMBUS device specified by SmBusAddress.
670 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
676 If Length in SmBusAddress is not zero, then ASSERT().
678 If any reserved bits of SmBusAddress are set, then ASSERT().
680 @param SmBusAddress Address that encodes the SMBUS Slave Address,
692 IN UINTN SmBusAddress,
698 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1);
699 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32);
700 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
704 SmBusAddress | V_QNC_SMBUS_RW_SEL_READ,
714 Executes an SMBUS write block command on the SMBUS device specified by SmBusAddress.
715 The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.
719 If Length in SmBusAddress is zero or greater than 32, then ASSERT().
721 If any reserved bits of SmBusAddress are set, then ASSERT().
723 @param SmBusAddress Address that encodes the SMBUS Slave Address,
735 IN UINTN SmBusAddress,
741 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1);
742 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32);
743 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
747 SmBusAddress | V_QNC_SMBUS_RW_SEL_WRITE,
757 Executes an SMBUS block process call command on the SMBUS device specified by SmBusAddress.
758 The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.
763 If Length in SmBusAddress is zero or greater than 32, then ASSERT().
766 If any reserved bits of SmBusAddress are set, then ASSERT().
768 @param SmBusAddress Address that encodes the SMBUS Slave Address,
788 IN UINTN SmBusAddress,
796 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1);
797 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32);
798 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);