Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_reset() -> smu_hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip_block | 4096-ptr_max |
| PARAM_VALUE | 0 | ip_block->adev | 4096-ptr_max |
| DATA_SOURCE | 0 | ip_block | r amdgpu_device_ip_get_ip_block |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_fw_loading() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip_block | 4096-ptr_max |
| PARAM_VALUE | 0 | ip_block->version | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_hw_init_phase1() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip_block | 4096-ptr_max |
| PARAM_VALUE | 0 | ip_block->version | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_hw_init_phase2() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip_block | 4096-ptr_max |
| PARAM_VALUE | 0 | ip_block->version | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_init() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip_block | 4096-ptr_max |
| PARAM_VALUE | 0 | ip_block->version | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_init() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip_block | 4096-ptr_max |
| PARAM_VALUE | 0 | ip_block->version | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_reinit_early_sriov() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip_block | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_reinit_late_sriov() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip_block | 4096-ptr_max |
| PARAM_VALUE | 0 | ip_block->status.hw | 0 |
| PARAM_VALUE | 0 | ip_block->status.valid | 1 |
| PARAM_VALUE | 0 | ip_block->version | 4096-ptr_max |
| PARAM_VALUE | 0 | ip_block->version->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ip_block->version->type | 0-2,4-17 |
| DATA_SOURCE | 0 | ip_block | r amdgpu_device_ip_get_ip_block |
| CONTAINER | 0 | -48-16-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock |