Home
last modified time | relevance | path

Searched refs:cc_fec (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h122 enum cc_fec { enum
139 enum cc_fec auto_fec; /* Forward Error Correction: */
140 enum cc_fec requested_fec; /* "automatic" (IEEE 802.3), */
141 enum cc_fec fec; /* requested, and actual in use */
Dt4vf_hw.c370 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec()
372 enum cc_fec cc_fec = 0; in fwcap_to_cc_fec() local
375 cc_fec |= FEC_RS; in fwcap_to_cc_fec()
377 cc_fec |= FEC_BASER_RS; in fwcap_to_cc_fec()
379 return cc_fec; in fwcap_to_cc_fec()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c846 static inline unsigned int cc_to_eth_fec(unsigned int cc_fec) in cc_to_eth_fec() argument
850 if (cc_fec & FEC_AUTO) in cc_to_eth_fec()
852 if (cc_fec & FEC_RS) in cc_to_eth_fec()
854 if (cc_fec & FEC_BASER_RS) in cc_to_eth_fec()
867 unsigned int cc_fec = 0; in eth_to_cc_fec() local
870 return cc_fec; in eth_to_cc_fec()
873 cc_fec |= FEC_AUTO; in eth_to_cc_fec()
875 cc_fec |= FEC_RS; in eth_to_cc_fec()
877 cc_fec |= FEC_BASER_RS; in eth_to_cc_fec()
879 return cc_fec; in eth_to_cc_fec()
Dt4_hw.c3934 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec()
3936 enum cc_fec cc_fec = 0; in fwcap_to_cc_fec() local
3939 cc_fec |= FEC_RS; in fwcap_to_cc_fec()
3941 cc_fec |= FEC_BASER_RS; in fwcap_to_cc_fec()
3943 return cc_fec; in fwcap_to_cc_fec()
3947 static inline fw_port_cap32_t cc_to_fwcap_fec(enum cc_fec cc_fec) in cc_to_fwcap_fec() argument
3951 if (cc_fec & FEC_RS) in cc_to_fwcap_fec()
3953 if (cc_fec & FEC_BASER_RS) in cc_to_fwcap_fec()
3979 fw_port_cap32_t fw_fc, cc_fec, fw_fec, rcap; in t4_link_l1cfg() local
3996 cc_fec = fwcap_to_cc_fec(lc->def_acaps); in t4_link_l1cfg()
[all …]
Dcxgb4.h113 enum cc_fec { enum
466 enum cc_fec requested_fec; /* Forward Error Correction: */
467 enum cc_fec fec; /* requested and actual in use */