• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/skfp/

Lines Matching defs:plc

168 	int	timer ;			/* relative plc timer address */
392 memset((char *)&phy->plc,0,sizeof(struct s_plc)) ;
393 phy->plc.p_state = PS_OFF ;
564 * config plc muxes
673 struct s_plc *plc ;
676 u_short plc_rev ; /* Revision of the plc */
679 plc = &phy->plc ;
773 /* Get the plc revision for revision dependent code */
807 plc->p_state = PS_BIT3 ;
808 plc->p_bits = 3 ;
809 plc->p_start = 0 ;
830 switch (plc->p_state) {
835 plc->p_state = PS_BIT4 ;
836 plc->p_bits = 1 ;
837 plc->p_start = 3 ;
847 plc->p_state = PS_BIT7 ;
848 plc->p_bits = 3 ;
849 plc->p_start = 4 ;
858 plc->p_state = PS_LCT ;
859 plc->p_bits = 0 ;
860 plc->p_start = 7 ;
874 plc->p_state = PS_BIT8 ;
875 plc->p_bits = 1 ;
876 plc->p_start = 7 ;
892 plc->p_state = PS_JOIN ;
893 plc->p_bits = 2 ;
894 plc->p_start = 8 ;
903 plc->p_state = PS_ACTIVE ;
927 switch (plc->p_state) {
1620 struct s_plc *plc = &phy->plc ;
1628 plc->soft_err++ ;
1635 if (!plc->ebuf_cont && phy->mib->fddiPORTPCMState == PC8_ACTIVE){
1646 plc->ebuf_err++ ;
1647 if (plc->ebuf_cont <= 1000) {
1652 plc->ebuf_cont++ ; /* Ebuf continous error */
1656 if (plc->ebuf_cont == 1000 &&
1690 plc->ebuf_cont = 0 ; /* reset Ebuf continous error */
1693 plc->phyinv++ ;
1696 plc->vsym_ctr++ ;
1699 plc->mini_ctr++ ;
1724 if (plc->p_state == PS_LCT) {
1730 plc->tpc_exp++ ;
1746 case PL_B_PCS : plc->b_pcs++ ; break ;
1747 case PL_B_TPC : plc->b_tpc++ ; break ;
1748 case PL_B_TNE : plc->b_tne++ ; break ;
1749 case PL_B_QLS : plc->b_qls++ ; break ;
1750 case PL_B_ILS : plc->b_ils++ ; break ;
1751 case PL_B_HLS : plc->b_hls++ ; break ;
1771 for (i = 0 ; i < plc->p_bits ; i++) {
1772 phy->r_val[plc->p_start+i] = n & 1 ;
1921 struct s_plc *plc ;
1925 plc = &smc->y[np].plc ;
1928 plc->soft_err,plc->b_pcs);
1930 plc->parity_err,plc->b_tpc,get_linestate(smc,np)) ;
1932 plc->ebuf_err,plc->b_tne) ;
1934 plc->phyinv,plc->b_qls,get_pcmstate(smc,np)) ;
1936 plc->vsym_ctr,plc->b_ils) ;
1938 plc->mini_ctr,plc->b_hls) ;
1939 printf("\tnodepr_err: %ld\n",plc->np_err) ;
1940 printf("\tTPC_exp : %ld\n",plc->tpc_exp) ;