Defined in 2 files as a function:
- drivers/net/ethernet/marvell/skge.h, line 2571 (as a function)
- drivers/net/ethernet/marvell/sky2.h, line 2400 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/marvell/skge.c skge_set_mac_address() -> gma_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 28 |
| BUF_SIZE | 3 | addr | 32 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &hw->phy_lock | |
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c skge_set_mac_address() -> gma_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 40 |
| PARAM_VALUE | 3 | addr | 4096-ptr_max |
| BUF_SIZE | 3 | addr | 32 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &hw->phy_lock | |
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c yukon_mac_init() -> gma_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 28 |
| BUF_SIZE | 3 | addr | 32 |
| BUF_SIZE | 3 | addr | 32 |
| DATA_SOURCE | 0 | hw | $0 |
| DATA_SOURCE | 1 | port | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &hw->phy_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c yukon_mac_init() -> gma_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 40 |
| PARAM_VALUE | 3 | addr | 4096-ptr_max |
| BUF_SIZE | 3 | addr | 32 |
| BUF_SIZE | 3 | addr | 32 |
| DATA_SOURCE | 0 | hw | $0 |
| DATA_SOURCE | 1 | port | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &hw->phy_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/sky2.c sky2_mac_init() -> gma_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 40 |
| BUF_SIZE | 3 | addr | 32 |
| BUF_SIZE | 3 | addr | 32 |
| DATA_SOURCE | 0 | hw | $0 |
| DATA_SOURCE | 1 | port | $1 |
| 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() -> gma_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 28 |
| PARAM_VALUE | 3 | addr | 4096-ptr_max |
| BUF_SIZE | 3 | addr | 32 |
| BUF_SIZE | 3 | addr | 32 |
| DATA_SOURCE | 0 | hw | $0 |
| DATA_SOURCE | 1 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hw | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/sky2.c sky2_set_mac_address() -> gma_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 40 |
| BUF_SIZE | 3 | addr | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hw | unit_byte |
drivers/net/ethernet/marvell/sky2.c sky2_set_mac_address() -> gma_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 28 |
| PARAM_VALUE | 3 | addr | 4096-ptr_max |
| BUF_SIZE | 3 | addr | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hw | unit_byte |