Lines Matching refs:Ret
715 int Ret; in SkPnmiGetStruct() local
751 if ((Ret = MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1)) != in SkPnmiGetStruct()
754 SK_PNMI_SET_STAT(pBuf, Ret, (SK_U32)(-1)); in SkPnmiGetStruct()
756 return (Ret); in SkPnmiGetStruct()
759 if ((Ret = RlmtUpdate(pAC, IoC, NetIndex)) != SK_PNMI_ERR_OK) { in SkPnmiGetStruct()
761 SK_PNMI_SET_STAT(pBuf, Ret, (SK_U32)(-1)); in SkPnmiGetStruct()
763 return (Ret); in SkPnmiGetStruct()
766 if ((Ret = SirqUpdate(pAC, IoC)) != SK_PNMI_ERR_OK) { in SkPnmiGetStruct()
768 SK_PNMI_SET_STAT(pBuf, Ret, (SK_U32)(-1)); in SkPnmiGetStruct()
770 return (Ret); in SkPnmiGetStruct()
782 Ret = GetVpdKeyArr(pAC, IoC, &KeyArr[0][0], sizeof(KeyArr), &TmpLen); in SkPnmiGetStruct()
783 if (Ret != SK_PNMI_ERR_OK) { in SkPnmiGetStruct()
790 SK_PNMI_SET_STAT(pBuf, Ret, (SK_U32)(-1)); in SkPnmiGetStruct()
824 Ret = IdTable[TableIndex].Func(pAC, IoC, SK_PNMI_GET, in SkPnmiGetStruct()
834 if (Ret == SK_PNMI_ERR_UNKNOWN_INST) { in SkPnmiGetStruct()
839 if (Ret != SK_PNMI_ERR_OK) { in SkPnmiGetStruct()
846 SK_PNMI_SET_STAT(pBuf, Ret, DstOffset); in SkPnmiGetStruct()
848 return (Ret); in SkPnmiGetStruct()
998 int Ret; in SkPnmiEvent() local
1317 Ret = MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1); in SkPnmiEvent()
1318 if (Ret != SK_PNMI_ERR_OK) { in SkPnmiEvent()
1708 int Ret; in PnmiVar() local
1724 Ret = IdTable[TableIndex].Func(pAC, IoC, Action, Id, pBuf, pLen, in PnmiVar()
1729 return (Ret); in PnmiVar()
1758 int Ret; in PnmiStruct() local
1793 if ((Ret = RlmtUpdate(pAC, IoC, NetIndex)) != SK_PNMI_ERR_OK) { in PnmiStruct()
1795 SK_PNMI_SET_STAT(pBuf, Ret, (SK_U32)(-1)); in PnmiStruct()
1797 return (Ret); in PnmiStruct()
1800 if ((Ret = SirqUpdate(pAC, IoC)) != SK_PNMI_ERR_OK) { in PnmiStruct()
1802 SK_PNMI_SET_STAT(pBuf, Ret, (SK_U32)(-1)); in PnmiStruct()
1804 return (Ret); in PnmiStruct()
1841 Ret = IdTable[TableIndex].Func(pAC, IoC, in PnmiStruct()
1845 if (Ret == SK_PNMI_ERR_UNKNOWN_INST) { in PnmiStruct()
1849 if (Ret != SK_PNMI_ERR_TOO_SHORT) { in PnmiStruct()
1879 Ret = IdTable[TableIndex].Func(pAC, IoC, Action, in PnmiStruct()
1883 if (Ret != SK_PNMI_ERR_OK) { in PnmiStruct()
2030 int Ret; in Perform() local
2095 Ret = SK_DRIVER_RESET(pAC, IoC); in Perform()
2096 if (Ret != 0) { in Perform()
2111 Ret = SK_DRIVER_SELFTEST(pAC, IoC); in Perform()
2112 pAC->Pnmi.TestResult = Ret; in Perform()
2161 int Ret; in Mac8023Stat() local
2225 Ret = MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1); in Mac8023Stat()
2226 if ( Ret != SK_PNMI_ERR_OK) { in Mac8023Stat()
2229 return (Ret); in Mac8023Stat()
2303 int Ret; in MacPrivateStat() local
2353 Ret = MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1); in MacPrivateStat()
2354 if (Ret != SK_PNMI_ERR_OK) { in MacPrivateStat()
2357 return (Ret); in MacPrivateStat()
2459 int Ret; in Addr() local
2614 Ret = SkAddrOverride(pAC, IoC, PhysPortIndex, in Addr()
2618 if (Ret != SK_ADDR_OVERRIDE_SUCCESS) { in Addr()
3032 int Ret; in Vpd() local
3038 Ret = GetVpdKeyArr(pAC, IoC, &KeyArr[0][0], sizeof(KeyArr), &KeyNo); in Vpd()
3039 if (Ret != SK_PNMI_ERR_OK) { in Vpd()
3041 return (Ret); in Vpd()
3363 Ret = VpdWrite(pAC, IoC, KeyStr, Buf); in Vpd()
3364 if (Ret == SK_PNMI_VPD_NOWRITE ) { in Vpd()
3369 else if (Ret != SK_PNMI_VPD_OK) { in Vpd()
3382 Ret = VpdUpdate(pAC, IoC); in Vpd()
3383 if (Ret != SK_PNMI_VPD_OK) { in Vpd()
3433 Ret = VpdDelete(pAC, IoC, KeyStr); in Vpd()
3434 if (Ret != SK_PNMI_VPD_OK) { in Vpd()
3447 Ret = VpdUpdate(pAC, IoC); in Vpd()
3448 if (Ret != SK_PNMI_VPD_OK) { in Vpd()
3495 int Ret; in General() local
3640 Ret = MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1); in General()
3641 if (Ret != SK_PNMI_ERR_OK) { in General()
3644 return (Ret); in General()
4493 int Ret; in Rlmt() local
4564 if ((Ret = RlmtUpdate(pAC, IoC, NetIndex)) != SK_PNMI_ERR_OK) { in Rlmt()
4567 return (Ret); in Rlmt()
4802 int Ret; in RlmtStat() local
4889 if ((Ret = RlmtUpdate(pAC, IoC, NetIndex)) != SK_PNMI_ERR_OK) { in RlmtStat()
4892 return (Ret); in RlmtStat()
5008 int Ret; in MacPrivateConf() local
5092 if ((Ret = SirqUpdate(pAC, IoC)) != SK_PNMI_ERR_OK) { in MacPrivateConf()
5095 return (Ret); in MacPrivateConf()
6539 int Ret; in GetVpdKeyArr() local
6547 Ret = VpdKeys(pAC, IoC, (char *)&BufKeys, (int *)&BufKeysLen, in GetVpdKeyArr()
6549 if (Ret > 0) { in GetVpdKeyArr()