Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_ethtool.c365 static void prestera_modes_to_eth(unsigned long *eth_modes, u64 link_modes, in prestera_modes_to_eth() argument
378 __set_bit(port_link_modes[mode].eth_mode, eth_modes); in prestera_modes_to_eth()
385 __set_bit(port_fec_caps[mode].eth_mode, eth_modes); in prestera_modes_to_eth()
389 static void prestera_modes_from_eth(const unsigned long *eth_modes, in prestera_modes_from_eth() argument
397 if (!test_bit(port_link_modes[mode].eth_mode, eth_modes)) in prestera_modes_from_eth()
407 if (!test_bit(port_fec_caps[mode].eth_mode, eth_modes)) in prestera_modes_from_eth()