Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/marvell/skge.c __xm_phy_read() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 56 |
| DATA_SOURCE | 0 | hw | $0 |
| DATA_SOURCE | 1 | port | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &hw->phy_lock | |
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c __xm_phy_read() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| DATA_SOURCE | 0 | hw | $0 |
| DATA_SOURCE | 1 | port | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &hw->phy_lock | |
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c __xm_phy_read() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 56 |
| DATA_SOURCE | 0 | hw | $0 |
| DATA_SOURCE | 1 | port | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &hw->phy_lock | |
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c bcom_phy_init() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hw->phy_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c bcom_phy_init() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 72 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hw->phy_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c genesis_get_stats() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/marvell/skge.c genesis_get_stats() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/marvell/skge.c genesis_link_up() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | reg | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hw->phy_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c genesis_link_up() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 68 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hw->phy_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c genesis_link_up() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 72 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hw->phy_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c genesis_link_up() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hw->phy_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c genesis_mac_intr() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 0-1 |
| PARAM_VALUE | 2 | reg | 72 |
| DATA_SOURCE | 0 | hw | $0 |
| DATA_SOURCE | 1 | port | $1 |
| HARD_MAX | 1 | port | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hw->hw_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct skge_hw)->hw_lock |
drivers/net/ethernet/marvell/skge.c genesis_stop() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/skge.c genesis_stop() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/skge.c genesis_stop() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/skge.c xm_link_timer() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | reg | 64 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &hw->phy_lock | |
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c xm_link_timer() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 68 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &hw->phy_lock | |
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c xm_link_timer() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 72 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &hw->phy_lock | |
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c xm_phy_write() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| DATA_SOURCE | 0 | hw | $0 |
| DATA_SOURCE | 1 | port | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hw->phy_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &hw->phy_lock | |
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c xm_phy_write() -> xm_read16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| DATA_SOURCE | 0 | hw | $0 |
| DATA_SOURCE | 1 | port | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hw->phy_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &hw->phy_lock | |
| TYPE_LOCK | (struct skge_hw)->phy_lock |