Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_main.c515 static const unsigned int lr_to_speed[] = { variable
528 if (linkrate < ARRAY_SIZE(lr_to_speed)) in nfp_net_lr2speed()
529 return lr_to_speed[linkrate]; in nfp_net_lr2speed()
538 for (i = 0; i < ARRAY_SIZE(lr_to_speed); i++) { in nfp_net_speed2lr()
539 if (speed == lr_to_speed[i]) in nfp_net_speed2lr()