Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c, line 2259
- drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c, line 68
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_ras_send_cmd() -> psp_ras_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->ras_context.context.initialized | 1 |
| PARAM_VALUE | 0 | psp->ras_context.context.mem_context.shared_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->ras_context.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | psp->ras_context.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psp->ras_context.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | psp->ras_context.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | psp->ras_context.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | psp->ras_context.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | psp->ras_context.mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | ta_cmd_id | 0-2,5 |
| CAPPED_DATA | 0 | &psp->ras_context.mutex | 1 |
| DATA_SOURCE | 0 | psp | $0 |
| DATA_SOURCE | 1 | ta_cmd_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | psp->sos.fw_version | 0-u32max |
| LOCK2 | 0 | &psp->ras_context.mutex | |
| TYPE_LOCK | (struct psp_ras_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c ta_if_invoke_debugfs_write() -> (struct ta_funcs)->fn_ta_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->ras_context.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psp->ras_context.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | psp->ras_context.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | psp->ras_context.mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | psp->ta_funcs | 8902418124512165888 |
| BUF_SIZE | 0 | psp | 4848 |
| CAPPED_DATA | 0 | &psp->ras_context.mutex | 1 |
| USER_DATA | 1 | ta_cmd_id | 0-u32max |
| LOCK2 | &psp->ras_context.mutex | ||
| TYPE_LOCK | (struct psp_ras_context)->mutex |