Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/fpga/intel-m10-bmc-sec-update.c
- drivers/hwmon/intel-m10-bmc-hwmon.c, line 587
- drivers/mfd/intel-m10-bmc-core.c
Smatch caller information:
drivers/hwmon/intel-m10-bmc-hwmon.c do_sensor_read() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_state | 0-3 |
| PARAM_VALUE | 0 | m10bmc->info->handshake_sys_reg_nranges | 0-1 |
| PARAM_VALUE | 1 | offset | 256,260,264,268,272,276,280,284,288,292,296,300,304,308,312,316,320,324,328,332,336,340,344,348,352,356,360,364,368,372,376,380,384,388,392,396,400,404,408,412,416,420,424,428,432,436,440,444,448,452,456,460,464-u32max |
| PARAM_VALUE | 2 | val | 4412794809471209472 |
| DATA_SOURCE | 1 | offset | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | m10bmc | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/fpga/intel-m10-bmc-sec-update.c log_error_regs() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_state | 0-3 |
| PARAM_VALUE | 0 | m10bmc->flash_bulk_ops | 0,2977732053240774656 |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->handshake_sys_reg_nranges | 0-1 |
| PARAM_VALUE | 2 | val | 2951600604768649216 |
| UNITS | 0 | m10bmc | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/fpga/intel-m10-bmc-sec-update.c m10bmc_sec_fw_write() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 7418164369021292544 |
| UNITS | 0 | m10bmc | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/fpga/intel-m10-bmc-sec-update.c m10bmc_sec_n3000_rsu_status() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_state | 0-3 |
| PARAM_VALUE | 0 | m10bmc->flash_bulk_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->handshake_sys_reg_nranges | 0-1 |
| PARAM_VALUE | 0 | m10bmc->regmap->cache_dirty | 1 |
| PARAM_VALUE | 2 | val | 4549316792325230592 |
| CAPPED_DATA | 0 | m10bmc->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->wr_table->n_yes_ranges | 1 |
| UNITS | 0 | m10bmc | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/fpga/intel-m10-bmc-sec-update.c m10bmc_sec_n6000_rsu_status() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_state | 0-3 |
| PARAM_VALUE | 0 | m10bmc->flash_bulk_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->handshake_sys_reg_nranges | 0-1 |
| PARAM_VALUE | 0 | m10bmc->regmap->cache_dirty | 1 |
| PARAM_VALUE | 2 | val | 8319821868737531904 |
| CAPPED_DATA | 0 | m10bmc->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->wr_table->n_yes_ranges | 1 |
| UNITS | 0 | m10bmc | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/fpga/intel-m10-bmc-sec-update.c m10bmc_sec_progress_status() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_state | 0-3 |
| PARAM_VALUE | 0 | m10bmc->flash_bulk_ops | 0,2977732053240774656 |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->handshake_sys_reg_nranges | 0-1 |
| PARAM_VALUE | 0 | m10bmc->regmap->cache_dirty | 1 |
| PARAM_VALUE | 2 | val | 778262400862187520,3065403632159211520 |
| CAPPED_DATA | 0 | m10bmc->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 2 | val | $1 |
| FUZZY_MAX | 0 | m10bmc->bmcfw_state | 1 |
| UNITS | 0 | m10bmc | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/fpga/intel-m10-bmc-sec-update.c rsu_cancel() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_state | 0-3 |
| PARAM_VALUE | 0 | m10bmc->flash_bulk_ops | 0,2977732053240774656 |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 464698511041613824,1477420291740807168 |
| PARAM_VALUE | 0 | m10bmc->info->handshake_sys_reg_nranges | 0-1 |
| PARAM_VALUE | 2 | val | 5601966142220320768 |
| FUZZY_MAX | 0 | m10bmc->bmcfw_state | 1 |
| UNITS | 0 | m10bmc | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/fpga/intel-m10-bmc-sec-update.c rsu_check_idle() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->flash_bulk_ops | 0,2977732053240774656 |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 464698511041613824,1477420291740807168 |
| PARAM_VALUE | 2 | val | 3630093626992472064 |
| UNITS | 0 | m10bmc | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/fpga/intel-m10-bmc-sec-update.c rsu_prog_ready() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_state | 0-3 |
| PARAM_VALUE | 0 | m10bmc->flash_bulk_ops | 0,2977732053240774656 |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 464698511041613824,1477420291740807168 |
| PARAM_VALUE | 0 | m10bmc->info->handshake_sys_reg_nranges | 0-1 |
| PARAM_VALUE | 0 | m10bmc->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | m10bmc->regmap->cache_dirty | 1 |
| PARAM_VALUE | 2 | val | 5656902379497504768 |
| CAPPED_DATA | 0 | m10bmc->regmap->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->wr_table->n_yes_ranges | 1 |
| FUZZY_MAX | 0 | m10bmc->bmcfw_state | 1 |
| UNITS | 0 | m10bmc | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/fpga/intel-m10-bmc-sec-update.c rsu_prog_ready() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_state | 0-3 |
| PARAM_VALUE | 0 | m10bmc->flash_bulk_ops | 0,2977732053240774656 |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 464698511041613824,1477420291740807168 |
| PARAM_VALUE | 0 | m10bmc->info->handshake_sys_reg_nranges | 0-1 |
| PARAM_VALUE | 0 | m10bmc->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | m10bmc->regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | *m10bmc->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 2 | val | 5656902379497504768 |
| CAPPED_DATA | 0 | m10bmc->regmap->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | m10bmc->regmap->wr_table->n_yes_ranges | 1 |
| FUZZY_MAX | 0 | m10bmc->bmcfw_state | 1 |
| UNITS | 0 | m10bmc | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/mfd/intel-m10-bmc-core.c bmc_version_show() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 2523393258181988352 |
| BUF_SIZE | 0 | m10bmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m10bmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | m10bmc | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/mfd/intel-m10-bmc-core.c bmcfw_version_show() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 7493786016905592832 |
| BUF_SIZE | 0 | m10bmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m10bmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | m10bmc | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/mfd/intel-m10-bmc-core.c mac_address_show() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 4508448670014001152 |
| BUF_SIZE | 0 | m10bmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m10bmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | m10bmc | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/mfd/intel-m10-bmc-core.c mac_address_show() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | m10bmc->bmcfw_state | 0-3 |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->handshake_sys_reg_nranges | 0-1 |
| PARAM_VALUE | 0 | *m10bmc->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 2 | val | 3054691562310455296 |
| BUF_SIZE | 0 | m10bmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m10bmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | m10bmc | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/mfd/intel-m10-bmc-core.c mac_count_show() -> m10bmc_sys_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | m10bmc->info->csr_map | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 208310486375399424 |
| BUF_SIZE | 0 | m10bmc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m10bmc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | m10bmc | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |