Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_hw_disable_control() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 2240 |
| PARAM_VALUE | 2 | value | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_hw_disable_control() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regs_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096 |
| PARAM_VALUE | 2 | value | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_hw_enable_control() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv->ge_mac_cfg_2_value | 0,1048576-u32max |
| PARAM_VALUE | 1 | reg | 4104 |
| PARAM_VALUE | 2 | value | s32min-0,1048576-s32max |
| BIT_INFO | 2 | value | 0x3500000,0xffffffff |
| NOCHECK_CALL |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_hw_enable_control() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ge_mac_cfg_2_value | 0,1048576-s32max |
| PARAM_VALUE | 0 | priv->regs_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 2240 |
| PARAM_VALUE | 2 | value | 3 |
| NOCHECK_CALL |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_hw_enable_control() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ge_mac_cfg_2_value | 0-4294967295 |
| PARAM_VALUE | 0 | priv->ge_mac_cfg_3_value | 0,32-u32max |
| PARAM_VALUE | 0 | priv->regs_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4108 |
| PARAM_VALUE | 2 | value | s32min-0,32-s32max |
| BIT_INFO | 2 | value | 0x20,0xffffffff |
| NOCHECK_CALL |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_hw_enable_control() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ge_mac_cfg_2_value | 0-4294967295 |
| PARAM_VALUE | 0 | priv->ge_mac_cfg_3_value | 0,32-s32max |
| PARAM_VALUE | 0 | priv->regs_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096 |
| PARAM_VALUE | 2 | value | 1884053119 |
| NOCHECK_CALL |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_hw_reset() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 5120 |
| PARAM_VALUE | 2 | value | 256 |
| NOCHECK_CALL |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_hw_reset() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regs_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 5120 |
| PARAM_VALUE | 2 | value | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_hw_reset() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regs_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 5124 |
| PARAM_VALUE | 2 | value | 3 |
| NOCHECK_CALL |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_hw_reset() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regs_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 5124 |
| PARAM_VALUE | 2 | value | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_irq_handler() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regs_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 2240 |
| PARAM_VALUE | 2 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netpoll_info)->dev_lock |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_poll() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->tx_skb->active_extensions | 0-255 |
| PARAM_VALUE | 1 | reg | 2240 |
| PARAM_VALUE | 2 | value | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_poll() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regs_base | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->tx_skb | 1-u64max |
| PARAM_VALUE | 1 | reg | 2240 |
| PARAM_VALUE | 2 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_rx_handler() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regs_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 2064 |
| PARAM_VALUE | 2 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_send_frame() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 2056 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ndev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_send_frame() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 2048 |
| PARAM_VALUE | 2 | value | s32min-0,32768-s32max |
| BIT_INFO | 2 | value | 0x8000,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | value | 32769-u16max[c] |
| HALF_LOCKED2 | &ndev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_set_hw_mac_address() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 4100 |
| BIT_INFO | 2 | value | 0x0,0xff |
| NOCHECK_CALL |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_set_hw_mac_address() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regs_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4104 |
| BIT_INFO | 2 | value | 0x0,0xffff00ff |
| NOCHECK_CALL |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_set_rx_mode() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4104 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ndev->addr_list_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ezchip/nps_enet.c nps_enet_tx_handler() -> nps_enet_reg_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->regs_base | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->tx_skb | 1-u64max |
| PARAM_VALUE | 1 | reg | 2048 |
| PARAM_VALUE | 2 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |