Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c jpeg_v4_0_3_core_stall_reset() -> jpeg_v4_0_3_core_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | pipe | unit_array_size |
| LOCK2 | &vinst->engine_reset_mutex | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_vcn_inst)->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c jpeg_v4_0_3_dec_ring_get_rptr() -> jpeg_v4_0_3_core_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pipe | unit_array_size |
| HALF_LOCKED2 | &ring->adev->cper.ring_lock | ||
| HALF_LOCKED2 | &sdma_instance->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c jpeg_v4_0_3_dec_ring_get_wptr() -> jpeg_v4_0_3_core_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pipe | unit_array_size |
| HALF_LOCKED2 | &ring->adev->cper.ring_lock |
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c jpeg_v4_0_3_dec_ring_set_wptr() -> jpeg_v4_0_3_core_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pipe | unit_array_size |
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c jpeg_v4_0_3_is_idle() -> jpeg_v4_0_3_core_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 0-s32max |
| CAPPED_DATA | 0 | pipe | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c jpeg_v4_0_3_start_jrbc() -> jpeg_v4_0_3_core_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pipe | unit_array_size |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vinst->engine_reset_mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c jpeg_v4_0_3_sw_init() -> jpeg_v4_0_3_core_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 0-s32max |
| CAPPED_DATA | 0 | pipe | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c jpeg_v4_0_3_wait_for_idle() -> jpeg_v4_0_3_core_reg_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 0-s32max |
| CAPPED_DATA | 0 | pipe | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->grbm_idx_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem |