Searched refs:lem (Results 1 – 4 of 4) sorted by relevance
/drivers/net/fddi/skfp/ |
D | pcmplc.c | 390 memset((char *)&phy->lem,0,sizeof(struct lem_counter)) ; in pcm_init() 1068 struct lem_counter *lem = &phy->lem ; in reset_lem_struct() local 1071 lem->lem_float_ber = 15 * 100 ; in reset_lem_struct() 1081 struct lem_counter *lem = &phy->lem ; in lem_evaluate() local 1087 if (!lem->lem_on) in lem_evaluate() 1091 lem->lem_errors += errors ; in lem_evaluate() 1094 errors = lem->lem_errors ; in lem_evaluate() 1121 lem->lem_float_ber = lem->lem_float_ber * 7 + ber * 3 ; in lem_evaluate() 1122 lem->lem_float_ber /= 10 ; in lem_evaluate() 1123 mib->fddiPORTLer_Estimate = lem->lem_float_ber / 100 ; in lem_evaluate() [all …]
|
D | smt.c | 91 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy); 1089 smt_fill_lem(smc,sif->lem,PS) ; in smt_send_sif_operation() 1093 smt_fill_lem(smc,&sif->lem[i],i) ; in smt_send_sif_operation() 1411 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy) in smt_fill_lem() argument 1417 SMTSETPARA(lem,SMT_P_LEM) ; in smt_fill_lem() 1418 lem->lem_mib_index = phy+INDEX_PORT ; in smt_fill_lem() 1419 lem->lem_phy_index = phy_index(smc,phy) ; in smt_fill_lem() 1420 lem->lem_pad2 = 0 ; in smt_fill_lem() 1421 lem->lem_cutoff = mib->fddiPORTLer_Cutoff ; in smt_fill_lem() 1422 lem->lem_alarm = mib->fddiPORTLer_Alarm ; in smt_fill_lem() [all …]
|
/drivers/net/fddi/skfp/h/ |
D | smc.h | 236 struct lem_counter lem ; member
|
D | smt.h | 771 struct smt_p_lem lem[1] ; /* phy lem status */ member
|