Searched refs:lem (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/fddi/skfp/ |
H A D | pcmplc.c | 379 memset((char *)&phy->lem,0,sizeof(struct lem_counter)) ; in pcm_init() 1057 struct lem_counter *lem = &phy->lem ; in reset_lem_struct() local 1060 lem->lem_float_ber = 15 * 100 ; in reset_lem_struct() 1070 struct lem_counter *lem = &phy->lem ; in lem_evaluate() local 1076 if (!lem->lem_on) in lem_evaluate() 1080 lem->lem_errors += errors ; in lem_evaluate() 1083 errors = lem->lem_errors ; in lem_evaluate() 1110 lem->lem_float_ber = lem->lem_float_ber * 7 + ber * 3 ; in lem_evaluate() 1111 lem->lem_float_ber /= 10 ; in lem_evaluate() 1112 mib->fddiPORTLer_Estimate = lem->lem_float_ber / 100 ; in lem_evaluate() [all …]
|
H A D | smt.c | 82 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy); 1066 struct_size(sif, lem, ports)))) in smt_send_sif_operation() 1080 smt_fill_lem(smc,sif->lem,PS) ; in smt_send_sif_operation() 1084 smt_fill_lem(smc,&sif->lem[i],i) ; in smt_send_sif_operation() 1402 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy) in smt_fill_lem() argument 1408 SMTSETPARA(lem,SMT_P_LEM) ; in smt_fill_lem() 1409 lem->lem_mib_index = phy+INDEX_PORT ; in smt_fill_lem() 1410 lem->lem_phy_index = phy_index(smc,phy) ; in smt_fill_lem() 1411 lem->lem_pad2 = 0 ; in smt_fill_lem() 1412 lem->lem_cutoff = mib->fddiPORTLer_Cutoff ; in smt_fill_lem() [all …]
|
/linux/drivers/net/fddi/skfp/h/ |
H A D | smc.h | 232 struct lem_counter lem ; member
|
H A D | smt.h | 767 struct smt_p_lem lem[]; /* phy lem status */ member
|