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