Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/rocker/rocker_main.c rocker_port_open() -> rocker_port_set_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rocker_port | 4096-ptr_max |
| PARAM_VALUE | 0 | rocker_port->rocker | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 1 |
| CAPPED_DATA | 0 | rocker_port->tx_ring.desc | 1 |
| CAPPED_DATA | 0 | rocker_port->wpriv | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | rocker_port->rx_ring.size | |
| NO_OVERFLOW_SIMPLE | 0 | rocker_port->tx_ring.size | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/rocker/rocker_main.c rocker_port_stop() -> rocker_port_set_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | enable | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |