Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/ti/cpsw.c
- drivers/net/ethernet/ti/cpsw_new.c
- drivers/net/ethernet/ti/cpsw_priv.c, line 289
Smatch caller information:
drivers/net/ethernet/ti/cpsw.c cpsw_ndo_set_mac_address() -> cpsw_set_slave_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw | 4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->ale | 4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->ale->params.ale_entries | 0-u32max |
| PARAM_VALUE | 1 | priv->cpsw->data.dual_emac | 1 |
| PARAM_VALUE | 1 | priv->cpsw->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->dev->power.request | 0-4 |
| PARAM_VALUE | 1 | priv->cpsw->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | priv->cpsw->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | priv->cpsw->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->slaves | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw.c cpsw_ndo_set_mac_address() -> cpsw_set_slave_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw | 4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->ale | 4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->ale->params.ale_entries | 0-u32max |
| PARAM_VALUE | 1 | priv->cpsw->data.dual_emac | 0 |
| PARAM_VALUE | 1 | priv->cpsw->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->dev->power.request | 0-4 |
| PARAM_VALUE | 1 | priv->cpsw->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | priv->cpsw->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 1 | priv->cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | priv->cpsw->dev->type | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw.c cpsw_slave_open() -> cpsw_set_slave_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| PARAM_VALUE | 1 | priv | 4096-ptr_max |
| DATA_SOURCE | 0 | slave | $0 |
| DATA_SOURCE | 1 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw_new.c cpsw_ndo_set_mac_address() -> cpsw_set_slave_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| PARAM_VALUE | 1 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | priv->mac_addr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw_new.c cpsw_slave_open() -> cpsw_set_slave_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| PARAM_VALUE | 1 | priv | 4096-ptr_max |
| DATA_SOURCE | 0 | slave | $0 |
| DATA_SOURCE | 1 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |