table of contents
other versions
PHY_SUPPORTED_SPEEDS(9) | Network device support | PHY_SUPPORTED_SPEEDS(9) |
NAME¶
phy_supported_speeds - return all speeds currently supported by a phy device
SYNOPSIS¶
unsigned int phy_supported_speeds(struct phy_device * phy, unsigned int * speeds, unsigned int size);
ARGUMENTS¶
struct phy_device * phy
The phy device to return supported speeds of.
unsigned int * speeds
buffer to store supported speeds in.
unsigned int size
size of speeds buffer.
DESCRIPTION¶
Returns the number of supported speeds, and fills the speeds buffer with the supported speeds. If speeds buffer is too small to contain all currently supported speeds, will return as many speeds as can fit.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |