Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/ti/cpsw_new.c cpsw_dl_switch_mode_set() -> cpsw_init_host_port_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpsw | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_ports | 0,3 |
| PARAM_VALUE | 0 | cpsw->data.slaves | 0-s32max |
| PARAM_VALUE | 0 | cpsw->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->slaves | 4096-ptr_max |
| CAPPED_DATA | 0 | cpsw->ale->params.ale_ports | 1 |
| CAPPED_DATA | 0 | cpsw->data.slaves | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| 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 &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/ti/cpsw_new.c cpsw_init_host_port() -> cpsw_init_host_port_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpsw | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->features | 0-1,3 |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_ageout | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_ports | 0,3 |
| PARAM_VALUE | 0 | cpsw->ale->timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | cpsw->data.dual_emac | 0 |
| PARAM_VALUE | 0 | cpsw->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->host_port_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->rx_ch_num | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | cpsw->tx_ch_num | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | cpsw->usage_count | 0 |
| CAPPED_DATA | 0 | cpsw->ale->params.ale_ports | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |