Home
last modified time | relevance | path

Searched refs:fw_fec (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_hw.c1501 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument
1505 if (fw_fec & FW_PORT_CAP32_FEC_RS) in fwcap_to_cc_fec()
1507 if (fw_fec & FW_PORT_CAP32_FEC_BASER_RS) in fwcap_to_cc_fec()
1527 fw_port_cap32_t fw_fec = 0; in cc_to_fwcap_fec() local
1530 fw_fec |= FW_PORT_CAP32_FEC_RS; in cc_to_fwcap_fec()
1532 fw_fec |= FW_PORT_CAP32_FEC_BASER_RS; in cc_to_fwcap_fec()
1534 return fw_fec; in cc_to_fwcap_fec()
1727 fw_port_cap32_t fw_fc, cc_fec, fw_fec, lrcap; in csio_link_l1cfg() local
1749 fw_fec = cc_to_fwcap_fec(cc_fec); in csio_link_l1cfg()
1756 lrcap = (lc->pcaps & ADVERT_MASK) | fw_fc | fw_fec; in csio_link_l1cfg()
[all …]
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c693 static inline unsigned int fwcap_to_eth_fec(unsigned int fw_fec) in fwcap_to_eth_fec() argument
697 if (fw_fec & FW_PORT_CAP32_FEC_RS) in fwcap_to_eth_fec()
699 if (fw_fec & FW_PORT_CAP32_FEC_BASER_RS) in fwcap_to_eth_fec()
Dt4_hw.c4101 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument
4105 if (fw_fec & FW_PORT_CAP32_FEC_RS) in fwcap_to_cc_fec()
4107 if (fw_fec & FW_PORT_CAP32_FEC_BASER_RS) in fwcap_to_cc_fec()
4116 fw_port_cap32_t fw_fec = 0; in cc_to_fwcap_fec() local
4119 fw_fec |= FW_PORT_CAP32_FEC_RS; in cc_to_fwcap_fec()
4121 fw_fec |= FW_PORT_CAP32_FEC_BASER_RS; in cc_to_fwcap_fec()
4123 return fw_fec; in cc_to_fwcap_fec()
4140 fw_port_cap32_t fw_fc, fw_fec, acaps; in t4_link_acaps() local
4162 fw_fec = cc_to_fwcap_fec(cc_fec); in t4_link_acaps()
4169 acaps = lc->acaps | fw_fc | fw_fec; in t4_link_acaps()
[all …]
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c380 static inline enum cc_fec fwcap_to_cc_fec(fw_port_cap32_t fw_fec) in fwcap_to_cc_fec() argument
384 if (fw_fec & FW_PORT_CAP32_FEC_RS) in fwcap_to_cc_fec()
386 if (fw_fec & FW_PORT_CAP32_FEC_BASER_RS) in fwcap_to_cc_fec()
Dcxgb4vf_main.c1494 static inline unsigned int fwcap_to_eth_fec(unsigned int fw_fec) in fwcap_to_eth_fec() argument
1498 if (fw_fec & FW_PORT_CAP32_FEC_RS) in fwcap_to_eth_fec()
1500 if (fw_fec & FW_PORT_CAP32_FEC_BASER_RS) in fwcap_to_eth_fec()