table of contents
other versions
PHY_LOOKUP_SETTING(9) | Network device support | PHY_LOOKUP_SETTING(9) |
NAME¶
phy_lookup_setting - lookup a PHY settingSYNOPSIS¶
const struct phy_setting * phy_lookup_setting(int speed, int duplex, u32 features, bool exact);
ARGUMENTS¶
int speedspeed to match
int duplex
duplex to match
u32 features
allowed link modes
bool exact
an exact match is required
DESCRIPTION¶
Search the settings array for a setting that matches the speed and duplex, and which is supported.If exact is unset, either an exact match or NULL for no match will be returned.
If exact is set, an exact match, the fastest supported setting at or below the specified speed, the slowest supported setting, or if they all fail, NULL will be returned.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |