Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c359 static void prestera_modes_to_eth(unsigned long *eth_modes, u64 link_modes, in prestera_modes_to_eth() argument
372 __set_bit(port_link_modes[mode].eth_mode, eth_modes); in prestera_modes_to_eth()
379 __set_bit(port_fec_caps[mode].eth_mode, eth_modes); in prestera_modes_to_eth()
383 static void prestera_modes_from_eth(const unsigned long *eth_modes, in prestera_modes_from_eth() argument
391 if (!test_bit(port_link_modes[mode].eth_mode, eth_modes)) in prestera_modes_from_eth()
401 if (!test_bit(port_fec_caps[mode].eth_mode, eth_modes)) in prestera_modes_from_eth()