Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c208 } port_fec_caps[PRESTERA_PORT_FEC_MAX] = { variable
376 if ((port_fec_caps[mode].pr_fec & fec) == 0) in prestera_modes_to_eth()
379 __set_bit(port_fec_caps[mode].eth_mode, eth_modes); in prestera_modes_to_eth()
401 if (!test_bit(port_fec_caps[mode].eth_mode, eth_modes)) in prestera_modes_from_eth()
404 fec_modes |= port_fec_caps[mode].pr_fec; in prestera_modes_from_eth()
693 if ((port_fec_caps[mode].pr_fec & port->caps.supp_fec) == 0) in prestera_ethtool_get_fecparam()
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()
728 (port_fec_caps[mode].pr_fec & port->caps.supp_fec)) { in prestera_ethtool_set_fecparam()