Defined in 1 files as a member:
Defined in 2 files as a function:
- drivers/net/dsa/bcm_sf2.h, line 199 (as a function)
- drivers/perf/thunderx2_pmu.c, line 299 (as a function)
Referenced in 6 files:
- drivers/gpio/gpio-rockchip.c, line 540
- drivers/net/dsa/bcm_sf2.c
- drivers/net/dsa/bcm_sf2.h, line 163
- drivers/perf/thunderx2_pmu.c
- include/linux/irq.h
- kernel/irq/generic-chip.c, line 324
Smatch caller information:
drivers/net/dsa/bcm_sf2.c bcm_sf2_crossbar_setup() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->reg_offsets | 4096-ptr_max |
| PARAM_VALUE | 2 | off | 7 |
| 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 |
| BIT_INFO | 0 | priv->int_phy_mask | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 0-u32max[c] |
drivers/net/dsa/bcm_sf2.c bcm_sf2_gphy_enable_set() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->reg_offsets | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 32-u32max |
| PARAM_VALUE | 2 | off | 6 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| BIT_INFO | 1 | val | 0x20,0xffffffe4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 32-u32max[c] |
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_gphy_enable_set() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->reg_offsets | 4096-ptr_max |
| PARAM_VALUE | 2 | off | 6 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | r bcm_sf2_to_priv |
| BIT_INFO | 1 | val | 0x23,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 0-u32max |
drivers/net/dsa/bcm_sf2.c bcm_sf2_gphy_enable_set() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->reg_offsets | 4096-ptr_max |
| PARAM_VALUE | 2 | off | 6 |
| 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 | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 0-u32max |
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_indir_rw() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->reg_offsets | 4096-ptr_max |
| PARAM_VALUE | 2 | off | 0 |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 1 | val | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 0-u32max |
| 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_indir_rw() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->reg_offsets | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0,2-u32max |
| PARAM_VALUE | 2 | off | 0 |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 1 | val | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 0,2-u32max[c] |
| USER_DATA | 1 | val | 0,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() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->reg_offsets | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0,2-u32max |
| PARAM_VALUE | 2 | off | 1,8-11 |
| 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 | 2 | off | r bcm_sf2_reg_rgmii_cntrl |
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 0,2-u32max[c] |
drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_mac_link_set() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->reg_offsets | 4096-ptr_max |
| PARAM_VALUE | 2 | off | 1,8-11 |
| 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 | 2 | off | r bcm_sf2_reg_rgmii_cntrl |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 0-u32max |
| HALF_LOCKED2 | &pl->phydev_mutex | ||
| HALF_LOCKED2 | &pl->state_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_mac_link_up() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->reg_offsets | 4096-ptr_max |
| PARAM_VALUE | 2 | off | 1,8-11 |
| 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 | 2 | off | r bcm_sf2_reg_rgmii_cntrl |
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 0-u32max[c] |
| LOCK2 | &pl->phydev_mutex | ||
| LOCK2 | &pl->state_mutex | ||
| HALF_LOCKED2 | &phy->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct phylink)->phydev_mutex | ||
| TYPE_LOCK | (struct phylink)->state_mutex |
drivers/net/dsa/bcm_sf2.c core_writeq() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 2 | off | 2 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | val | 0-u32max[c] |
| UNITS | 0 | priv | unit_byte |
| LOCK2 | &dev->reg_mutex | ||
| LOCK2 | 0 | &priv->indir_lock | |
| HALF_LOCKED2 | &dev->arl_mutex | ||
| TYPE_LOCK | (struct b53_device)->reg_mutex | ||
| TYPE_LOCK | (struct bcm_sf2_priv)->indir_lock |
drivers/perf/thunderx2_pmu.c tx2_uncore_event_update() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | priv | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/perf/thunderx2_pmu.c uncore_start_event_ccpi2() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | priv | 1 |
| BIT_INFO | 0 | priv | 0xc00,0xffffffff |
| NOCHECK_CALL |
drivers/perf/thunderx2_pmu.c uncore_start_event_ccpi2() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 19 |
| NOCHECK_CALL |
drivers/perf/thunderx2_pmu.c uncore_start_event_dmc() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | val | 4096-ptr_max |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | priv | 0-u32max[c] |
drivers/perf/thunderx2_pmu.c uncore_start_event_dmc() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 0 |
| NOCHECK_CALL |
drivers/perf/thunderx2_pmu.c uncore_start_event_l3c() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | priv | 1 |
| BIT_INFO | 0 | priv | 0x0,0xfffffff8 |
| NOCHECK_CALL |
drivers/perf/thunderx2_pmu.c uncore_start_event_l3c() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 0 |
| NOCHECK_CALL |
drivers/perf/thunderx2_pmu.c uncore_stop_event_ccpi2() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 0 |
| NOCHECK_CALL |
drivers/perf/thunderx2_pmu.c uncore_stop_event_dmc() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | val | 4096-ptr_max |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | priv | 0-u32max[c] |
drivers/perf/thunderx2_pmu.c uncore_stop_event_l3c() -> reg_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 0 |
| NOCHECK_CALL |