Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h122 enum cc_fec { enum
140 enum cc_fec auto_fec; /* Forward Error Correction: */
141 enum cc_fec requested_fec; /* "automatic" (IEEE 802.3), */
142 enum cc_fec fec; /* requested, and actual in use */
Dt4vf_hw.c380 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec()
382 enum cc_fec cc_fec = 0; in fwcap_to_cc_fec() local
385 cc_fec |= FEC_RS; in fwcap_to_cc_fec()
387 cc_fec |= FEC_BASER_RS; in fwcap_to_cc_fec()
389 return cc_fec; in fwcap_to_cc_fec()
Dcxgb4vf_main.c1509 static inline unsigned int cc_to_eth_fec(unsigned int cc_fec) in cc_to_eth_fec() argument
1513 if (cc_fec & FEC_AUTO) in cc_to_eth_fec()
1515 if (cc_fec & FEC_RS) in cc_to_eth_fec()
1517 if (cc_fec & FEC_BASER_RS) in cc_to_eth_fec()
/drivers/scsi/csiostor/
Dcsio_hw.h288 enum cc_fec { enum
306 enum cc_fec requested_fec; /* Forward Error Correction: */
307 enum cc_fec fec; /* requested and actual in use */
Dcsio_hw.c1501 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec()
1503 enum cc_fec cc_fec = 0; in fwcap_to_cc_fec() local
1506 cc_fec |= FEC_RS; in fwcap_to_cc_fec()
1508 cc_fec |= FEC_BASER_RS; in fwcap_to_cc_fec()
1510 return cc_fec; in fwcap_to_cc_fec()
1525 static inline fw_port_cap32_t cc_to_fwcap_fec(enum cc_fec cc_fec) in cc_to_fwcap_fec() argument
1529 if (cc_fec & FEC_RS) in cc_to_fwcap_fec()
1531 if (cc_fec & FEC_BASER_RS) in cc_to_fwcap_fec()
1727 fw_port_cap32_t fw_fc, cc_fec, fw_fec, lrcap; in csio_link_l1cfg() local
1746 cc_fec = fwcap_to_cc_fec(lc->def_acaps); in csio_link_l1cfg()
[all …]
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c780 static inline unsigned int cc_to_eth_fec(unsigned int cc_fec) in cc_to_eth_fec() argument
784 if (cc_fec & FEC_AUTO) in cc_to_eth_fec()
786 if (cc_fec & FEC_RS) in cc_to_eth_fec()
788 if (cc_fec & FEC_BASER_RS) in cc_to_eth_fec()
801 unsigned int cc_fec = 0; in eth_to_cc_fec() local
804 return cc_fec; in eth_to_cc_fec()
807 cc_fec |= FEC_AUTO; in eth_to_cc_fec()
809 cc_fec |= FEC_RS; in eth_to_cc_fec()
811 cc_fec |= FEC_BASER_RS; in eth_to_cc_fec()
813 return cc_fec; in eth_to_cc_fec()
Dt4_hw.c4101 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec()
4103 enum cc_fec cc_fec = 0; in fwcap_to_cc_fec() local
4106 cc_fec |= FEC_RS; in fwcap_to_cc_fec()
4108 cc_fec |= FEC_BASER_RS; in fwcap_to_cc_fec()
4110 return cc_fec; in fwcap_to_cc_fec()
4114 static inline fw_port_cap32_t cc_to_fwcap_fec(enum cc_fec cc_fec) in cc_to_fwcap_fec() argument
4118 if (cc_fec & FEC_RS) in cc_to_fwcap_fec()
4120 if (cc_fec & FEC_BASER_RS) in cc_to_fwcap_fec()
4142 char cc_fec; in t4_link_acaps() local
4159 cc_fec = fwcap_to_cc_fec(lc->def_acaps); in t4_link_acaps()
[all …]
Dcxgb4.h136 enum cc_fec { enum
593 enum cc_fec requested_fec; /* Forward Error Correction: */
594 enum cc_fec fec; /* requested and actual in use */