Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c __check_ras_table_status() -> __eeprom_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_core | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.i2c_address | 0,65536-196608,262144 |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.i2c_port | 0 |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.ras_header_offset | 0 |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.ras_info_offset | 20 |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.ras_tbl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.ras_tbl_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.ras_tbl_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.ras_tbl_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.ras_tbl_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.record_threshold_count | 0-10911 |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.sys_func | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.sys_func->update_eeprom_i2c_config | 1-u64max |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.tbl_hdr.version | 196608 |
| PARAM_VALUE | 0 | ras_core->ras_eeprom_supported | 1 |
| PARAM_VALUE | 2 | eeprom_buf | 4096-ptr_max |
| PARAM_VALUE | 3 | bytes | 20 |
| BUF_SIZE | 2 | eeprom_buf | 20 |
| DATA_SOURCE | 0 | ras_core | $0 |
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c __ras_eeprom_read() -> __eeprom_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_core | 4096-ptr_max |
| DATA_SOURCE | 2 | eeprom_buf | $1 |
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c __read_table_ras_info() -> __eeprom_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_core | 4096-ptr_max |
| PARAM_VALUE | 2 | eeprom_buf | 4096-ptr_max |
| PARAM_VALUE | 3 | bytes | 256 |
| BUF_SIZE | 2 | eeprom_buf | 256 |
| BUF_SIZE | 2 | eeprom_buf | 256 |
| DATA_SOURCE | 2 | eeprom_buf | r _kzalloc_noprof |
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c __verify_ras_table_checksum() -> __eeprom_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_core | 4096-ptr_max |
| PARAM_VALUE | 2 | eeprom_buf | 4096-ptr_max |
| BUF_SIZE | 2 | eeprom_buf | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 2 | eeprom_buf | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 2 | eeprom_buf | r _kzalloc_noprof |
| BYTE_COUNT | 2 | ==eeprom_buf3 | 8050 |
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c ras_eeprom_update_header() -> __eeprom_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_core | 4096-ptr_max |
| PARAM_VALUE | 2 | eeprom_buf | 4096-ptr_max |
| BUF_SIZE | 2 | eeprom_buf | 24 |
| BUF_SIZE | 2 | eeprom_buf | 24 |
| DATA_SOURCE | 2 | eeprom_buf | r _kmalloc_array_noprof |