Home
last modified time | relevance | path

Searched refs:lem (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/fddi/skfp/
Dpcmplc.c388 memset((char *)&phy->lem,0,sizeof(struct lem_counter)) ; in pcm_init()
1065 struct lem_counter *lem = &phy->lem ; in reset_lem_struct() local
1068 lem->lem_float_ber = 15 * 100 ; in reset_lem_struct()
1078 struct lem_counter *lem = &phy->lem ; in lem_evaluate() local
1084 if (!lem->lem_on) in lem_evaluate()
1088 lem->lem_errors += errors ; in lem_evaluate()
1091 errors = lem->lem_errors ; in lem_evaluate()
1118 lem->lem_float_ber = lem->lem_float_ber * 7 + ber * 3 ; in lem_evaluate()
1119 lem->lem_float_ber /= 10 ; in lem_evaluate()
1120 mib->fddiPORTLer_Estimate = lem->lem_float_ber / 100 ; in lem_evaluate()
[all …]
Dsmt.c90 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy);
1088 smt_fill_lem(smc,sif->lem,PS) ; in smt_send_sif_operation()
1092 smt_fill_lem(smc,&sif->lem[i],i) ; in smt_send_sif_operation()
1410 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy) in smt_fill_lem() argument
1416 SMTSETPARA(lem,SMT_P_LEM) ; in smt_fill_lem()
1417 lem->lem_mib_index = phy+INDEX_PORT ; in smt_fill_lem()
1418 lem->lem_phy_index = phy_index(smc,phy) ; in smt_fill_lem()
1419 lem->lem_pad2 = 0 ; in smt_fill_lem()
1420 lem->lem_cutoff = mib->fddiPORTLer_Cutoff ; in smt_fill_lem()
1421 lem->lem_alarm = mib->fddiPORTLer_Alarm ; in smt_fill_lem()
[all …]
/Linux-v4.19/drivers/net/fddi/skfp/h/
Dsmc.h236 struct lem_counter lem ; member
Dsmt.h771 struct smt_p_lem lem[1] ; /* phy lem status */ member