Lines Matching refs:RetCode

1014 	SK_U32		RetCode;  in SkPnmiEvent()  local
1621 RetCode = SkGmCableDiagStatus(pAC, IoC, PhysPortIndex, SK_FALSE); in SkPnmiEvent()
1622 if (RetCode == 2) { in SkPnmiEvent()
7614 SK_U32 RetCode = SK_PNMI_ERR_GENERAL; in PowerManagement() local
7675 RetCode = SkPowerQueryPnPCapabilities(pAC, IoC, pBuf, pLen); in PowerManagement()
7685 RetCode = SK_PNMI_ERR_OK; in PowerManagement()
7696 RetCode = SK_PNMI_ERR_NOT_SUPPORTED; in PowerManagement()
7700 RetCode = SkPowerGetEnableWakeUp(pAC, IoC, pBuf, pLen); in PowerManagement()
7704 RetCode = SK_PNMI_ERR_GENERAL; in PowerManagement()
7708 return (RetCode); in PowerManagement()
7723 RetCode = SkPowerSetPower(pAC, IoC, pBuf, pLen); in PowerManagement()
7727 RetCode = SkPowerAddWakeUpPattern(pAC, IoC, pBuf, pLen); in PowerManagement()
7731 RetCode = SkPowerRemoveWakeUpPattern(pAC, IoC, pBuf, pLen); in PowerManagement()
7735 RetCode = SkPowerSetEnableWakeUp(pAC, IoC, pBuf, pLen); in PowerManagement()
7739 RetCode = SK_PNMI_ERR_READ_ONLY; in PowerManagement()
7742 return (RetCode); in PowerManagement()
7778 SK_U32 RetCode = SK_PNMI_ERR_GENERAL; in DiagActions() local
7819 RetCode = SK_PNMI_ERR_OK; in DiagActions()
7824 RetCode = SK_PNMI_ERR_GENERAL; in DiagActions()
7827 return (RetCode); in DiagActions()
7849 RetCode = SkDrvLeaveDiagMode(pAC); in DiagActions()
7854 RetCode = SK_PNMI_ERR_OK; in DiagActions()
7859 RetCode = SK_PNMI_ERR_GENERAL; in DiagActions()
7863 if (RetCode == SK_PNMI_ERR_OK) { in DiagActions()
7871 RetCode = SK_PNMI_ERR_OK; in DiagActions()
7881 RetCode = SkDrvEnterDiagMode(pAC); in DiagActions()
7885 RetCode = SK_PNMI_ERR_GENERAL; in DiagActions()
7890 RetCode = SK_PNMI_ERR_GENERAL; in DiagActions()
7893 if (RetCode == SK_PNMI_ERR_OK) { in DiagActions()
7903 RetCode = SkDrvLeaveDiagMode(pAC); in DiagActions()
7908 RetCode = SK_PNMI_ERR_OK; in DiagActions()
7913 RetCode = SK_PNMI_ERR_GENERAL; in DiagActions()
7917 if (RetCode == SK_PNMI_ERR_OK) { in DiagActions()
7924 RetCode = SK_PNMI_ERR_BAD_VALUE; in DiagActions()
7930 RetCode = SK_PNMI_ERR_GENERAL; in DiagActions()
7933 if (RetCode == SK_PNMI_ERR_OK) { in DiagActions()
7940 return (RetCode); in DiagActions()
7983 SK_U32 RetCode = SK_PNMI_ERR_GENERAL; in Vct() local
8073 RetCode = SkGmCableDiagStatus(pAC, IoC, PhysPortIndex, SK_FALSE); in Vct()
8074 if (RetCode == 0) { in Vct()
8120 RetCode = SK_PNMI_ERR_OK; in Vct()
8126 RetCode = SK_PNMI_ERR_OK; in Vct()
8135 return (RetCode); in Vct()
8174 RetCode = SkGmCableDiagStatus(pAC, IoC, PhysPortIndex, SK_TRUE); in Vct()
8175 if (RetCode == 0) { /* RetCode: 0 => Start! */ in Vct()
8188 SK_PNMI_STORE_U32((pBuf + Offset), RetCode); in Vct()
8189 RetCode = SK_PNMI_ERR_OK; in Vct()
8192 SK_PNMI_STORE_U32((pBuf + Offset), RetCode); in Vct()
8193 RetCode = SK_PNMI_ERR_OK; in Vct()
8197 RetCode = 4; in Vct()
8198 SK_PNMI_STORE_U32((pBuf + Offset), RetCode); in Vct()
8199 RetCode = SK_PNMI_ERR_OK; in Vct()
8210 return (RetCode); in Vct()
8224 SK_U32 RetCode; in CheckVctStatus() local
8244 RetCode = SkGmCableDiagStatus(pAC,IoC, PhysPortIndex, SK_FALSE); in CheckVctStatus()
8245 if (RetCode == 2) { /* VCT test is running. */ in CheckVctStatus()