Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/marvell/skge.c bcom_phy_init() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| 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 bcom_phy_init() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| 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 bcom_phy_init() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 24 |
| BIT_INFO | 3 | val | 0x20,0xffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | val | 0-u16max |
| LOCK2 | &hw->phy_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c bcom_phy_init() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 9 |
| PARAM_VALUE | 3 | val | 1024,1280,1536,1792 |
| FUZZY_MAX | 3 | val | 1024 |
| BIT_INFO | 3 | val | 0x400,0x700 |
| 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 bcom_phy_init() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 9 |
| PARAM_VALUE | 3 | val | 4096 |
| 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 bcom_phy_init() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 4 |
| PARAM_VALUE | 3 | val | 1,1025,2049,3073 |
| BIT_INFO | 3 | val | 0x1,0xfff |
| 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 bcom_phy_init() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 24 |
| PARAM_VALUE | 3 | val | 17408 |
| 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 bcom_phy_init() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 16 |
| PARAM_VALUE | 3 | val | 32-33 |
| FUZZY_MAX | 3 | val | 32 |
| BIT_INFO | 3 | val | 0x20,0x21 |
| 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 bcom_phy_init() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| PARAM_VALUE | 3 | val | 64,320,4672 |
| FUZZY_MAX | 3 | val | 64 |
| BIT_INFO | 3 | val | 0x40,0x1340 |
| 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 bcom_phy_init() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 27 |
| PARAM_VALUE | 3 | val | 48113 |
| 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 bcom_phy_intr() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| BIT_INFO | 3 | val | 0x4000,0xffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | val | 0-u16max |
| LOCK2 | &hw->phy_lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c bcom_phy_intr() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| PARAM_VALUE | 3 | val | 0-49151 |
| BIT_INFO | 3 | val | 0x0,0xbfff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | val | 0-49151 |
| LOCK2 | &hw->phy_lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c genesis_link_up() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->phy_type | 1 |
| PARAM_VALUE | 2 | reg | 24 |
| PARAM_VALUE | 3 | val | 0-65503 |
| BIT_INFO | 3 | val | 0x0,0xffdf |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | val | 0-65503 |
| 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_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->phy_type | 1 |
| PARAM_VALUE | 2 | reg | 27 |
| PARAM_VALUE | 3 | val | 48113 |
| 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 skge_ioctl() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->chip_id | 10 |
| PARAM_VALUE | 0 | hw->phy_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | reg | 0-31 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &hw->phy_lock | |
| TYPE_LOCK | (struct skge_hw)->phy_lock |
drivers/net/ethernet/marvell/skge.c skge_led() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->chip_id | 10 |
| PARAM_VALUE | 0 | hw->phy_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hw->phy_type | 1 |
| PARAM_VALUE | 2 | reg | 16 |
| PARAM_VALUE | 3 | val | 8 |
| PREEMPT_ADD | <- disables preempt | ||
| 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 skge_led() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->chip_id | 10 |
| PARAM_VALUE | 0 | hw->phy_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hw->phy_type | 1 |
| PARAM_VALUE | 2 | reg | 16 |
| PARAM_VALUE | 3 | val | 16 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| 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 xm_phy_init() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | reg | 4 |
| PARAM_VALUE | 3 | val | 0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,480 |
| 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 xm_phy_init() -> xm_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | reg | 0 |
| PARAM_VALUE | 3 | val | 0,256,4608 |
| FUZZY_MAX | 3 | val | 4608 |
| BIT_INFO | 3 | val | 0x0,0x1300 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hw->phy_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct skge_hw)->phy_lock |