Defined in 2 files as a function:
- drivers/net/ethernet/ti/cpsw.c, line 767 (as a function)
- drivers/net/ethernet/ti/cpsw_new.c, line 510 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/ti/cpsw.c cpsw_ndo_open() -> cpsw_restore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cpsw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cpsw->ale | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cpsw->ale->features | 0-1,3 |
| PARAM_VALUE | 0 | priv->cpsw->ale->params.ale_ageout | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | priv->cpsw->ale->params.ale_entries | 0-u32max |
| PARAM_VALUE | 0 | priv->cpsw->ale->params.ale_ports | 0,3 |
| PARAM_VALUE | 0 | priv->cpsw->ale->port_mask_bits | 0,3 |
| PARAM_VALUE | 0 | priv->cpsw->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | priv->cpsw->rx_ch_num | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | priv->cpsw->tx_ch_num | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | priv->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->driver | 0,4096-ptr_max |
| CAPPED_DATA | 0 | priv->cpsw->rx_ch_num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw_new.c cpsw_ndo_open() -> cpsw_restore()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cpsw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cpsw->ale | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cpsw->ale->features | 0-1,3 |
| PARAM_VALUE | 0 | priv->cpsw->ale->params.ale_ageout | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | priv->cpsw->ale->params.ale_entries | 0-u32max |
| PARAM_VALUE | 0 | priv->cpsw->ale->params.ale_ports | 0,3 |
| PARAM_VALUE | 0 | priv->cpsw->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cpsw->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | priv->cpsw->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | priv->cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | priv->cpsw->rx_ch_num | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | priv->cpsw->slaves | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cpsw->tx_ch_num | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | priv->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->mac_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ndev->broadcast | 4096-ptr_max |
| CAPPED_DATA | 0 | priv->cpsw->rx_ch_num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |