Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/altera/altera_tse_main.c alt_tse_mac_config() -> tse_set_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &priv->mac_cfg_lock | |
| TYPE_LOCK | (struct altera_tse_private)->mac_cfg_lock |
drivers/net/ethernet/altera/altera_tse_main.c tse_open() -> tse_set_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 1 |
| CAPPED_DATA | 0 | priv->rx_ring | 1 |
| CAPPED_DATA | 0 | priv->rx_ring_size | 1 |
| CAPPED_DATA | 0 | priv->tx_ring | 1 |
| BIT_INFO | 0 | priv->msg_enable | 0x0,0xffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &priv->mac_cfg_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct altera_tse_private)->mac_cfg_lock |