Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c hinic_is_speed_legal() -> hinic_ethtool_to_hw_speed_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 0-4294967294 |
| DATA_SOURCE | 0 | speed | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | speed | 0-4294967294 |
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c hinic_set_settings_to_hw() -> hinic_ethtool_to_hw_speed_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 1000,10000,25000,40000,50000,100000,200000 |
| CAPPED_DATA | 0 | speed | 1 |
| DATA_SOURCE | 0 | speed | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | speed | 1000,10000,25000,40000,50000,100000,200000[c] |
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c set_link_settings_separate_cmd() -> hinic_ethtool_to_hw_speed_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 1000,10000,25000,40000,50000,100000,200000 |
| CAPPED_DATA | 0 | speed | 1 |
| DATA_SOURCE | 0 | speed | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | speed | 1000,10000,25000,40000,50000,100000,200000[c] |