Lines Matching refs:errors
1080 u_long errors ; in lem_evaluate() local
1090 errors = inpw(PLC(((int) phy->np),PL_LINK_ERR_CTR)) ; in lem_evaluate()
1091 lem->lem_errors += errors ; in lem_evaluate()
1092 mib->fddiPORTLem_Ct += errors ; in lem_evaluate()
1094 errors = lem->lem_errors ; in lem_evaluate()
1105 if (!errors) ber = 15 ; in lem_evaluate()
1106 else if (errors <= 9) ber = 9 ; in lem_evaluate()
1107 else if (errors <= 99) ber = 8 ; in lem_evaluate()
1108 else if (errors <= 999) ber = 7 ; in lem_evaluate()
1109 else if (errors <= 9999) ber = 6 ; in lem_evaluate()
1110 else if (errors <= 99999) ber = 5 ; in lem_evaluate()
1111 else if (errors <= 999999) ber = 4 ; in lem_evaluate()
1112 else if (errors <= 9999999) ber = 3 ; in lem_evaluate()
1113 else if (errors <= 99999999) ber = 2 ; in lem_evaluate()
1114 else if (errors <= 999999999) ber = 1 ; in lem_evaluate()
1189 int errors ; in lem_check_lct() local
1194 errors = inpw(PLC(((int)phy->np),PL_LINK_ERR_CTR)) ; in lem_check_lct()
1195 lem->lem_errors += errors ; in lem_check_lct()
1196 mib->fddiPORTLem_Ct += errors ; in lem_check_lct()