Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/phy/phy.c, line 260
- drivers/net/phy/phy_caps.c, line 236
- drivers/net/phy/phy_device.c, line 2338
- drivers/net/phy/phylink.c
Smatch caller information:
drivers/net/phy/phy_device.c __genphy_config_aneg() -> phy_caps_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 1000-s32max |
| PARAM_VALUE | 3 | exact | 1 |
| BUF_SIZE | 2 | supported | 16 |
| FUZZY_MAX | 0 | speed | 1000 |
| NOSPEC | 0 | speed | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | speed | 1000-s32max |
| USER_DATA | 1 | duplex | 0-255 |
| HALF_LOCKED2 | &phydev->lock |
drivers/net/phy/phylink.c phylink_ethtool_ksettings_set() -> phy_caps_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | exact | 0 |
| BUF_SIZE | 2 | supported | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | speed | s32min-s32max |
| USER_DATA | 1 | duplex | 0-255 |
| HALF_LOCKED2 | &port_priv->mac_lock | ||
| HALF_LOCKED2 | &priv->mac_lock |
drivers/net/phy/phylink.c phylink_parse_fixedlink() -> phy_caps_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | duplex | 0-1,255 |
| PARAM_VALUE | 3 | exact | 1 |
| BUF_SIZE | 2 | supported | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/phy/phylink.c phylink_set_fixed_link() -> phy_caps_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | (-1),1000,2500 |
| PARAM_VALUE | 1 | duplex | 1,255 |
| PARAM_VALUE | 3 | exact | 1 |
| BUF_SIZE | 2 | supported | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/phy/phy.c phy_sanitize_settings() -> phy_caps_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | exact | 0 |
| BUF_SIZE | 2 | supported | 16 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | speed | s32min-s32max |
| USER_DATA | 1 | duplex | 0-255 |
| LOCK2 | &phydev->lock | ||
| TYPE_LOCK | (struct phy_device)->lock |