Scroll to navigation

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

phy

The phy device to return supported speeds of.

speeds

buffer to store supported speeds in.

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

March 2017 Kernel Hackers Manual 4.10