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.