Home
last modified time | relevance | path

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

/linux-6.6.21/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.c381 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec()
383 enum cc_fec cc_fec = 0; in fwcap_to_cc_fec() local
386 cc_fec |= FEC_RS; in fwcap_to_cc_fec()
388 cc_fec |= FEC_BASER_RS; in fwcap_to_cc_fec()
390 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()
/linux-6.6.21/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 …]
/linux-6.6.21/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.c4071 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec()
4073 enum cc_fec cc_fec = 0; in fwcap_to_cc_fec() local
4076 cc_fec |= FEC_RS; in fwcap_to_cc_fec()
4078 cc_fec |= FEC_BASER_RS; in fwcap_to_cc_fec()
4080 return cc_fec; in fwcap_to_cc_fec()
4084 static inline fw_port_cap32_t cc_to_fwcap_fec(enum cc_fec cc_fec) in cc_to_fwcap_fec() argument
4088 if (cc_fec & FEC_RS) in cc_to_fwcap_fec()
4090 if (cc_fec & FEC_BASER_RS) in cc_to_fwcap_fec()
4112 char cc_fec; in t4_link_acaps() local
4129 cc_fec = fwcap_to_cc_fec(lc->def_acaps); in t4_link_acaps()
[all …]
Dcxgb4.h136 enum cc_fec { enum
591 enum cc_fec requested_fec; /* Forward Error Correction: */
592 enum cc_fec fec; /* requested and actual in use */