Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/gpu/drm/msm/adreno/a5xx_gpu.c a5xx_hw_init() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 3328
PARAM_VALUE 2 mask 0
PARAM_VALUE 3 or 256
DATA_SOURCE 0 gpu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 gpu->crashstate->rbbm_status 0-u32max
NO_OVERFLOW_SIMPLE 0 gpu->crashstate->nr_vm_logs
HALF_LOCKED2 &init_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &gpu->lock

drivers/gpu/drm/msm/adreno/a5xx_gpu.c a5xx_hw_init() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 3268
PARAM_VALUE 2 mask 0
PARAM_VALUE 3 or 512
DATA_SOURCE 0 gpu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 gpu->crashstate->rbbm_status 0-u32max
NO_OVERFLOW_SIMPLE 0 gpu->crashstate->nr_vm_logs
HALF_LOCKED2 &init_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &gpu->lock

drivers/gpu/drm/msm/adreno/a5xx_gpu.c a5xx_hw_init() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 3268
PARAM_VALUE 2 mask 2048
PARAM_VALUE 3 or 0
DATA_SOURCE 0 gpu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 gpu->crashstate->rbbm_status 0-u32max
NO_OVERFLOW_SIMPLE 0 gpu->crashstate->nr_vm_logs
HALF_LOCKED2 &init_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &gpu->lock

drivers/gpu/drm/msm/adreno/a5xx_gpu.c a5xx_hw_init() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 3680
PARAM_VALUE 2 mask 0
PARAM_VALUE 3 or 1024
DATA_SOURCE 0 gpu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 gpu->crashstate->rbbm_status 0-u32max
NO_OVERFLOW_SIMPLE 0 gpu->crashstate->nr_vm_logs
HALF_LOCKED2 &init_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &gpu->lock

drivers/gpu/drm/msm/adreno/a5xx_gpu.c a5xx_hw_init() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 3680
PARAM_VALUE 2 mask 0
PARAM_VALUE 3 or 8388608
DATA_SOURCE 0 gpu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 gpu->crashstate->rbbm_status 0-u32max
NO_OVERFLOW_SIMPLE 0 gpu->crashstate->nr_vm_logs
HALF_LOCKED2 &init_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &gpu->lock

drivers/gpu/drm/msm/adreno/a5xx_gpu.c a5xx_hw_init() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 3588
PARAM_VALUE 2 mask 262144
PARAM_VALUE 3 or 0
DATA_SOURCE 0 gpu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 gpu->crashstate->rbbm_status 0-u32max
NO_OVERFLOW_SIMPLE 0 gpu->crashstate->nr_vm_logs
HALF_LOCKED2 &init_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &gpu->lock

drivers/gpu/drm/msm/adreno/a5xx_gpu.c a5xx_pm_resume() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 103
PARAM_VALUE 2 mask 255
PARAM_VALUE 3 or 0
CAPPED_DATA 0 gpu->nr_clocks 1
DATA_SOURCE 0 gpu $0
NOCHECK_CALL
HOST_DATA 0 gpu->crashstate->rbbm_status 0-u32max
HOST_DATA 0 gpu->devfreq.busy_cycles 0-u64max[c]
NO_OVERFLOW_SIMPLE 0 gpu->crashstate->nr_vm_logs
NO_OVERFLOW_SIMPLE 0 gpu->rbbmtimer_clk->core->parent->req_rate
HALF_LOCKED2 0 &gpu->lock

drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_fw_start() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 15360
PARAM_VALUE 2 mask 3758096384
PARAM_VALUE 3 or 0,536870912-3758096384
BUF_SIZE 0 gpu 1552
BIT_INFO 3 or 0x0,0xe0000000
NOCHECK_CALL
LOCK2 &a6xx_gpu->gmu.lock
HALF_LOCKED2 &gpu->lock
TYPE_LOCK (struct a6xx_gmu)->lock

drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a7xx_get_indexed_registers() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 2113
PARAM_VALUE 2 mask 0
PARAM_VALUE 3 or 4
CAPPED_DATA 0 gpu->nr_rings 1
DATA_SOURCE 0 gpu $0
STR_LEN 0 gpu (-1),7,11
STR_LEN 0 gpu (-1),7,11
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &gpu->lock
TYPE_LOCK (struct msm_gpu)->lock

drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a7xx_get_indexed_registers() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 2778
PARAM_VALUE 2 mask 0
PARAM_VALUE 3 or 4
CAPPED_DATA 0 gpu->nr_rings 1
DATA_SOURCE 0 gpu $0
STR_LEN 0 gpu (-1),7,11
STR_LEN 0 gpu (-1),7,11
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &gpu->lock
TYPE_LOCK (struct msm_gpu)->lock

drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a7xx_get_indexed_registers() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 2113
PARAM_VALUE 2 mask 4
PARAM_VALUE 3 or 0
CAPPED_DATA 0 gpu->nr_rings 1
DATA_SOURCE 0 gpu $0
STR_LEN 0 gpu (-1),7,11
STR_LEN 0 gpu (-1),7,11
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &gpu->lock
TYPE_LOCK (struct msm_gpu)->lock

drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a7xx_get_indexed_registers() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 2778
PARAM_VALUE 2 mask 4
PARAM_VALUE 3 or 0
CAPPED_DATA 0 gpu->nr_rings 1
DATA_SOURCE 0 gpu $0
STR_LEN 0 gpu (-1),7,11
STR_LEN 0 gpu (-1),7,11
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &gpu->lock
TYPE_LOCK (struct msm_gpu)->lock

drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a7xx_get_shader_block() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 44657
PARAM_VALUE 2 mask 3
PARAM_VALUE 3 or 3
CAPPED_DATA 0 gpu->nr_rings 1
CAPPED_DATA 0 gpu->vm 1
DATA_SOURCE 0 gpu $0
STR_LEN 0 gpu (-1),7,11
STR_LEN 0 gpu (-1),7,11
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &gpu->lock
TYPE_LOCK (struct msm_gpu)->lock

drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a7xx_get_shader_block() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 44657
PARAM_VALUE 2 mask 3
PARAM_VALUE 3 or 0
CAPPED_DATA 0 gpu->nr_rings 1
CAPPED_DATA 0 gpu->vm 1
DATA_SOURCE 0 gpu $0
STR_LEN 0 gpu (-1),7,11
STR_LEN 0 gpu (-1),7,11
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &gpu->lock
TYPE_LOCK (struct msm_gpu)->lock

drivers/gpu/drm/msm/adreno/a8xx_gpu.c a8xx_set_hwcg() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 15360
PARAM_VALUE 2 mask 1
PARAM_VALUE 3 or 0
CAPPED_DATA 0 gpu->nr_rings 1
DATA_SOURCE 0 gpu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 gpu->crashstate->rbbm_status 0-u32max
NO_OVERFLOW_SIMPLE 0 gpu->crashstate->nr_vm_logs
LOCK2 &a6xx_gpu->gmu.lock
HALF_LOCKED2 &init_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &gpu->lock
TYPE_LOCK (struct a6xx_gmu)->lock

drivers/gpu/drm/msm/adreno/a6xx_gpu.c a6xx_llc_activate() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 15361
PARAM_VALUE 2 mask 32000
PARAM_VALUE 3 or 256,1280-32000
BUF_SIZE 0 gpu 1552
BIT_INFO 3 or 0x100,0x7d00
NOCHECK_CALL
HALF_LOCKED2 &gpu->lock

drivers/gpu/drm/msm/adreno/a6xx_gpu.c a6xx_llc_activate() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 15362
PARAM_VALUE 2 mask 33554431
PARAM_VALUE 3 or 1-u32max
BUF_SIZE 0 gpu 1552
BIT_INFO 3 or 0x0,0x1ffffff
NOCHECK_CALL
HALF_LOCKED2 &gpu->lock

drivers/gpu/drm/msm/adreno/a6xx_gpu.c hw_init() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 36392
PARAM_VALUE 2 mask 524288
PARAM_VALUE 3 or 524288
DATA_SOURCE 0 gpu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 gpu->crashstate->rbbm_status 0-u32max
NO_OVERFLOW_SIMPLE 0 gpu->crashstate->nr_vm_logs
LOCK2 &a6xx_gpu->gmu.lock
HALF_LOCKED2 &init_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &gpu->lock
TYPE_LOCK (struct a6xx_gmu)->lock

drivers/gpu/drm/msm/adreno/a6xx_gpu.c hw_init() -> gpu_rmw()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 1 reg 36392
PARAM_VALUE 2 mask 2048
PARAM_VALUE 3 or 2048
DATA_SOURCE 0 gpu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 gpu->crashstate->rbbm_status 0-u32max
NO_OVERFLOW_SIMPLE 0 gpu->crashstate->nr_vm_logs
LOCK2 &a6xx_gpu->gmu.lock
HALF_LOCKED2 &init_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &gpu->lock
TYPE_LOCK (struct a6xx_gmu)->lock