Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/msm/adreno/a6xx_gmu.c
- drivers/gpu/drm/msm/adreno/a6xx_gmu.h
- drivers/gpu/drm/msm/adreno/a6xx_gpu.c
- drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c, line 1242
- drivers/gpu/drm/msm/adreno/a8xx_gpu.c
Smatch caller information:
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_check_idle_level() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129001 |
| DATA_SOURCE | 0 | gmu | $0 |
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_check_idle_level() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129260 |
| DATA_SOURCE | 0 | gmu | $0 |
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_fw_load() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 119800 |
| BUF_SIZE | 0 | gmu | 2384 |
| CAPPED_DATA | 0 | gmu->nr_clocks | 1 |
| DATA_SOURCE | 0 | gmu | $0 |
| NO_OVERFLOW_SIMPLE | 0 | gmu->core_clk->core->parent->req_rate | |
| NO_OVERFLOW_SIMPLE | 0 | gmu->hub_clk->core->parent->req_rate | |
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_gx_is_on() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129232 |
| BUF_SIZE | 0 | gmu | 2384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_irq() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 146181 |
| DATA_SOURCE | 0 | gmu | $1 |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_irq() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 146195 |
| DATA_SOURCE | 0 | gmu | $1 |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_isidle() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 146188 |
| DATA_SOURCE | 0 | gmu | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &init_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_notify_slumber() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129260 |
| BUF_SIZE | 0 | gmu | 2384 |
| DATA_SOURCE | 0 | gmu | $0 |
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_resume() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129484 |
| BUF_SIZE | 0 | gmu | 2384 |
| CAPPED_DATA | 0 | gmu->nr_clocks | 1 |
| NO_OVERFLOW_SIMPLE | 0 | gmu->core_clk->core->parent->req_rate | |
| NO_OVERFLOW_SIMPLE | 0 | gmu->hub_clk->core->parent->req_rate | |
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_set_freq() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 117759 |
| BUF_SIZE | 0 | gmu | 2384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &df->lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_set_oob() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129426 |
| BUF_SIZE | 0 | gmu | (-1),2384 |
| BUF_SIZE | 0 | gmu | (-1),2384 |
| DATA_SOURCE | 0 | gmu | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | gmu->core_clk->core->parent->req_rate | |
| NO_OVERFLOW_SIMPLE | 0 | gmu->hub_clk->core->parent->req_rate | |
| HALF_LOCKED2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | 0 | &gmu->lock | |
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_shutdown() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 146188 |
| BUF_SIZE | 0 | gmu | 2384 |
| DATA_SOURCE | 0 | gmu | $0 |
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_shutdown() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 146189 |
| BUF_SIZE | 0 | gmu | 2384 |
| DATA_SOURCE | 0 | gmu | $0 |
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_sptprac_is_on() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129232 |
| DATA_SOURCE | 0 | gmu | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gpu->lock | ||
| TYPE_LOCK | (struct msm_gpu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_start() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 119800 |
| BUF_SIZE | 0 | gmu | 2384 |
| CAPPED_DATA | 0 | gmu->nr_clocks | 1 |
| DATA_SOURCE | 0 | gmu | $0 |
| NO_OVERFLOW_SIMPLE | 0 | gmu->core_clk->core->parent->req_rate | |
| NO_OVERFLOW_SIMPLE | 0 | gmu->hub_clk->core->parent->req_rate | |
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_hfi_irq() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 129426 |
| DATA_SOURCE | 0 | gmu | $1 |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_sptprac_disable() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129232 |
| BUF_SIZE | 0 | gmu | (-1),2384 |
| BUF_SIZE | 0 | gmu | (-1),2384 |
| DATA_SOURCE | 0 | gmu | $0 |
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_sptprac_enable() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129232 |
| BUF_SIZE | 0 | gmu | 2384 |
| DATA_SOURCE | 0 | gmu | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | gmu->core_clk->core->parent->req_rate | |
| NO_OVERFLOW_SIMPLE | 0 | gmu->hub_clk->core->parent->req_rate | |
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a7xx_gmu_gx_is_on() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129232 |
| BUF_SIZE | 0 | gmu | 2384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a8xx_gmu_gx_is_on() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129000 |
| BUF_SIZE | 0 | gmu | 2384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c gmu_rmw() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129216,129256,148483 |
| BUF_SIZE | 0 | gmu | (-1),2384 |
| BUF_SIZE | 0 | gmu | (-1),2384 |
| DATA_SOURCE | 0 | gmu | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| HARD_MAX | 1 | offset | 148483 |
| NO_OVERFLOW_SIMPLE | 0 | gmu->core_clk->core->parent->req_rate | |
| NO_OVERFLOW_SIMPLE | 0 | gmu->hub_clk->core->parent->req_rate | |
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c _a6xx_get_gmu_registers() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| BUF_SIZE | 0 | gmu | 2384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gpu->lock | ||
| TYPE_LOCK | (struct msm_gpu)->lock |
drivers/gpu/drm/msm/adreno/a8xx_gpu.c a8xx_gmu_get_timestamp() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129089 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &gpu->lock |
drivers/gpu/drm/msm/adreno/a8xx_gpu.c a8xx_gmu_get_timestamp() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129088 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &gpu->lock |
drivers/gpu/drm/msm/adreno/a8xx_gpu.c a8xx_gmu_get_timestamp() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129089 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &gpu->lock |
drivers/gpu/drm/msm/adreno/a8xx_gpu.c gmu_read64() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 130208 |
| DATA_SOURCE | 0 | gmu | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &df->lock | ||
| TYPE_LOCK | (struct msm_gpu_devfreq)->lock |
drivers/gpu/drm/msm/adreno/a8xx_gpu.c gmu_read64() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 130209 |
| DATA_SOURCE | 0 | gmu | $0 |
| DATA_SOURCE | 1 | offset | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &df->lock | ||
| TYPE_LOCK | (struct msm_gpu_devfreq)->lock |
drivers/gpu/drm/msm/adreno/a8xx_gpu.c gmu_rmw() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 130112 |
| BUF_SIZE | 0 | gmu | 2384 |
| DATA_SOURCE | 0 | gmu | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &init_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gpu.c a6xx_gmu_get_timestamp() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129161 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &gpu->lock |
drivers/gpu/drm/msm/adreno/a6xx_gpu.c a6xx_gmu_get_timestamp() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129160 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &gpu->lock |
drivers/gpu/drm/msm/adreno/a6xx_gpu.c a6xx_gmu_get_timestamp() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129161 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &gpu->lock |
drivers/gpu/drm/msm/adreno/a6xx_gpu.c gmu_read64() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129092 |
| DATA_SOURCE | 0 | gmu | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &df->lock | ||
| TYPE_LOCK | (struct msm_gpu_devfreq)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gpu.c gmu_read64() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 129093 |
| DATA_SOURCE | 0 | gmu | $0 |
| DATA_SOURCE | 1 | offset | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &df->lock | ||
| TYPE_LOCK | (struct msm_gpu_devfreq)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gpu.c gmu_rmw() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 108672,129089 |
| BUF_SIZE | 0 | gmu | 2384 |
| DATA_SOURCE | 0 | gmu | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| HARD_MAX | 1 | offset | 129089 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &init_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gpu.c irq_poll_fence() -> gmu_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gmu | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 146197 |
| RX_PATH |