lem 232 drivers/net/fddi/skfp/h/smc.h struct lem_counter lem ; lem 767 drivers/net/fddi/skfp/h/smt.h struct smt_p_lem lem[1] ; /* phy lem status */ lem 383 drivers/net/fddi/skfp/pcmplc.c memset((char *)&phy->lem,0,sizeof(struct lem_counter)) ; lem 1061 drivers/net/fddi/skfp/pcmplc.c struct lem_counter *lem = &phy->lem ; lem 1064 drivers/net/fddi/skfp/pcmplc.c lem->lem_float_ber = 15 * 100 ; lem 1074 drivers/net/fddi/skfp/pcmplc.c struct lem_counter *lem = &phy->lem ; lem 1080 drivers/net/fddi/skfp/pcmplc.c if (!lem->lem_on) lem 1084 drivers/net/fddi/skfp/pcmplc.c lem->lem_errors += errors ; lem 1087 drivers/net/fddi/skfp/pcmplc.c errors = lem->lem_errors ; lem 1114 drivers/net/fddi/skfp/pcmplc.c lem->lem_float_ber = lem->lem_float_ber * 7 + ber * 3 ; lem 1115 drivers/net/fddi/skfp/pcmplc.c lem->lem_float_ber /= 10 ; lem 1116 drivers/net/fddi/skfp/pcmplc.c mib->fddiPORTLer_Estimate = lem->lem_float_ber / 100 ; lem 1121 drivers/net/fddi/skfp/pcmplc.c if (lem->lem_errors) { lem 1123 drivers/net/fddi/skfp/pcmplc.c DB_PCMN(1, "errors : %ld", lem->lem_errors); lem 1126 drivers/net/fddi/skfp/pcmplc.c DB_PCMN(1, "float BER : 10E-(%d/100)", lem->lem_float_ber); lem 1130 drivers/net/fddi/skfp/pcmplc.c lem->lem_errors = 0L ; lem 1151 drivers/net/fddi/skfp/pcmplc.c lem->lem_float_ber += 2*100 ; lem 1179 drivers/net/fddi/skfp/pcmplc.c struct lem_counter *lem = &phy->lem ; lem 1187 drivers/net/fddi/skfp/pcmplc.c lem->lem_errors += errors ; lem 1189 drivers/net/fddi/skfp/pcmplc.c if (lem->lem_errors) { lem 1192 drivers/net/fddi/skfp/pcmplc.c if (lem->lem_errors >= smc->s.lct_short) lem 1196 drivers/net/fddi/skfp/pcmplc.c if (lem->lem_errors >= smc->s.lct_medium) lem 1200 drivers/net/fddi/skfp/pcmplc.c if (lem->lem_errors >= smc->s.lct_long) lem 1204 drivers/net/fddi/skfp/pcmplc.c if (lem->lem_errors >= smc->s.lct_extended) lem 1208 drivers/net/fddi/skfp/pcmplc.c DB_PCMN(1, " >>errors : %lu", lem->lem_errors); lem 1223 drivers/net/fddi/skfp/pcmplc.c struct lem_counter *lem = &smc->y[np].lem ; lem 1225 drivers/net/fddi/skfp/pcmplc.c lem->lem_on = 1 ; lem 1226 drivers/net/fddi/skfp/pcmplc.c lem->lem_errors = 0L ; lem 1241 drivers/net/fddi/skfp/pcmplc.c struct lem_counter *lem = &smc->y[np].lem ; lem 1243 drivers/net/fddi/skfp/pcmplc.c lem->lem_on = 0 ; lem 1728 drivers/net/fddi/skfp/pcmplc.c if (phy->lem.lem_on) { lem 1732 drivers/net/fddi/skfp/pcmplc.c phy->lem.lem_errors += i ; lem 1972 drivers/net/fddi/skfp/pcmplc.c printf("\tLEM_err : %ld\n",smc->y[np].lem.lem_errors) ; lem 86 drivers/net/fddi/skfp/smt.c static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy); lem 1084 drivers/net/fddi/skfp/smt.c smt_fill_lem(smc,sif->lem,PS) ; lem 1088 drivers/net/fddi/skfp/smt.c smt_fill_lem(smc,&sif->lem[i],i) ; lem 1406 drivers/net/fddi/skfp/smt.c static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy) lem 1412 drivers/net/fddi/skfp/smt.c SMTSETPARA(lem,SMT_P_LEM) ; lem 1413 drivers/net/fddi/skfp/smt.c lem->lem_mib_index = phy+INDEX_PORT ; lem 1414 drivers/net/fddi/skfp/smt.c lem->lem_phy_index = phy_index(smc,phy) ; lem 1415 drivers/net/fddi/skfp/smt.c lem->lem_pad2 = 0 ; lem 1416 drivers/net/fddi/skfp/smt.c lem->lem_cutoff = mib->fddiPORTLer_Cutoff ; lem 1417 drivers/net/fddi/skfp/smt.c lem->lem_alarm = mib->fddiPORTLer_Alarm ; lem 1419 drivers/net/fddi/skfp/smt.c lem->lem_estimate = mib->fddiPORTLer_Estimate ; lem 1421 drivers/net/fddi/skfp/smt.c lem->lem_reject_ct = mib->fddiPORTLem_Reject_Ct ; lem 1422 drivers/net/fddi/skfp/smt.c lem->lem_ct = mib->fddiPORTLem_Ct ; /* total number of errors */