plc 437 drivers/net/fddi/skfp/drvfbi.c void pcm_state_change(struct s_smc *smc, int plc, int p_state) plc 444 drivers/net/fddi/skfp/drvfbi.c DRV_PCM_STATE_CHANGE(smc,plc,p_state) ; plc 561 drivers/net/fddi/skfp/h/cmtdef.h void pcm_state_change(struct s_smc *smc, int plc, int p_state); plc 84 drivers/net/fddi/skfp/h/skfbiinc.h #define DRV_PCM_STATE_CHANGE(smc,plc,p_state) /* nothing */ plc 234 drivers/net/fddi/skfp/h/smc.h struct s_plc plc ; plc 385 drivers/net/fddi/skfp/pcmplc.c memset((char *)&phy->plc,0,sizeof(struct s_plc)) ; plc 386 drivers/net/fddi/skfp/pcmplc.c phy->plc.p_state = PS_OFF ; plc 670 drivers/net/fddi/skfp/pcmplc.c struct s_plc *plc ; plc 676 drivers/net/fddi/skfp/pcmplc.c plc = &phy->plc ; plc 830 drivers/net/fddi/skfp/pcmplc.c plc->p_state = PS_BIT3 ; plc 831 drivers/net/fddi/skfp/pcmplc.c plc->p_bits = 3 ; plc 832 drivers/net/fddi/skfp/pcmplc.c plc->p_start = 0 ; plc 854 drivers/net/fddi/skfp/pcmplc.c switch (plc->p_state) { plc 859 drivers/net/fddi/skfp/pcmplc.c plc->p_state = PS_BIT4 ; plc 860 drivers/net/fddi/skfp/pcmplc.c plc->p_bits = 1 ; plc 861 drivers/net/fddi/skfp/pcmplc.c plc->p_start = 3 ; plc 871 drivers/net/fddi/skfp/pcmplc.c plc->p_state = PS_BIT7 ; plc 872 drivers/net/fddi/skfp/pcmplc.c plc->p_bits = 3 ; plc 873 drivers/net/fddi/skfp/pcmplc.c plc->p_start = 4 ; plc 882 drivers/net/fddi/skfp/pcmplc.c plc->p_state = PS_LCT ; plc 883 drivers/net/fddi/skfp/pcmplc.c plc->p_bits = 0 ; plc 884 drivers/net/fddi/skfp/pcmplc.c plc->p_start = 7 ; plc 898 drivers/net/fddi/skfp/pcmplc.c plc->p_state = PS_BIT8 ; plc 899 drivers/net/fddi/skfp/pcmplc.c plc->p_bits = 1 ; plc 900 drivers/net/fddi/skfp/pcmplc.c plc->p_start = 7 ; plc 916 drivers/net/fddi/skfp/pcmplc.c plc->p_state = PS_JOIN ; plc 917 drivers/net/fddi/skfp/pcmplc.c plc->p_bits = 2 ; plc 918 drivers/net/fddi/skfp/pcmplc.c plc->p_start = 8 ; plc 927 drivers/net/fddi/skfp/pcmplc.c plc->p_state = PS_ACTIVE ; plc 951 drivers/net/fddi/skfp/pcmplc.c switch (plc->p_state) { plc 1633 drivers/net/fddi/skfp/pcmplc.c struct s_plc *plc = &phy->plc ; plc 1641 drivers/net/fddi/skfp/pcmplc.c plc->soft_err++ ; plc 1648 drivers/net/fddi/skfp/pcmplc.c if (!plc->ebuf_cont && phy->mib->fddiPORTPCMState == PC8_ACTIVE){ plc 1659 drivers/net/fddi/skfp/pcmplc.c plc->ebuf_err++ ; plc 1660 drivers/net/fddi/skfp/pcmplc.c if (plc->ebuf_cont <= 1000) { plc 1665 drivers/net/fddi/skfp/pcmplc.c plc->ebuf_cont++ ; /* Ebuf continuous error */ plc 1669 drivers/net/fddi/skfp/pcmplc.c if (plc->ebuf_cont == 1000 && plc 1703 drivers/net/fddi/skfp/pcmplc.c plc->ebuf_cont = 0 ; /* reset Ebuf continuous error */ plc 1706 drivers/net/fddi/skfp/pcmplc.c plc->phyinv++ ; plc 1709 drivers/net/fddi/skfp/pcmplc.c plc->vsym_ctr++ ; plc 1712 drivers/net/fddi/skfp/pcmplc.c plc->mini_ctr++ ; plc 1737 drivers/net/fddi/skfp/pcmplc.c if (plc->p_state == PS_LCT) { plc 1743 drivers/net/fddi/skfp/pcmplc.c plc->tpc_exp++ ; plc 1759 drivers/net/fddi/skfp/pcmplc.c case PL_B_PCS : plc->b_pcs++ ; break ; plc 1760 drivers/net/fddi/skfp/pcmplc.c case PL_B_TPC : plc->b_tpc++ ; break ; plc 1761 drivers/net/fddi/skfp/pcmplc.c case PL_B_TNE : plc->b_tne++ ; break ; plc 1762 drivers/net/fddi/skfp/pcmplc.c case PL_B_QLS : plc->b_qls++ ; break ; plc 1763 drivers/net/fddi/skfp/pcmplc.c case PL_B_ILS : plc->b_ils++ ; break ; plc 1764 drivers/net/fddi/skfp/pcmplc.c case PL_B_HLS : plc->b_hls++ ; break ; plc 1785 drivers/net/fddi/skfp/pcmplc.c for (i = 0 ; i < plc->p_bits ; i++) { plc 1786 drivers/net/fddi/skfp/pcmplc.c phy->r_val[plc->p_start+i] = n & 1 ; plc 1834 drivers/net/fddi/skfp/pcmplc.c plc->np_err++ ; plc 1838 drivers/net/fddi/skfp/pcmplc.c plc->parity_err++ ; plc 1952 drivers/net/fddi/skfp/pcmplc.c struct s_plc *plc ; plc 1956 drivers/net/fddi/skfp/pcmplc.c plc = &smc->y[np].plc ; plc 1959 drivers/net/fddi/skfp/pcmplc.c plc->soft_err,plc->b_pcs); plc 1961 drivers/net/fddi/skfp/pcmplc.c plc->parity_err,plc->b_tpc,get_linestate(smc,np)) ; plc 1963 drivers/net/fddi/skfp/pcmplc.c plc->ebuf_err,plc->b_tne) ; plc 1965 drivers/net/fddi/skfp/pcmplc.c plc->phyinv,plc->b_qls,get_pcmstate(smc,np)) ; plc 1967 drivers/net/fddi/skfp/pcmplc.c plc->vsym_ctr,plc->b_ils) ; plc 1969 drivers/net/fddi/skfp/pcmplc.c plc->mini_ctr,plc->b_hls) ; plc 1970 drivers/net/fddi/skfp/pcmplc.c printf("\tnodepr_err: %ld\n",plc->np_err) ; plc 1971 drivers/net/fddi/skfp/pcmplc.c printf("\tTPC_exp : %ld\n",plc->tpc_exp) ; plc 75 drivers/staging/nvec/nvec_power.c char plc[30]; plc 133 drivers/staging/nvec/nvec_power.c if (res->plc[0] & 1) { plc 141 drivers/staging/nvec/nvec_power.c switch ((res->plc[0] >> 1) & 3) { plc 164 drivers/staging/nvec/nvec_power.c power->bat_cap = res->plc[1]; plc 196 drivers/staging/nvec/nvec_power.c memcpy(power->bat_manu, &res->plc, res->length - 2); plc 200 drivers/staging/nvec/nvec_power.c memcpy(power->bat_model, &res->plc, res->length - 2); plc 204 drivers/staging/nvec/nvec_power.c memcpy(power->bat_type, &res->plc, res->length - 2);