Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/dsa/bcm_sf2.c bcm_sf2_core_read16() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | off | 0-262143 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BIT_INFO | 1 | off | 0x0,0xfc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | off | 0-u16max[c] |
| UNITS | 0 | priv | unit_byte |
| LOCK2 | &dev->reg_mutex | ||
| TYPE_LOCK | (struct b53_device)->reg_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_core_read32() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | off | 0-262143 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BIT_INFO | 1 | off | 0x0,0xfc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | &dev->reg_mutex | ||
| HALF_LOCKED2 | &dev->arl_mutex | ||
| HALF_LOCKED2 | &dev->stats_mutex | ||
| TYPE_LOCK | (struct b53_device)->reg_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_core_read8() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | off | 0-u16max |
| BUF_SIZE | 0 | priv | (-1),32,232,656 |
| BUF_SIZE | 0 | priv | (-1),32,232,656 |
| BIT_INFO | 1 | off | 0x0,0xfc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | &dev->reg_mutex | ||
| HALF_LOCKED2 | &dev->arl_mutex | ||
| HALF_LOCKED2 | &pl->phydev_mutex | ||
| HALF_LOCKED2 | &pl->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &dsa2_mutex | ||
| TYPE_LOCK | (struct b53_device)->reg_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_imp_setup() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | off | 9088 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_imp_setup() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 136 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_imp_setup() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 49600-53664 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| CAPPED_DATA | 1 | off | 1 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_imp_setup() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 32 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_imp_setup() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0-28,36-1016 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| CAPPED_DATA | 1 | off | 1 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_port_disable() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 240 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/bcm_sf2.c bcm_sf2_port_disable() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 9088 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/bcm_sf2.c bcm_sf2_port_setup() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 9088 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_port_setup() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_indir_rw() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0,4-131064,131072-4294967292 |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | off | 131088-655352[c] |
| UNITS | 0 | priv | unit_byte |
| HALF_LOCKED2 | &bus->mdio_lock | ||
| HALF_LOCKED2 | &priv->bus->mdio_lock |
drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_mac_config() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | off | 2052 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_mac_link_down() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| DATA_SOURCE | 1 | off | r bcm_sf2_port_override_offset |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pl->state_mutex | ||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_probe() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 2048 |
| BUF_SIZE | 0 | priv | 656 |
| BUF_SIZE | 0 | priv->clk | (-1),1-s32max |
| BUF_SIZE | 0 | priv->clk_mdiv | (-1),1-s32max |
| BUF_SIZE | 0 | priv->dev | 704 |
| BUF_SIZE | 0 | priv->rcdev | (-1),8,96,280,1296 |
| CAPPED_DATA | 0 | priv->dev->ds | 1 |
| DATA_SOURCE | 0 | priv | r devm_kzalloc |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_probe() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 2052 |
| BUF_SIZE | 0 | priv | 656 |
| BUF_SIZE | 0 | priv->clk | (-1),1-s32max |
| BUF_SIZE | 0 | priv->clk_mdiv | (-1),1-s32max |
| BUF_SIZE | 0 | priv->dev | 704 |
| BUF_SIZE | 0 | priv->rcdev | (-1),8,96,280,1296 |
| CAPPED_DATA | 0 | priv->dev->ds | 1 |
| DATA_SOURCE | 0 | priv | r devm_kzalloc |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_rst() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 484 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv->clk | (-1),1-s32max |
| BUF_SIZE | 0 | priv->clk_mdiv | (-1),1-s32max |
| BUF_SIZE | 0 | priv->dev | (-1),704 |
| BUF_SIZE | 0 | priv->rcdev | (-1),8,280 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_rst() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 484 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv->clk | (-1),1-s32max |
| BUF_SIZE | 0 | priv->clk_mdiv | (-1),1-s32max |
| BUF_SIZE | 0 | priv->dev | (-1),704 |
| BUF_SIZE | 0 | priv->rcdev | (-1),8,280 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/bcm_sf2.c core_readq() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0-262143 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | off | $1 |
| BIT_INFO | 1 | off | 0x0,0xfc |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | &dev->reg_mutex | ||
| LOCK2 | 0 | &priv->indir_lock | |
| HALF_LOCKED2 | &dev->arl_mutex | ||
| HALF_LOCKED2 | &dev->stats_mutex | ||
| HALF_LOCKED2 | global &dsa2_mutex | ||
| TYPE_LOCK | (struct b53_device)->reg_mutex | ||
| TYPE_LOCK | (struct bcm_sf2_priv)->indir_lock |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_get_ethtool_stats() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| CAPPED_DATA | 0 | priv->num_cfp_rules | 1 |
| CAPPED_DATA | 0 | &priv->cfp.lock | 1 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| LOCK2 | 0 | &priv->cfp.lock | |
| TYPE_LOCK | (struct bcm_sf2_cfp_priv)->lock |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_ipv4_rule_set() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 164864 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->cfp.lock |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_ipv6_rule_set() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 164864 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->cfp.lock |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_op() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 163840 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &priv->cfp.lock |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_op() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 163840 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &priv->cfp.lock |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_resume() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | off | 164864 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| CAPPED_DATA | 0 | &priv->cfp.rules_list | 1 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| PARAM_COMPARE | 0 | &priv->cfp.rules_list | != $0->cfp.rules_list.next |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_rst() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 163840 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv->clk | (-1),1-s32max |
| BUF_SIZE | 0 | priv->clk_mdiv | (-1),1-s32max |
| BUF_SIZE | 0 | priv->dev | (-1),704 |
| BUF_SIZE | 0 | priv->rcdev | (-1),8,280 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_rst() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 163840 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv->clk | (-1),1-s32max |
| BUF_SIZE | 0 | priv->clk_mdiv | (-1),1-s32max |
| BUF_SIZE | 0 | priv->dev | (-1),704 |
| BUF_SIZE | 0 | priv->rcdev | (-1),8,280 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_rule_addr_set() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 163840 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &priv->cfp.lock |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_rule_del_one() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 164000 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &priv->cfp.lock |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_rule_del_one() -> core_readl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 163904 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &priv->cfp.lock |