Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __amdgpu_ras_eeprom_write() -> amdgpu_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | eeprom_buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | eeprom_buf | (-1),24 |
| BUF_SIZE | 2 | eeprom_buf | (-1),24 |
| DATA_SOURCE | 2 | eeprom_buf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->reset_domain->sem | ||
| LOCK2 | &control->ras_tbl_mutex | ||
| TYPE_LOCK | (struct amdgpu_ras_eeprom_control)->ras_tbl_mutex | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __write_table_header() -> amdgpu_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | eeprom_buf | 6923820029311406080 |
| PARAM_VALUE | 3 | bytes | 20 |
| BUF_SIZE | 2 | eeprom_buf | 20 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->reset_domain->sem | ||
| LOCK2 | &control->ras_tbl_mutex | ||
| TYPE_LOCK | (struct amdgpu_ras_eeprom_control)->ras_tbl_mutex | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __write_table_ras_info() -> amdgpu_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->reset_domain->sem | ||
| LOCK2 | &control->ras_tbl_mutex | ||
| TYPE_LOCK | (struct amdgpu_ras_eeprom_control)->ras_tbl_mutex | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |