Lines Matching refs:SmBusAddress
163 @param SmBusAddress Address that encodes the SMBUS Slave Address,
175 IN UINTN SmBusAddress,
198 if (SMBUS_LIB_PEC (SmBusAddress)) {
206 IoWrite8 (IoPortBaseAddress + R_PCH_SMBUS_HCMD, (UINT8) SMBUS_LIB_COMMAND (SmBusAddress));
222 IoWrite8 (IoPortBaseAddress + R_PCH_SMBUS_TSA, (UINT8) SmBusAddress);
252 Executes an SMBUS quick read 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 | B_PCH_SMBUS_RW_SEL_READ,
289 Executes an SMBUS quick write command on the SMBUS device specified by SmBusAddress.
290 Only the SMBUS slave address field of SmBusAddress is required.
292 If PEC is set in SmBusAddress, then ASSERT().
293 If Command in SmBusAddress is not zero, then ASSERT().
294 If Length in SmBusAddress is not zero, then ASSERT().
295 If any reserved bits of SmBusAddress are set, then ASSERT().
297 @param SmBusAddress Address that encodes the SMBUS Slave Address,
306 IN UINTN SmBusAddress,
310 ASSERT (!SMBUS_LIB_PEC (SmBusAddress));
311 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
312 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
313 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
317 SmBusAddress | B_PCH_SMBUS_RW_SEL_WRITE,
326 Executes an SMBUS receive byte command on the SMBUS device specified by SmBusAddress.
327 Only the SMBUS slave address field of SmBusAddress is required.
330 If Command in SmBusAddress is not zero, then ASSERT().
331 If Length in SmBusAddress is not zero, then ASSERT().
332 If any reserved bits of SmBusAddress are set, then ASSERT().
334 @param SmBusAddress Address that encodes the SMBUS Slave Address,
345 IN UINTN SmBusAddress,
351 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
352 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
353 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
357 SmBusAddress | B_PCH_SMBUS_RW_SEL_READ,
368 Executes an SMBUS send byte command on the SMBUS device specified by SmBusAddress.
370 Only the SMBUS slave address field of SmBusAddress is required. Value is returned.
372 If Command in SmBusAddress is not zero, then ASSERT().
373 If Length in SmBusAddress is not zero, then ASSERT().
374 If any reserved bits of SmBusAddress are set, then ASSERT().
376 @param SmBusAddress Address that encodes the SMBUS Slave Address,
388 IN UINTN SmBusAddress,
395 ASSERT (SMBUS_LIB_COMMAND (SmBusAddress) == 0);
396 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
397 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
401 SmBusAddress | B_PCH_SMBUS_RW_SEL_WRITE,
412 Executes an SMBUS read data byte command on the SMBUS device specified by SmBusAddress.
413 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
416 If Length in SmBusAddress is not zero, then ASSERT().
417 If any reserved bits of SmBusAddress are set, then ASSERT().
419 @param SmBusAddress Address that encodes the SMBUS Slave Address,
430 IN UINTN SmBusAddress,
436 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
437 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
440 SmBusAddress | B_PCH_SMBUS_RW_SEL_READ,
450 Executes an SMBUS write data byte command on the SMBUS device specified by SmBusAddress.
452 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
455 If Length in SmBusAddress is not zero, then ASSERT().
456 If any reserved bits of SmBusAddress are set, then ASSERT().
458 @param SmBusAddress Address that encodes the SMBUS Slave Address,
470 IN UINTN SmBusAddress,
477 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
478 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
482 SmBusAddress
493 Executes an SMBUS read data word command on the SMBUS device specified by SmBusAddress.
494 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
497 If Length in SmBusAddress is not zero, then ASSERT().
498 If any reserved bits of SmBusAddress are set, then ASSERT().
500 @param SmBusAddress Address that encodes the SMBUS Slave Address,
511 IN UINTN SmBusAddress,
516 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
517 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
521 SmBusAddress | B_PCH_SMBUS_RW_SEL_READ,
532 Executes an SMBUS write data word command on the SMBUS device specified by SmBusAddress.
534 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
537 If Length in SmBusAddress is not zero, then ASSERT().
538 If any reserved bits of SmBusAddress are set, then ASSERT().
540 @param SmBusAddress Address that encodes the SMBUS Slave Address,
552 IN UINTN SmBusAddress,
558 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
559 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
563 SmBusAddress | B_PCH_SMBUS_RW_SEL_WRITE,
573 Executes an SMBUS process call command on the SMBUS device specified by SmBusAddress.
575 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
578 If Length in SmBusAddress is not zero, then ASSERT().
579 If any reserved bits of SmBusAddress are set, then ASSERT().
581 @param SmBusAddress Address that encodes the SMBUS Slave Address,
593 IN UINTN SmBusAddress,
599 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
600 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
604 SmBusAddress | B_PCH_SMBUS_RW_SEL_WRITE,
615 on the SMBUS device specified by SmBusAddress.
623 @param SmBusAddress Address that encodes the SMBUS Slave Address,
636 IN UINTN SmBusAddress,
650 BytesCount = SMBUS_LIB_LENGTH (SmBusAddress);
664 if (SMBUS_LIB_PEC (SmBusAddress)) {
672 IoWrite8 (IoPortBaseAddress + R_PCH_SMBUS_HCMD, (UINT8) SMBUS_LIB_COMMAND (SmBusAddress));
701 IoWrite8 (IoPortBaseAddress + R_PCH_SMBUS_TSA, (UINT8) SmBusAddress);
742 Executes an SMBUS read block command on the SMBUS device specified by SmBusAddress.
743 Only the SMBUS slave address and SMBUS command fields of SmBusAddress are required.
749 If Length in SmBusAddress is not zero, then ASSERT().
751 If any reserved bits of SmBusAddress are set, then ASSERT().
753 @param SmBusAddress Address that encodes the SMBUS Slave Address,
765 IN UINTN SmBusAddress,
773 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) == 0);
774 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
779 SmBusAddress | B_PCH_SMBUS_RW_SEL_READ,
791 Executes an SMBUS write block command on the SMBUS device specified by SmBusAddress.
792 The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.
796 If Length in SmBusAddress is zero or greater than 32, then ASSERT().
798 If any reserved bits of SmBusAddress are set, then ASSERT().
800 @param SmBusAddress Address that encodes the SMBUS Slave Address,
812 IN UINTN SmBusAddress,
820 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1);
821 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32);
822 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
828 SmBusAddress | B_PCH_SMBUS_RW_SEL_WRITE,
840 Executes an SMBUS block process call command on the SMBUS device specified by SmBusAddress.
841 The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.
846 If Length in SmBusAddress is zero or greater than 32, then ASSERT().
849 If any reserved bits of SmBusAddress are set, then ASSERT().
851 @param SmBusAddress Address that encodes the SMBUS Slave Address,
864 IN UINTN SmBusAddress,
874 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) >= 1);
875 ASSERT (SMBUS_LIB_LENGTH (SmBusAddress) <= 32);
876 ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);
880 SmBusAddress | B_PCH_SMBUS_RW_SEL_WRITE,