Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/marvell/sky2.c gma_read16() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | hw | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hw | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hw->pdev | (-1),1-s32max |
| BUF_SIZE | 0 | hw->st_le | (-1)-s32max |
| DATA_SOURCE | 0 | hw | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hw->chip_id | 179-180,182-184,186 |
| HOST_DATA | 0 | hw->pdev->current_state | 0-3[c] |
| UNITS | 0 | hw | unit_byte |
| HALF_LOCKED2 | &sky2->phy_lock |
drivers/net/ethernet/marvell/sky2.c gma_read32() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
drivers/net/ethernet/marvell/sky2.c gma_read32() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
drivers/net/ethernet/marvell/sky2.c gma_read64() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | hw | $0 |
| UNITS | 0 | hw | unit_byte |
drivers/net/ethernet/marvell/sky2.c gma_read64() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| DATA_SOURCE | 0 | hw | $0 |
| UNITS | 0 | hw | unit_byte |
drivers/net/ethernet/marvell/sky2.c gma_read64() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| DATA_SOURCE | 0 | hw | $0 |
| UNITS | 0 | hw | unit_byte |
drivers/net/ethernet/marvell/sky2.c gma_read64() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| DATA_SOURCE | 0 | hw | $0 |
| UNITS | 0 | hw | unit_byte |
drivers/net/ethernet/marvell/sky2.c sky2_debug_show() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 3740 |
| CAPPED_DATA | 0 | hw->napi.timer.base | 1 |
| PARAM_COMPARE | 0 | &hw->napi.timer | != $0->napi.timer.base->running |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/net/ethernet/marvell/sky2.c sky2_debug_show() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 3728,3732 |
| CAPPED_DATA | 0 | hw->napi.timer.base | 1 |
| FUZZY_MAX | 1 | reg | 3732 |
| PARAM_COMPARE | 0 | &hw->napi.timer | != $0->napi.timer.base->running |
| BIT_INFO | 1 | reg | 0xe90,0xe94 |
| HARD_MAX | 1 | reg | 3732 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/net/ethernet/marvell/sky2.c sky2_debug_show() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 1700,1956 |
| CAPPED_DATA | 0 | hw->napi.timer.base | 1 |
| PARAM_COMPARE | 0 | &hw->napi.timer | != $0->napi.timer.base->running |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/net/ethernet/marvell/sky2.c sky2_debug_show() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 1120,1248 |
| CAPPED_DATA | 0 | hw->napi.timer.base | 1 |
| PARAM_COMPARE | 0 | &hw->napi.timer | != $0->napi.timer.base->running |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/net/ethernet/marvell/sky2.c sky2_debug_show() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 1124,1252 |
| CAPPED_DATA | 0 | hw->napi.timer.base | 1 |
| PARAM_COMPARE | 0 | &hw->napi.timer | != $0->napi.timer.base->running |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/net/ethernet/marvell/sky2.c sky2_debug_show() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 1108,1236 |
| CAPPED_DATA | 0 | hw->napi.timer.base | 1 |
| PARAM_COMPARE | 0 | &hw->napi.timer | != $0->napi.timer.base->running |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/net/ethernet/marvell/sky2.c sky2_get_coalesce() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 3736 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
drivers/net/ethernet/marvell/sky2.c sky2_le_error() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 1120,1248,1760,2016 |
| DATA_SOURCE | 0 | hw | $0 |
drivers/net/ethernet/marvell/sky2.c sky2_le_error() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 1124,1252,1764,2020 |
| DATA_SOURCE | 0 | hw | $0 |
drivers/net/ethernet/marvell/sky2.c sky2_mac_init() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 3848 |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hw | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/sky2.c sky2_mac_init() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 3392 |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/sky2.c sky2_pci_read16() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 7171-7425,7524,7528 |
| BUF_SIZE | 0 | hw | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hw | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hw->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 0 | hw->st_le | (-1)-s32max |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hw->chip_id | 179-180,182-184,186,188-190 |
| HOST_DATA | 0 | hw->pdev->current_state | 0-3[c] |
| UNITS | 0 | hw | unit_byte |
drivers/net/ethernet/marvell/sky2.c sky2_poll() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 3740 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/marvell/sky2.c sky2_poll() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 3740 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/marvell/sky2.c sky2_reset() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 3688 |
| BUF_SIZE | 0 | hw | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hw | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hw->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 0 | hw->st_le | (-1)-s32max |
| DATA_SOURCE | 0 | hw | $0 |
| BIT_INFO | 0 | hw->chip_id | 0xb1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hw->pdev->current_state | 0-3[c] |
| UNITS | 0 | hw | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/sky2.c sky2_reset() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 3844 |
| BUF_SIZE | 0 | hw | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hw | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hw->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 0 | hw->st_le | (-1)-s32max |
| CAPPED_DATA | 0 | hw->ports | 1 |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hw->pdev->current_state | 0-3[c] |
| UNITS | 0 | hw | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/sky2.c sky2_reset() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 7356 |
| BUF_SIZE | 0 | hw | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hw | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hw->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 0 | hw->st_le | (-1)-s32max |
| CAPPED_DATA | 0 | hw->ports | 1 |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hw->pdev->current_state | 0-3[c] |
| UNITS | 0 | hw | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/sky2.c sky2_tx_timeout() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 3728,3732 |
| FUZZY_MAX | 1 | reg | 3732 |
| BIT_INFO | 1 | reg | 0xe90,0xe94 |
| HARD_MAX | 1 | reg | 3732 |
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
| HALF_LOCKED2 | &dev->tx_global_lock |
drivers/net/ethernet/marvell/sky2.c sky2_tx_timeout() -> sky2_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 1700,1956 |
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
| HALF_LOCKED2 | &dev->tx_global_lock |