Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/marvell/sky2.c sky2_init() -> sky2_pci_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 128 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | hw | 898-1010999 |
| BUF_SIZE | 0 | hw | 898-1010999 |
| BUF_SIZE | 0 | hw->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hw->pdev->current_state | 0-3[c] |
drivers/net/ethernet/marvell/sky2.c sky2_phy_power_down() -> sky2_pci_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 64 |
| PARAM_VALUE | 2 | val | 0,67108864-u32max |
| DATA_SOURCE | 0 | hw | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0,67108864-u32max |
| UNITS | 0 | hw | unit_byte |
| LOCK2 | &sky2->phy_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct sky2_port)->phy_lock |
drivers/net/ethernet/marvell/sky2.c sky2_phy_power_up() -> sky2_pci_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 64 |
| DATA_SOURCE | 0 | hw | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| UNITS | 0 | hw | unit_byte |
| LOCK2 | &sky2->phy_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct sky2_port)->phy_lock |
drivers/net/ethernet/marvell/sky2.c sky2_power_on() -> sky2_pci_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->flags | 128-u64max |
| PARAM_VALUE | 1 | reg | 128 |
| PARAM_VALUE | 2 | val | 0 |
| 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->flags | 0x80,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hw->chip_id | 180,182-184,186,188-190 |
| 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_power_on() -> sky2_pci_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->flags | 128-u64max |
| PARAM_VALUE | 1 | reg | 132 |
| PARAM_VALUE | 2 | val | 0,4096-61440 |
| 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->flags | 0x80,0xffffffffffffffff |
| BIT_INFO | 2 | val | 0x0,0xf000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hw->chip_id | 180,182-184,186,188-190 |
| HOST_DATA | 0 | hw->pdev->current_state | 0-3[c] |
| HOST_DATA | 2 | val | 0,4096-61440[c] |
| UNITS | 0 | hw | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/sky2.c sky2_power_on() -> sky2_pci_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->flags | 128-u64max |
| PARAM_VALUE | 1 | reg | 136 |
| PARAM_VALUE | 2 | val | 0,134217728-402653184 |
| 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->flags | 0x80,0xffffffffffffffff |
| BIT_INFO | 2 | val | 0x0,0x18000000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hw->chip_id | 180,182-184,186,188-190 |
| HOST_DATA | 0 | hw->pdev->current_state | 0-3[c] |
| HOST_DATA | 2 | val | 0,134217728-402653184[c] |
| UNITS | 0 | hw | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/sky2.c sky2_power_on() -> sky2_pci_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->flags | 128-u64max |
| PARAM_VALUE | 1 | reg | 148 |
| PARAM_VALUE | 2 | val | 0 |
| 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->flags | 0x80,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hw->chip_id | 180,182-184,186,188-190 |
| 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_pci_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 128 |
| PARAM_VALUE | 2 | val | 131072 |
| 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 | |||
| NOCHECK_CALL | |||
| 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_wol_init() -> sky2_pci_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 64 |
| PARAM_VALUE | 2 | val | 0,32768-u32max |
| BIT_INFO | 2 | val | 0x8000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0,32768-u32max |
| UNITS | 0 | hw | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &fsm->lock |