Searched refs:lem (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/net/fddi/skfp/ |
D | pcmplc.c | 383 memset((char *)&phy->lem,0,sizeof(struct lem_counter)) ; in pcm_init() 1061 struct lem_counter *lem = &phy->lem ; in reset_lem_struct() local 1064 lem->lem_float_ber = 15 * 100 ; in reset_lem_struct() 1074 struct lem_counter *lem = &phy->lem ; in lem_evaluate() local 1080 if (!lem->lem_on) in lem_evaluate() 1084 lem->lem_errors += errors ; in lem_evaluate() 1087 errors = lem->lem_errors ; in lem_evaluate() 1114 lem->lem_float_ber = lem->lem_float_ber * 7 + ber * 3 ; in lem_evaluate() 1115 lem->lem_float_ber /= 10 ; in lem_evaluate() 1116 mib->fddiPORTLer_Estimate = lem->lem_float_ber / 100 ; in lem_evaluate() [all …]
|
D | smt.c | 86 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy); 1084 smt_fill_lem(smc,sif->lem,PS) ; in smt_send_sif_operation() 1088 smt_fill_lem(smc,&sif->lem[i],i) ; in smt_send_sif_operation() 1406 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy) in smt_fill_lem() argument 1412 SMTSETPARA(lem,SMT_P_LEM) ; in smt_fill_lem() 1413 lem->lem_mib_index = phy+INDEX_PORT ; in smt_fill_lem() 1414 lem->lem_phy_index = phy_index(smc,phy) ; in smt_fill_lem() 1415 lem->lem_pad2 = 0 ; in smt_fill_lem() 1416 lem->lem_cutoff = mib->fddiPORTLer_Cutoff ; in smt_fill_lem() 1417 lem->lem_alarm = mib->fddiPORTLer_Alarm ; in smt_fill_lem() [all …]
|
/Linux-v5.4/drivers/net/fddi/skfp/h/ |
D | smc.h | 232 struct lem_counter lem ; member
|
D | smt.h | 767 struct smt_p_lem lem[1] ; /* phy lem status */ member
|