Home
last modified time | relevance | path

Searched refs:eth_fec (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c205 u32 eth_fec; member
210 .eth_fec = ETHTOOL_FEC_OFF,
215 .eth_fec = ETHTOOL_FEC_BASER,
220 .eth_fec = ETHTOOL_FEC_RS,
681 fecparam->fec |= port_fec_caps[mode].eth_fec; in prestera_ethtool_get_fecparam()
685 fecparam->active_fec = port_fec_caps[active].eth_fec; in prestera_ethtool_get_fecparam()
711 if ((port_fec_caps[mode].eth_fec & fecparam->fec) && in prestera_ethtool_set_fecparam()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c765 unsigned int eth_fec = 0; in fwcap_to_eth_fec() local
768 eth_fec |= ETHTOOL_FEC_RS; in fwcap_to_eth_fec()
770 eth_fec |= ETHTOOL_FEC_BASER; in fwcap_to_eth_fec()
773 if (!eth_fec) in fwcap_to_eth_fec()
774 eth_fec = ETHTOOL_FEC_OFF; in fwcap_to_eth_fec()
776 return eth_fec; in fwcap_to_eth_fec()
782 unsigned int eth_fec = 0; in cc_to_eth_fec() local
785 eth_fec |= ETHTOOL_FEC_AUTO; in cc_to_eth_fec()
787 eth_fec |= ETHTOOL_FEC_RS; in cc_to_eth_fec()
789 eth_fec | in cc_to_eth_fec()
799 eth_to_cc_fec(unsigned int eth_fec) eth_to_cc_fec() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c765 unsigned int eth_fec = 0; in fwcap_to_eth_fec() local
768 eth_fec |= ETHTOOL_FEC_RS; in fwcap_to_eth_fec()
770 eth_fec |= ETHTOOL_FEC_BASER; in fwcap_to_eth_fec()
773 if (!eth_fec) in fwcap_to_eth_fec()
774 eth_fec = ETHTOOL_FEC_OFF; in fwcap_to_eth_fec()
776 return eth_fec; in fwcap_to_eth_fec()
782 unsigned int eth_fec = 0; in cc_to_eth_fec() local
785 eth_fec |= ETHTOOL_FEC_AUTO; in cc_to_eth_fec()
787 eth_fec |= ETHTOOL_FEC_RS; in cc_to_eth_fec()
789 eth_fec | in cc_to_eth_fec()
799 eth_to_cc_fec(unsigned int eth_fec) eth_to_cc_fec() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c205 u32 eth_fec; member
210 .eth_fec = ETHTOOL_FEC_OFF,
215 .eth_fec = ETHTOOL_FEC_BASER,
220 .eth_fec = ETHTOOL_FEC_RS,
696 fecparam->fec |= port_fec_caps[mode].eth_fec; in prestera_ethtool_get_fecparam()
700 fecparam->active_fec = port_fec_caps[active].eth_fec; in prestera_ethtool_get_fecparam()
727 if ((port_fec_caps[mode].eth_fec & fecparam->fec) && in prestera_ethtool_set_fecparam()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c1859 u32 eth_fec = 0; in qede_link_to_ethtool_fec() local
1862 eth_fec |= ETHTOOL_FEC_OFF; in qede_link_to_ethtool_fec()
1864 eth_fec |= ETHTOOL_FEC_BASER; in qede_link_to_ethtool_fec()
1866 eth_fec |= ETHTOOL_FEC_RS; in qede_link_to_ethtool_fec()
1868 eth_fec |= ETHTOOL_FEC_AUTO; in qede_link_to_ethtool_fec()
1870 eth_fec |= ETHTOOL_FEC_NONE; in qede_link_to_ethtool_fec()
1872 return eth_fec; in qede_link_to_ethtool_fec()
1875 static u32 qede_ethtool_to_link_fec(u32 eth_fec) in qede_ethtool_to_link_fec() argument
1879 if (eth_fec & ETHTOOL_FEC_OFF) in qede_ethtool_to_link_fec()
1881 if (eth_fec in qede_ethtool_to_link_fec()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c1663 u32 eth_fec = 0; in loc_to_eth_fec() local
1666 eth_fec |= ETHTOOL_FEC_AUTO; in loc_to_eth_fec()
1668 eth_fec |= ETHTOOL_FEC_RS; in loc_to_eth_fec()
1670 eth_fec |= ETHTOOL_FEC_LLRS; in loc_to_eth_fec()
1672 eth_fec |= ETHTOOL_FEC_BASER; in loc_to_eth_fec()
1674 eth_fec |= ETHTOOL_FEC_OFF; in loc_to_eth_fec()
1676 return eth_fec; in loc_to_eth_fec()
1680 static unsigned int eth_to_loc_fec(unsigned int eth_fec) in eth_to_loc_fec() argument
1684 if (eth_fec & ETHTOOL_FEC_OFF) in eth_to_loc_fec()
1686 if (eth_fec in eth_to_loc_fec()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c1356 u32 eth_fec = 0; in loc_to_eth_fec() local
1359 eth_fec |= ETHTOOL_FEC_AUTO; in loc_to_eth_fec()
1361 eth_fec |= ETHTOOL_FEC_RS; in loc_to_eth_fec()
1363 eth_fec |= ETHTOOL_FEC_BASER; in loc_to_eth_fec()
1366 if (!eth_fec) in loc_to_eth_fec()
1367 eth_fec = ETHTOOL_FEC_OFF; in loc_to_eth_fec()
1369 return eth_fec; in loc_to_eth_fec()
1373 static unsigned int eth_to_loc_fec(unsigned int eth_fec) in eth_to_loc_fec() argument
1377 if (eth_fec & ETHTOOL_FEC_OFF) in eth_to_loc_fec()
1380 if (eth_fec in eth_to_loc_fec()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c1494 unsigned int eth_fec = 0; in fwcap_to_eth_fec() local
1497 eth_fec |= ETHTOOL_FEC_RS; in fwcap_to_eth_fec()
1499 eth_fec |= ETHTOOL_FEC_BASER; in fwcap_to_eth_fec()
1502 if (!eth_fec) in fwcap_to_eth_fec()
1503 eth_fec = ETHTOOL_FEC_OFF; in fwcap_to_eth_fec()
1505 return eth_fec; in fwcap_to_eth_fec()
1511 unsigned int eth_fec = 0; in cc_to_eth_fec() local
1514 eth_fec |= ETHTOOL_FEC_AUTO; in cc_to_eth_fec()
1516 eth_fec |= ETHTOOL_FEC_RS; in cc_to_eth_fec()
1518 eth_fec | in cc_to_eth_fec()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c1882 u32 eth_fec = 0; in qede_link_to_ethtool_fec() local
1885 eth_fec |= ETHTOOL_FEC_OFF; in qede_link_to_ethtool_fec()
1887 eth_fec |= ETHTOOL_FEC_BASER; in qede_link_to_ethtool_fec()
1889 eth_fec |= ETHTOOL_FEC_RS; in qede_link_to_ethtool_fec()
1891 eth_fec |= ETHTOOL_FEC_AUTO; in qede_link_to_ethtool_fec()
1893 eth_fec |= ETHTOOL_FEC_NONE; in qede_link_to_ethtool_fec()
1895 return eth_fec; in qede_link_to_ethtool_fec()
1898 static u32 qede_ethtool_to_link_fec(u32 eth_fec) in qede_ethtool_to_link_fec() argument
1902 if (eth_fec & ETHTOOL_FEC_OFF) in qede_ethtool_to_link_fec()
1904 if (eth_fec in qede_ethtool_to_link_fec()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c1494 unsigned int eth_fec = 0; in fwcap_to_eth_fec() local
1497 eth_fec |= ETHTOOL_FEC_RS; in fwcap_to_eth_fec()
1499 eth_fec |= ETHTOOL_FEC_BASER; in fwcap_to_eth_fec()
1502 if (!eth_fec) in fwcap_to_eth_fec()
1503 eth_fec = ETHTOOL_FEC_OFF; in fwcap_to_eth_fec()
1505 return eth_fec; in fwcap_to_eth_fec()
1511 unsigned int eth_fec = 0; in cc_to_eth_fec() local
1514 eth_fec |= ETHTOOL_FEC_AUTO; in cc_to_eth_fec()
1516 eth_fec |= ETHTOOL_FEC_RS; in cc_to_eth_fec()
1518 eth_fec | in cc_to_eth_fec()
[all...]

Completed in 21 milliseconds