table of contents
PHY_LOOKUP_SETTING(9) | Network device support | PHY_LOOKUP_SETTING(9) |
NAME¶
phy_lookup_setting - lookup a PHY setting
SYNOPSIS¶
const struct phy_setting * phy_lookup_setting(int speed, int duplex, u32 features, bool exact);
ARGUMENTS¶
int speed
int duplex
u32 features
bool exact
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 |