Searched refs:eth_modes (Results 1 – 1 of 1) sorted by relevance
359 static void prestera_modes_to_eth(unsigned long *eth_modes, u64 link_modes, in prestera_modes_to_eth() argument372 __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() argument391 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()