Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_reg_access() -> mlxsw_core_reg_access_emad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_core | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_core->driver->fini | 3846187509075423232,9129637400446324736 |
| PARAM_VALUE | 0 | mlxsw_core->driver->port_split | 0,2228089816263217152 |
| PARAM_VALUE | 0 | mlxsw_core->driver->port_unsplit | 0,7687809388709376000 |
| PARAM_VALUE | 0 | mlxsw_core->driver->profile | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_core->driver->profile->max_lag | 0,128 |
| PARAM_VALUE | 0 | mlxsw_core->emad.use_emad | 1 |
| PARAM_VALUE | 3 | type | 0-1 |
| PARAM_VALUE | 4 | bulk_list | 8921949191678611456 |
| PARAM_VALUE | 4 | bulk_list->next | 8921949191678611456 |
| PARAM_VALUE | 4 | bulk_list->prev | 8921949191678611456 |
| BUF_SIZE | 0 | mlxsw_core | (-1),40,2064 |
| BUF_SIZE | 0 | mlxsw_core | (-1),40,2064 |
| BUF_SIZE | 0 | mlxsw_core->bus_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mlxsw_core->emad_wq | (-1),512,528-8720 |
| BUF_SIZE | 0 | mlxsw_core->health.fw_fatal | (-1),120 |
| BUF_SIZE | 2 | payload | (-1),8,12,16,20,24,28,32,40,44,48,64,72,148,156,160,176,256,272,472,528,1040,1056 |
| BUF_SIZE | 2 | payload | (-1),8,12,16,20,24,28,32,40,44,48,64,72,148,156,160,176,256,272,472,528,1040,1056 |
| BUF_SIZE | 6 | cb_priv | (-1),8,12,16,20,24,28,32,40,44,48,64,72,148,156,160,176,256,272,472,528,1040,1056 |
| DATA_SOURCE | 0 | mlxsw_core | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| DATA_SOURCE | 2 | payload | $2 |
| DATA_SOURCE | 3 | type | $3 |
| DATA_SOURCE | 6 | cb_priv | $2 |
| HARD_MAX | 3 | type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mlxsw_core->emad_wq->rescuer->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | mlxsw_core->linecards->count | |
| NO_OVERFLOW_SIMPLE | 0 | mlxsw_core->max_ports | |
| HALF_LOCKED2 | 0 | &mlxsw_core->irq_event_handler_lock |
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_reg_trans_query() -> mlxsw_core_reg_access_emad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_core->driver->sb_occ_max_clear | 0,9022238909403557888 |
| PARAM_VALUE | 0 | mlxsw_core->driver->sb_occ_snapshot | 0,7497470605722095616 |
| PARAM_VALUE | 1 | reg | 882393190769102848,2546878359503290368 |
| PARAM_VALUE | 2 | payload | 4096-ptr_max |
| PARAM_VALUE | 3 | type | 0 |
| PARAM_VALUE | 4 | bulk_list | 5955046806685773824,7560356406569689088 |
| PARAM_VALUE | 4 | bulk_list->next | 5955046806685773824,7560356406569689088 |
| PARAM_VALUE | 4 | bulk_list->prev | 4096-ptr_max |
| BUF_SIZE | 2 | payload | 40,1052 |
| BUF_SIZE | 2 | payload | 40,1052 |
| DATA_SOURCE | 0 | mlxsw_core | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| DATA_SOURCE | 2 | payload | $2 |
| DATA_SOURCE | 4 | bulk_list | $3 |
| DATA_SOURCE | 5 | cb | $4 |
| DATA_SOURCE | 6 | cb_priv | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_reg_trans_write() -> mlxsw_core_reg_access_emad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | type | 1 |
| DATA_SOURCE | 0 | mlxsw_core | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| DATA_SOURCE | 2 | payload | $2 |
| DATA_SOURCE | 4 | bulk_list | $3 |
| DATA_SOURCE | 5 | cb | $4 |
| DATA_SOURCE | 6 | cb_priv | $5 |