Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_detect() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 0 | hellcreek->base | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| BUF_SIZE | 0 | hellcreek->dev | 1616 |
| BUF_SIZE | 0 | hellcreek->vidmbrcfg | 4096 |
| CAPPED_DATA | 0 | hellcreek->pdata->num_ports | 1 |
| DATA_SOURCE | 0 | hellcreek | $0 |
| MEM_ZERO | 0 | hellcreek | |
| MEM_ZERO | 0 | hellcreek->vidmbrcfg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hellcreek->pdata->num_ports |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_detect() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 0 | hellcreek->base | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2 |
| BUF_SIZE | 0 | hellcreek->dev | 1616 |
| BUF_SIZE | 0 | hellcreek->vidmbrcfg | 4096 |
| CAPPED_DATA | 0 | hellcreek->pdata->num_ports | 1 |
| DATA_SOURCE | 0 | hellcreek | $0 |
| MEM_ZERO | 0 | hellcreek | |
| MEM_ZERO | 0 | hellcreek->vidmbrcfg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hellcreek->pdata->num_ports |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_detect() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 0 | hellcreek->base | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 4 |
| BUF_SIZE | 0 | hellcreek->dev | 1616 |
| BUF_SIZE | 0 | hellcreek->vidmbrcfg | 4096 |
| CAPPED_DATA | 0 | hellcreek->pdata->num_ports | 1 |
| DATA_SOURCE | 0 | hellcreek | $0 |
| MEM_ZERO | 0 | hellcreek | |
| MEM_ZERO | 0 | hellcreek->vidmbrcfg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hellcreek->pdata->num_ports |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_detect() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 0 | hellcreek->base | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 6 |
| BUF_SIZE | 0 | hellcreek->dev | 1616 |
| BUF_SIZE | 0 | hellcreek->vidmbrcfg | 4096 |
| CAPPED_DATA | 0 | hellcreek->pdata->num_ports | 1 |
| DATA_SOURCE | 0 | hellcreek | $0 |
| MEM_ZERO | 0 | hellcreek | |
| MEM_ZERO | 0 | hellcreek->vidmbrcfg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hellcreek->pdata->num_ports |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_detect() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 0 | hellcreek->base | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 8 |
| BUF_SIZE | 0 | hellcreek->dev | 1616 |
| BUF_SIZE | 0 | hellcreek->vidmbrcfg | 4096 |
| CAPPED_DATA | 0 | hellcreek->pdata->num_ports | 1 |
| DATA_SOURCE | 0 | hellcreek | $0 |
| MEM_ZERO | 0 | hellcreek | |
| MEM_ZERO | 0 | hellcreek->vidmbrcfg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hellcreek->pdata->num_ports |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_detect() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 0 | hellcreek->base | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 358 |
| BUF_SIZE | 0 | hellcreek->dev | 1616 |
| BUF_SIZE | 0 | hellcreek->vidmbrcfg | 4096 |
| CAPPED_DATA | 0 | hellcreek->pdata->num_ports | 1 |
| DATA_SOURCE | 0 | hellcreek | $0 |
| MEM_ZERO | 0 | hellcreek | |
| MEM_ZERO | 0 | hellcreek->vidmbrcfg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hellcreek->pdata->num_ports |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_devlink_fdb_table_get() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 304 |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &hellcreek->reg_lock | 1 |
| DATA_SOURCE | 0 | hellcreek | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hellcreek->reg_lock | |
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct hellcreek)->reg_lock |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_devlink_region_fdb_snapshot() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 304 |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &hellcreek->reg_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | hellcreek->fdb_entries | |
| UNITS | 0 | hellcreek | unit_byte |
| LOCK2 | ®ion->snapshot_lock | ||
| LOCK2 | 0 | &hellcreek->reg_lock | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct devlink_region)->snapshot_lock | ||
| TYPE_LOCK | (struct hellcreek)->reg_lock |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_enable_ip_core() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 10 |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &hellcreek->reg_lock | 1 |
| DATA_SOURCE | 0 | hellcreek | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hellcreek | unit_byte |
| LOCK2 | 0 | &hellcreek->reg_lock | |
| HALF_LOCKED2 | global &dsa2_mutex | ||
| TYPE_LOCK | (struct hellcreek)->reg_lock |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_fdb_dump() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 304 |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &hellcreek->reg_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hellcreek | unit_byte |
| LOCK2 | 0 | &hellcreek->reg_lock | |
| TYPE_LOCK | (struct hellcreek)->reg_lock |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_fdb_get() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 304 |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hellcreek | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | hellcreek | unit_byte |
| LOCK2 | 0 | &hellcreek->reg_lock | |
| HALF_LOCKED2 | &dp->addr_lists_lock | ||
| TYPE_LOCK | (struct hellcreek)->reg_lock |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_feature_detect() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 0 | hellcreek->base | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 344 |
| BUF_SIZE | 0 | hellcreek->dev | 1616 |
| BUF_SIZE | 0 | hellcreek->vidmbrcfg | 4096 |
| CAPPED_DATA | 0 | hellcreek->pdata->module_id | 1 |
| CAPPED_DATA | 0 | hellcreek->pdata->num_ports | 1 |
| DATA_SOURCE | 0 | hellcreek | $0 |
| MEM_ZERO | 0 | hellcreek | |
| MEM_ZERO | 0 | hellcreek->vidmbrcfg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hellcreek->pdata->num_ports |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_get_ethtool_stats() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 286 |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &hellcreek->reg_lock | 1 |
| UNITS | 0 | hellcreek | unit_byte |
| LOCK2 | 0 | &hellcreek->reg_lock | |
| TYPE_LOCK | (struct hellcreek)->reg_lock |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_get_ethtool_stats() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 284 |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &hellcreek->reg_lock | 1 |
| UNITS | 0 | hellcreek | unit_byte |
| LOCK2 | 0 | &hellcreek->reg_lock | |
| TYPE_LOCK | (struct hellcreek)->reg_lock |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_populate_fdb_entry() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 312 |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hellcreek | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hellcreek->fdb_entries | |
| UNITS | 0 | hellcreek | unit_byte |
| LOCK2 | 0 | &hellcreek->reg_lock | |
| HALF_LOCKED2 | ®ion->snapshot_lock | ||
| TYPE_LOCK | (struct hellcreek)->reg_lock |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_populate_fdb_entry() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 306 |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hellcreek | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hellcreek->fdb_entries | |
| UNITS | 0 | hellcreek | unit_byte |
| LOCK2 | 0 | &hellcreek->reg_lock | |
| HALF_LOCKED2 | ®ion->snapshot_lock | ||
| TYPE_LOCK | (struct hellcreek)->reg_lock |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_populate_fdb_entry() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 308 |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hellcreek | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hellcreek->fdb_entries | |
| UNITS | 0 | hellcreek | unit_byte |
| LOCK2 | 0 | &hellcreek->reg_lock | |
| HALF_LOCKED2 | ®ion->snapshot_lock | ||
| TYPE_LOCK | (struct hellcreek)->reg_lock |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_populate_fdb_entry() -> hellcreek_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hellcreek | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 310 |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hellcreek | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hellcreek | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hellcreek->fdb_entries | |
| UNITS | 0 | hellcreek | unit_byte |
| LOCK2 | 0 | &hellcreek->reg_lock | |
| HALF_LOCKED2 | ®ion->snapshot_lock | ||
| TYPE_LOCK | (struct hellcreek)->reg_lock |