Symbol: cc_fec
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
591
enum cc_fec requested_fec; /* Forward Error Correction: */
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
592
enum cc_fec fec; /* requested and actual in use */
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
780
static inline unsigned int cc_to_eth_fec(unsigned int cc_fec)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
784
if (cc_fec & FEC_AUTO)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
786
if (cc_fec & FEC_RS)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
788
if (cc_fec & FEC_BASER_RS)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
801
unsigned int cc_fec = 0;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
804
return cc_fec;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
807
cc_fec |= FEC_AUTO;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
809
cc_fec |= FEC_RS;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
811
cc_fec |= FEC_BASER_RS;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
813
return cc_fec;
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4071
static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec)
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4073
enum cc_fec cc_fec = 0;
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4076
cc_fec |= FEC_RS;
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4078
cc_fec |= FEC_BASER_RS;
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4080
return cc_fec;
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4084
static inline fw_port_cap32_t cc_to_fwcap_fec(enum cc_fec cc_fec)
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4088
if (cc_fec & FEC_RS)
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4090
if (cc_fec & FEC_BASER_RS)
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4112
char cc_fec;
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4129
cc_fec = fwcap_to_cc_fec(lc->def_acaps);
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4131
cc_fec = lc->requested_fec;
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4132
fw_fec = cc_to_fwcap_fec(cc_fec);
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4141
lc->fec = cc_fec;
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
4145
lc->fec = cc_fec;
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1509
static inline unsigned int cc_to_eth_fec(unsigned int cc_fec)
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1513
if (cc_fec & FEC_AUTO)
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1515
if (cc_fec & FEC_RS)
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1517
if (cc_fec & FEC_BASER_RS)
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h
140
enum cc_fec auto_fec; /* Forward Error Correction: */
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h
141
enum cc_fec requested_fec; /* "automatic" (IEEE 802.3), */
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h
142
enum cc_fec fec; /* requested, and actual in use */
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
381
static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec)
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
383
enum cc_fec cc_fec = 0;
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
386
cc_fec |= FEC_RS;
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
388
cc_fec |= FEC_BASER_RS;
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
390
return cc_fec;
drivers/scsi/csiostor/csio_hw.c
1501
static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec)
drivers/scsi/csiostor/csio_hw.c
1503
enum cc_fec cc_fec = 0;
drivers/scsi/csiostor/csio_hw.c
1506
cc_fec |= FEC_RS;
drivers/scsi/csiostor/csio_hw.c
1508
cc_fec |= FEC_BASER_RS;
drivers/scsi/csiostor/csio_hw.c
1510
return cc_fec;
drivers/scsi/csiostor/csio_hw.c
1525
static inline fw_port_cap32_t cc_to_fwcap_fec(enum cc_fec cc_fec)
drivers/scsi/csiostor/csio_hw.c
1529
if (cc_fec & FEC_RS)
drivers/scsi/csiostor/csio_hw.c
1531
if (cc_fec & FEC_BASER_RS)
drivers/scsi/csiostor/csio_hw.c
1727
fw_port_cap32_t fw_fc, cc_fec, fw_fec, lrcap;
drivers/scsi/csiostor/csio_hw.c
1746
cc_fec = fwcap_to_cc_fec(lc->def_acaps);
drivers/scsi/csiostor/csio_hw.c
1748
cc_fec = lc->requested_fec;
drivers/scsi/csiostor/csio_hw.c
1749
fw_fec = cc_to_fwcap_fec(cc_fec);
drivers/scsi/csiostor/csio_hw.c
1758
lc->fec = cc_fec;
drivers/scsi/csiostor/csio_hw.c
1762
lc->fec = cc_fec;
drivers/scsi/csiostor/csio_hw.h
306
enum cc_fec requested_fec; /* Forward Error Correction: */
drivers/scsi/csiostor/csio_hw.h
307
enum cc_fec fec; /* requested and actual in use */