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 */
380 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() local385 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()
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()
4101 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() local4106 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() argument4118 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() local4159 cc_fec = fwcap_to_cc_fec(lc->def_acaps); in t4_link_acaps()[all …]
136 enum cc_fec { enum593 enum cc_fec requested_fec; /* Forward Error Correction: */594 enum cc_fec fec; /* requested and actual in use */