Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/cadence/macb_main.c macb_mac_disable_tx_lpi() -> macb_tx_lpi_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->eee_active | 0 |
| PARAM_VALUE | 0 | bp->tx_lpi_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | enable | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pl->state_mutex | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &bp->lock | |
| HALF_LOCKED2 | &pl->phydev_mutex | ||
| TYPE_LOCK | (struct macb)->lock | ||
| TYPE_LOCK | (struct phylink)->state_mutex |
drivers/net/ethernet/cadence/macb_main.c macb_tx_lpi_wake() -> macb_tx_lpi_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->eee_active | 1 |
| PARAM_VALUE | 0 | bp->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->queues | 4096-ptr_max |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 1 | enable | 0 |
| CAPPED_DATA | 0 | bp->dev->num_tx_queues | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &queue->tx_ptr_lock | ||
| LOCK2 | 0 | &bp->lock | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct macb)->lock | ||
| TYPE_LOCK | (struct macb_queue)->tx_ptr_lock |
drivers/net/ethernet/cadence/macb_main.c macb_tx_lpi_work_fn() -> macb_tx_lpi_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->eee_active | 1 |
| PARAM_VALUE | 1 | enable | 1 |
| CAPPED_DATA | 0 | bp->num_queues | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &bp->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct macb)->lock |