Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_mac_disable_tx_lpi() -> (struct stmmac_ops)->set_lpi_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 0 |
| PARAM_VALUE | 2 | en_tx_lpi_clockgating | 0 |
| PARAM_VALUE | 3 | et | 0 |
| CONTAINER | 0 | *(-184-0+0) | $(-1) |
| TASK_NOT_RUNNING | |||
| LOCK2 | &pl->state_mutex | ||
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | &pl->phydev_mutex | ||
| TYPE_LOCK | (struct phylink)->state_mutex | ||
| TYPE_LOCK | (struct stmmac_priv)->lock |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_mac_enable_tx_lpi() -> (struct stmmac_ops)->set_lpi_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 2 |
| DATA_SOURCE | 3 | et | $1 |
| CONTAINER | 0 | *(-184-0+0) | $(-1) |
| LOCK2 | &pl->phydev_mutex | ||
| LOCK2 | &pl->state_mutex | ||
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | &phy->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct phylink)->phydev_mutex | ||
| TYPE_LOCK | (struct phylink)->state_mutex | ||
| TYPE_LOCK | (struct stmmac_priv)->lock |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_stop_sw_lpi() -> (struct stmmac_ops)->set_lpi_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 0 |
| PARAM_VALUE | 2 | en_tx_lpi_clockgating | 0 |
| PARAM_VALUE | 3 | et | 0 |
| CONTAINER | 0 | *(-184-0+0) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_try_to_start_sw_lpi() -> (struct stmmac_ops)->set_lpi_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 1 |
| PARAM_VALUE | 3 | et | 0 |
| CONTAINER | 0 | *(-184-0+0) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |