Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/fungible/funeth/funeth_ethtool.c
- drivers/net/ethernet/fungible/funeth/funeth_main.c
Smatch caller information:
drivers/net/ethernet/fungible/funeth/funeth_main.c fun_change_mtu() -> fun_port_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 1 |
| PARAM_VALUE | 2 | data | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 2 | data | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | data | 0-s32max[c] |
drivers/net/ethernet/fungible/funeth/funeth_main.c fun_down() -> fun_port_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 0 | fp->rxqs | 1-u64max |
| PARAM_VALUE | 0 | fp->txqs | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 10 |
| PARAM_VALUE | 2 | data | 0 |
| BIT_INFO | 0 | fp->msg_enable | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/fungible/funeth/funeth_main.c fun_get_port_attributes() -> fun_port_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 0 | fp->fdev->admin_sbq.wake_index.counter | 0-7 |
| PARAM_VALUE | 0 | fp->fdev->suppress_cmds | 1 |
| PARAM_VALUE | 1 | key | 6 |
| PARAM_VALUE | 2 | data | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/fungible/funeth/funeth_main.c fun_set_macaddr() -> fun_port_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 6 |
| PARAM_VALUE | 2 | data | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/fungible/funeth/funeth_ethtool.c fun_change_advert() -> fun_port_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 18 |
| DATA_SOURCE | 0 | fp | $0 |
| DATA_SOURCE | 2 | data | $1 |
| PARAM_COMPARE | 0 | fp->advertising | != $2 |
| PARAM_COMPARE | 2 | data | != $0->advertising |
| BIT_INFO | 0 | fp->port_caps | 0x0,0xfffffffffffffff7 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/fungible/funeth/funeth_ethtool.c fun_restart_an() -> fun_port_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 0 | fp->advertising | 64-u64max |
| PARAM_VALUE | 1 | key | 18 |
| PARAM_VALUE | 2 | data | 64 |
| BIT_INFO | 0 | fp->advertising | 0x40,0xffffffffffffffff |
drivers/net/ethernet/fungible/funeth/funeth_ethtool.c fun_set_fecparam() -> fun_port_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp->port_caps | 268435456-u64max |
| PARAM_VALUE | 1 | key | 2 |
| PARAM_VALUE | 2 | data | 1-2,4,8 |
| FUZZY_MAX | 2 | data | 8 |
| HARD_MAX | 2 | data | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/fungible/funeth/funeth_ethtool.c fun_set_phys_id() -> fun_port_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 17 |
| PARAM_VALUE | 2 | data | 3-4 |
| FUZZY_MAX | 2 | data | 4 |
| BIT_INFO | 0 | fp->port_caps | 0x0,0xfffffffffffffff7 |
| HARD_MAX | 2 | data | 4 |