Searched refs:cc_fec (Results 1 – 8 of 8) sorted by relevance
122 enum cc_fec { enum140 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 */
381 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() local386 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()
1509 static inline unsigned int cc_to_eth_fec(unsigned int cc_fec) in cc_to_eth_fec() argument1513 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()
288 enum cc_fec { enum306 enum cc_fec requested_fec; /* Forward Error Correction: */307 enum cc_fec fec; /* requested and actual in use */
1501 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() local1506 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() argument1529 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() local1746 cc_fec = fwcap_to_cc_fec(lc->def_acaps); in csio_link_l1cfg()[all …]
780 static inline unsigned int cc_to_eth_fec(unsigned int cc_fec) in cc_to_eth_fec() argument784 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() local804 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()
4071 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() local4076 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() argument4088 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() local4129 cc_fec = fwcap_to_cc_fec(lc->def_acaps); in t4_link_acaps()[all …]
136 enum cc_fec { enum591 enum cc_fec requested_fec; /* Forward Error Correction: */592 enum cc_fec fec; /* requested and actual in use */