Lines Matching refs:pAC
398 SK_AC *pAC, /* Adapter Context */ in SkI2cWait() argument
406 StartTime = SkOsGetTime(pAC); in SkI2cWait()
409 CurrentTime = SkOsGetTime(pAC); in SkI2cWait()
415 SK_ERR_LOG(pAC, SK_ERRCL_SW, SKERR_I2C_E002, SKERR_I2C_E002MSG); in SkI2cWait()
443 SK_AC *pAC, /* Adapter Context */ in SkI2cWaitIrq() argument
450 pSen = &pAC->I2c.SenTable[pAC->I2c.CurrSens]; in SkI2cWaitIrq()
456 StartTime = SkOsGetTime(pAC); in SkI2cWaitIrq()
459 if (SkOsGetTime(pAC) - StartTime > SK_TICKS_PER_SEC / 8) { in SkI2cWaitIrq()
463 SK_ERR_LOG(pAC, SK_ERRCL_SW, SKERR_I2C_E016, SKERR_I2C_E016MSG); in SkI2cWaitIrq()
483 SK_AC *pAC, /* Adapter Context */ in SkI2cWrite() argument
495 return(SkI2cWait(pAC, IoC, I2C_WRITE)); in SkI2cWrite()
506 SK_AC *pAC, /* Adapter Context */ in SkI2cRead() argument
518 if (SkI2cWait(pAC, IoC, I2C_READ) != 0) { in SkI2cRead()
540 SK_AC *pAC, /* Adapter Context */ in SkI2cReadSensor() argument
545 return((*pSen->SenRead)(pAC, IoC, pSen)); in SkI2cReadSensor()
556 SK_AC *pAC) /* Adapter Context */ in SkI2cInit0() argument
561 pAC->I2c.CurrSens = 0; in SkI2cInit0()
564 pAC->I2c.TimerMode = SK_TIMER_WATCH_SM; in SkI2cInit0()
567 pAC->I2c.MaxSens = 0; in SkI2cInit0()
571 pAC->I2c.DummyReads = SK_MAX_SENSORS; in SkI2cInit0()
575 pAC->I2c.SenTable[i].SenDesc = "unknown"; in SkI2cInit0()
576 pAC->I2c.SenTable[i].SenType = SK_SEN_UNKNOWN; in SkI2cInit0()
577 pAC->I2c.SenTable[i].SenThreErrHigh = 0; in SkI2cInit0()
578 pAC->I2c.SenTable[i].SenThreErrLow = 0; in SkI2cInit0()
579 pAC->I2c.SenTable[i].SenThreWarnHigh = 0; in SkI2cInit0()
580 pAC->I2c.SenTable[i].SenThreWarnLow = 0; in SkI2cInit0()
581 pAC->I2c.SenTable[i].SenReg = LM80_FAN2_IN; in SkI2cInit0()
582 pAC->I2c.SenTable[i].SenInit = SK_SEN_DYN_INIT_NONE; in SkI2cInit0()
583 pAC->I2c.SenTable[i].SenValue = 0; in SkI2cInit0()
584 pAC->I2c.SenTable[i].SenErrFlag = SK_SEN_ERR_NOT_PRESENT; in SkI2cInit0()
585 pAC->I2c.SenTable[i].SenErrCts = 0; in SkI2cInit0()
586 pAC->I2c.SenTable[i].SenBegErrTS = 0; in SkI2cInit0()
587 pAC->I2c.SenTable[i].SenState = SK_SEN_IDLE; in SkI2cInit0()
588 pAC->I2c.SenTable[i].SenRead = NULL; in SkI2cInit0()
589 pAC->I2c.SenTable[i].SenDev = 0; in SkI2cInit0()
593 pAC->I2c.InitLevel = SK_INIT_DATA; in SkI2cInit0()
619 SK_AC *pAC, /* Adapter Context */ in SkI2cInit1() argument
626 if (pAC->I2c.InitLevel != SK_INIT_DATA) { in SkI2cInit1()
638 pAC->GIni.GIYukon32Bit = SK_TRUE; in SkI2cInit1()
643 if (SkI2cWrite(pAC, IoC, 0, LM80_ADDR, I2C_025K_DEV, LM80_CFG, 0) != 0) { in SkI2cInit1()
647 (void)SkI2cWrite(pAC, IoC, 0xffUL, LM80_ADDR, I2C_025K_DEV, LM80_IMSK_1, 0); in SkI2cInit1()
649 (void)SkI2cWrite(pAC, IoC, 0xffUL, LM80_ADDR, I2C_025K_DEV, LM80_IMSK_2, 0); in SkI2cInit1()
651 (void)SkI2cWrite(pAC, IoC, 0, LM80_ADDR, I2C_025K_DEV, LM80_FAN_CTRL, 0); in SkI2cInit1()
653 (void)SkI2cWrite(pAC, IoC, 0, LM80_ADDR, I2C_025K_DEV, LM80_TEMP_CTRL, 0); in SkI2cInit1()
655 (void)SkI2cWrite(pAC, IoC, (SK_U32)LM80_CFG_START, LM80_ADDR, I2C_025K_DEV, in SkI2cInit1()
662 pAC->I2c.MaxSens = 5; in SkI2cInit1()
664 pPrt = &pAC->GIni.GP[0]; in SkI2cInit1()
666 if (pAC->GIni.GIGenesis) { in SkI2cInit1()
668 if (pAC->GIni.GIMacsFound == 1) { in SkI2cInit1()
669 pAC->I2c.MaxSens += 1; in SkI2cInit1()
672 pAC->I2c.MaxSens += 3; in SkI2cInit1()
677 pAC->I2c.MaxSens += 3; in SkI2cInit1()
680 for (i = 0; i < pAC->I2c.MaxSens; i++) { in SkI2cInit1()
683 pAC->I2c.SenTable[i].SenDesc = "Temperature"; in SkI2cInit1()
684 pAC->I2c.SenTable[i].SenType = SK_SEN_TEMP; in SkI2cInit1()
685 pAC->I2c.SenTable[i].SenThreErrHigh = SK_SEN_TEMP_HIGH_ERR; in SkI2cInit1()
686 pAC->I2c.SenTable[i].SenThreWarnHigh = SK_SEN_TEMP_HIGH_WARN; in SkI2cInit1()
687 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_TEMP_LOW_WARN; in SkI2cInit1()
688 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_TEMP_LOW_ERR; in SkI2cInit1()
689 pAC->I2c.SenTable[i].SenReg = LM80_TEMP_IN; in SkI2cInit1()
692 pAC->I2c.SenTable[i].SenDesc = "Voltage PCI"; in SkI2cInit1()
693 pAC->I2c.SenTable[i].SenType = SK_SEN_VOLT; in SkI2cInit1()
694 pAC->I2c.SenTable[i].SenThreErrHigh = SK_SEN_PCI_5V_HIGH_ERR; in SkI2cInit1()
695 pAC->I2c.SenTable[i].SenThreWarnHigh = SK_SEN_PCI_5V_HIGH_WARN; in SkI2cInit1()
696 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_PCI_5V_LOW_WARN; in SkI2cInit1()
697 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_PCI_5V_LOW_ERR; in SkI2cInit1()
698 pAC->I2c.SenTable[i].SenReg = LM80_VT0_IN; in SkI2cInit1()
701 pAC->I2c.SenTable[i].SenDesc = "Voltage PCI-IO"; in SkI2cInit1()
702 pAC->I2c.SenTable[i].SenType = SK_SEN_VOLT; in SkI2cInit1()
703 pAC->I2c.SenTable[i].SenThreErrHigh = SK_SEN_PCI_IO_5V_HIGH_ERR; in SkI2cInit1()
704 pAC->I2c.SenTable[i].SenThreWarnHigh = SK_SEN_PCI_IO_5V_HIGH_WARN; in SkI2cInit1()
705 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_PCI_IO_3V3_LOW_WARN; in SkI2cInit1()
706 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_PCI_IO_3V3_LOW_ERR; in SkI2cInit1()
707 pAC->I2c.SenTable[i].SenReg = LM80_VT1_IN; in SkI2cInit1()
708 pAC->I2c.SenTable[i].SenInit = SK_SEN_DYN_INIT_PCI_IO; in SkI2cInit1()
711 pAC->I2c.SenTable[i].SenDesc = "Voltage ASIC"; in SkI2cInit1()
712 pAC->I2c.SenTable[i].SenType = SK_SEN_VOLT; in SkI2cInit1()
713 pAC->I2c.SenTable[i].SenThreErrHigh = SK_SEN_VDD_HIGH_ERR; in SkI2cInit1()
714 pAC->I2c.SenTable[i].SenThreWarnHigh = SK_SEN_VDD_HIGH_WARN; in SkI2cInit1()
715 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_VDD_LOW_WARN; in SkI2cInit1()
716 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_VDD_LOW_ERR; in SkI2cInit1()
717 pAC->I2c.SenTable[i].SenReg = LM80_VT2_IN; in SkI2cInit1()
720 if (pAC->GIni.GIGenesis) { in SkI2cInit1()
722 pAC->I2c.SenTable[i].SenDesc = "Voltage PHY A PLL"; in SkI2cInit1()
723 pAC->I2c.SenTable[i].SenThreErrHigh = SK_SEN_PLL_3V3_HIGH_ERR; in SkI2cInit1()
724 pAC->I2c.SenTable[i].SenThreWarnHigh = SK_SEN_PLL_3V3_HIGH_WARN; in SkI2cInit1()
725 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_PLL_3V3_LOW_WARN; in SkI2cInit1()
726 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_PLL_3V3_LOW_ERR; in SkI2cInit1()
729 pAC->I2c.SenTable[i].SenDesc = "Voltage PMA"; in SkI2cInit1()
730 pAC->I2c.SenTable[i].SenThreErrHigh = SK_SEN_PLL_3V3_HIGH_ERR; in SkI2cInit1()
731 pAC->I2c.SenTable[i].SenThreWarnHigh = SK_SEN_PLL_3V3_HIGH_WARN; in SkI2cInit1()
732 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_PLL_3V3_LOW_WARN; in SkI2cInit1()
733 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_PLL_3V3_LOW_ERR; in SkI2cInit1()
737 pAC->I2c.SenTable[i].SenDesc = "Voltage VAUX"; in SkI2cInit1()
738 pAC->I2c.SenTable[i].SenThreErrHigh = SK_SEN_VAUX_3V3_HIGH_ERR; in SkI2cInit1()
739 pAC->I2c.SenTable[i].SenThreWarnHigh = SK_SEN_VAUX_3V3_HIGH_WARN; in SkI2cInit1()
740 if (pAC->GIni.GIVauxAvail) { in SkI2cInit1()
741 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_VAUX_3V3_LOW_WARN; in SkI2cInit1()
742 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_VAUX_3V3_LOW_ERR; in SkI2cInit1()
745 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_VAUX_0V_WARN_ERR; in SkI2cInit1()
746 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_VAUX_0V_WARN_ERR; in SkI2cInit1()
749 pAC->I2c.SenTable[i].SenType = SK_SEN_VOLT; in SkI2cInit1()
750 pAC->I2c.SenTable[i].SenReg = LM80_VT3_IN; in SkI2cInit1()
753 if (pAC->GIni.GIGenesis) { in SkI2cInit1()
754 pAC->I2c.SenTable[i].SenDesc = "Voltage PHY 2V5"; in SkI2cInit1()
755 pAC->I2c.SenTable[i].SenThreErrHigh = SK_SEN_PHY_2V5_HIGH_ERR; in SkI2cInit1()
756 pAC->I2c.SenTable[i].SenThreWarnHigh = SK_SEN_PHY_2V5_HIGH_WARN; in SkI2cInit1()
757 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_PHY_2V5_LOW_WARN; in SkI2cInit1()
758 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_PHY_2V5_LOW_ERR; in SkI2cInit1()
761 pAC->I2c.SenTable[i].SenDesc = "Voltage Core 1V5"; in SkI2cInit1()
762 pAC->I2c.SenTable[i].SenThreErrHigh = SK_SEN_CORE_1V5_HIGH_ERR; in SkI2cInit1()
763 pAC->I2c.SenTable[i].SenThreWarnHigh = SK_SEN_CORE_1V5_HIGH_WARN; in SkI2cInit1()
764 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_CORE_1V5_LOW_WARN; in SkI2cInit1()
765 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_CORE_1V5_LOW_ERR; in SkI2cInit1()
767 pAC->I2c.SenTable[i].SenType = SK_SEN_VOLT; in SkI2cInit1()
768 pAC->I2c.SenTable[i].SenReg = LM80_VT4_IN; in SkI2cInit1()
771 if (pAC->GIni.GIGenesis) { in SkI2cInit1()
772 pAC->I2c.SenTable[i].SenDesc = "Voltage PHY B PLL"; in SkI2cInit1()
775 pAC->I2c.SenTable[i].SenDesc = "Voltage PHY 3V3"; in SkI2cInit1()
777 pAC->I2c.SenTable[i].SenType = SK_SEN_VOLT; in SkI2cInit1()
778 pAC->I2c.SenTable[i].SenThreErrHigh = SK_SEN_PLL_3V3_HIGH_ERR; in SkI2cInit1()
779 pAC->I2c.SenTable[i].SenThreWarnHigh = SK_SEN_PLL_3V3_HIGH_WARN; in SkI2cInit1()
780 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_PLL_3V3_LOW_WARN; in SkI2cInit1()
781 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_PLL_3V3_LOW_ERR; in SkI2cInit1()
782 pAC->I2c.SenTable[i].SenReg = LM80_VT5_IN; in SkI2cInit1()
785 if (pAC->GIni.GIGenesis) { in SkI2cInit1()
786 pAC->I2c.SenTable[i].SenDesc = "Speed Fan"; in SkI2cInit1()
787 pAC->I2c.SenTable[i].SenType = SK_SEN_FAN; in SkI2cInit1()
788 pAC->I2c.SenTable[i].SenThreErrHigh = SK_SEN_FAN_HIGH_ERR; in SkI2cInit1()
789 pAC->I2c.SenTable[i].SenThreWarnHigh = SK_SEN_FAN_HIGH_WARN; in SkI2cInit1()
790 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_FAN_LOW_WARN; in SkI2cInit1()
791 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_FAN_LOW_ERR; in SkI2cInit1()
792 pAC->I2c.SenTable[i].SenReg = LM80_FAN2_IN; in SkI2cInit1()
795 pAC->I2c.SenTable[i].SenDesc = "Voltage PHY 2V5"; in SkI2cInit1()
796 pAC->I2c.SenTable[i].SenType = SK_SEN_VOLT; in SkI2cInit1()
797 pAC->I2c.SenTable[i].SenThreErrHigh = SK_SEN_PHY_2V5_HIGH_ERR; in SkI2cInit1()
798 pAC->I2c.SenTable[i].SenThreWarnHigh = SK_SEN_PHY_2V5_HIGH_WARN; in SkI2cInit1()
799 pAC->I2c.SenTable[i].SenThreWarnLow = SK_SEN_PHY_2V5_LOW_WARN; in SkI2cInit1()
800 pAC->I2c.SenTable[i].SenThreErrLow = SK_SEN_PHY_2V5_LOW_ERR; in SkI2cInit1()
801 pAC->I2c.SenTable[i].SenReg = LM80_VT6_IN; in SkI2cInit1()
805 SK_ERR_LOG(pAC, SK_ERRCL_INIT | SK_ERRCL_SW, in SkI2cInit1()
810 pAC->I2c.SenTable[i].SenValue = 0; in SkI2cInit1()
811 pAC->I2c.SenTable[i].SenErrFlag = SK_SEN_ERR_OK; in SkI2cInit1()
812 pAC->I2c.SenTable[i].SenErrCts = 0; in SkI2cInit1()
813 pAC->I2c.SenTable[i].SenBegErrTS = 0; in SkI2cInit1()
814 pAC->I2c.SenTable[i].SenState = SK_SEN_IDLE; in SkI2cInit1()
815 pAC->I2c.SenTable[i].SenRead = SkLm80ReadSensor; in SkI2cInit1()
816 pAC->I2c.SenTable[i].SenDev = LM80_ADDR; in SkI2cInit1()
820 pAC->I2c.DummyReads = pAC->I2c.MaxSens; in SkI2cInit1()
827 pAC->I2c.InitLevel = SK_INIT_IO; in SkI2cInit1()
836 SK_AC *pAC, /* Adapter Context */ in SkI2cInit2() argument
842 if (pAC->I2c.InitLevel != SK_INIT_IO) { in SkI2cInit2()
848 pSen = &pAC->I2c.SenTable[pAC->I2c.CurrSens]; in SkI2cInit2()
849 ReadComplete = SkI2cReadSensor(pAC, IoC, pSen); in SkI2cInit2()
852 SK_ERR_LOG(pAC, SK_ERRCL_INIT, SKERR_I2C_E008, SKERR_I2C_E008MSG); in SkI2cInit2()
856 pAC->I2c.InitLevel = SK_INIT_RUN; in SkI2cInit2()
881 SK_AC *pAC, /* Adapter Context */ in SkI2cInit() argument
888 return(SkI2cInit0(pAC)); in SkI2cInit()
890 return(SkI2cInit1(pAC, IoC)); in SkI2cInit()
892 return(SkI2cInit2(pAC, IoC)); in SkI2cInit()
913 SK_AC *pAC, /* Adapter Context */ in SkI2cIsr() argument
922 SkEventQueue(pAC, SKGE_I2C, SK_I2CEV_IRQ, Para); in SkI2cIsr()
930 SK_AC *pAC, /* Adapter Context */ in SkI2cCheckSensor() argument
942 if (pAC->I2c.DummyReads > 0) { in SkI2cCheckSensor()
943 pAC->I2c.DummyReads--; in SkI2cCheckSensor()
948 CurrTime = SkOsGetTime(pAC); in SkI2cCheckSensor()
951 ParaLocal.Para64 = (SK_U64)pAC->I2c.CurrSens; in SkI2cCheckSensor()
1001 SkEventQueue(pAC, SKGE_PNMI, (TooHigh ? in SkI2cCheckSensor()
1012 SK_ERR_LOG(pAC, SK_ERRCL_HW, SKERR_I2C_E011, SKERR_I2C_E011MSG); in SkI2cCheckSensor()
1015 SK_ERR_LOG(pAC, SK_ERRCL_HW, SKERR_I2C_E012, SKERR_I2C_E012MSG); in SkI2cCheckSensor()
1018 SK_ERR_LOG(pAC, SK_ERRCL_HW, SKERR_I2C_E015, SKERR_I2C_E015MSG); in SkI2cCheckSensor()
1066 SkEventQueue(pAC, SKGE_PNMI, (TooHigh ? in SkI2cCheckSensor()
1077 SK_ERR_LOG(pAC, SK_ERRCL_HW, SKERR_I2C_E009, SKERR_I2C_E009MSG); in SkI2cCheckSensor()
1080 SK_ERR_LOG(pAC, SK_ERRCL_HW, SKERR_I2C_E010, SKERR_I2C_E010MSG); in SkI2cCheckSensor()
1083 SK_ERR_LOG(pAC, SK_ERRCL_HW, SKERR_I2C_E014, SKERR_I2C_E014MSG); in SkI2cCheckSensor()
1155 SK_ERR_LOG(pAC, SK_ERRCL_HW, SKERR_I2C_E013, SKERR_I2C_E013MSG); in SkI2cCheckSensor()
1165 SK_AC *pAC, /* Adapter Context */ in SkI2cEvent() argument
1177 if (pAC->I2c.MaxSens == 0) { in SkI2cEvent()
1183 pSen = &pAC->I2c.SenTable[pAC->I2c.CurrSens]; in SkI2cEvent()
1184 ReadComplete = SkI2cReadSensor(pAC, IoC, pSen); in SkI2cEvent()
1188 SkI2cCheckSensor(pAC, pSen); in SkI2cEvent()
1191 pAC->I2c.CurrSens++; in SkI2cEvent()
1192 if (pAC->I2c.CurrSens >= pAC->I2c.MaxSens) { in SkI2cEvent()
1193 pAC->I2c.CurrSens = 0; in SkI2cEvent()
1203 pAC->I2c.TimerMode = SK_TIMER_NEW_GAUGING; in SkI2cEvent()
1205 SkTimerStart(pAC, IoC, &pAC->I2c.SenTimer, Time, in SkI2cEvent()
1212 pAC->I2c.TimerMode = SK_TIMER_WATCH_SM; in SkI2cEvent()
1214 SkTimerStart(pAC, IoC, &pAC->I2c.SenTimer, SK_I2C_TIM_WATCH, in SkI2cEvent()
1219 if (pAC->I2c.TimerMode == SK_TIMER_NEW_GAUGING) { in SkI2cEvent()
1222 SkTimerStop(pAC, IoC, &pAC->I2c.SenTimer); in SkI2cEvent()
1224 pSen = &pAC->I2c.SenTable[pAC->I2c.CurrSens]; in SkI2cEvent()
1225 ReadComplete = SkI2cReadSensor(pAC, IoC, pSen); in SkI2cEvent()
1229 SkI2cCheckSensor(pAC, pSen); in SkI2cEvent()
1232 pAC->I2c.CurrSens++; in SkI2cEvent()
1233 if (pAC->I2c.CurrSens == pAC->I2c.MaxSens) { in SkI2cEvent()
1234 pAC->I2c.CurrSens = 0; in SkI2cEvent()
1244 pAC->I2c.TimerMode = SK_TIMER_NEW_GAUGING; in SkI2cEvent()
1246 SkTimerStart(pAC, IoC, &pAC->I2c.SenTimer, Time, in SkI2cEvent()
1251 pSen = &pAC->I2c.SenTable[pAC->I2c.CurrSens]; in SkI2cEvent()
1256 pAC->I2c.CurrSens++; in SkI2cEvent()
1257 if (pAC->I2c.CurrSens == pAC->I2c.MaxSens) { in SkI2cEvent()
1258 pAC->I2c.CurrSens = 0; in SkI2cEvent()
1268 pAC->I2c.TimerMode = SK_TIMER_NEW_GAUGING; in SkI2cEvent()
1270 SkTimerStart(pAC, IoC, &pAC->I2c.SenTimer, Time, in SkI2cEvent()
1276 pAC->I2c.SenTable[i].SenErrFlag = SK_SEN_ERR_OK; in SkI2cEvent()
1277 pAC->I2c.SenTable[i].SenErrCts = 0; in SkI2cEvent()
1278 pAC->I2c.SenTable[i].SenWarnCts = 0; in SkI2cEvent()
1279 pAC->I2c.SenTable[i].SenBegErrTS = 0; in SkI2cEvent()
1280 pAC->I2c.SenTable[i].SenBegWarnTS = 0; in SkI2cEvent()
1281 pAC->I2c.SenTable[i].SenLastErrTrapTS = (SK_U64)0; in SkI2cEvent()
1282 pAC->I2c.SenTable[i].SenLastErrLogTS = (SK_U64)0; in SkI2cEvent()
1283 pAC->I2c.SenTable[i].SenLastWarnTrapTS = (SK_U64)0; in SkI2cEvent()
1284 pAC->I2c.SenTable[i].SenLastWarnLogTS = (SK_U64)0; in SkI2cEvent()
1288 SK_ERR_LOG(pAC, SK_ERRCL_SW, SKERR_I2C_E006, SKERR_I2C_E006MSG); in SkI2cEvent()