Defined in 1 files as a function:

Referenced in 18 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_7_ppt.c smu_v13_0_7_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0_0_ppt.c smu_v14_0_0_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu15/smu_v15_0_8_ppt.c smu_v15_0_8_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu15/smu_v15_0_8_ppt.c smu_v15_0_8_get_temp_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 1
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/../pm/swsmu/smu15/smu_v15_0_8_ppt.c smu_v15_0_8_get_temp_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 2
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/../pm/swsmu/smu13/aldebaran_ppt.c aldebaran_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0_2_ppt.c smu_v14_0_2_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_12_ppt.c smu_v13_0_12_get_temp_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 1-2
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
FUZZY_MAX 1 table_id 2
HARD_MAX 1 table_id 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/../pm/swsmu/smu11/arcturus_ppt.c arcturus_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_5_ppt.c smu_v13_0_5_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu12/renoir_ppt.c renoir_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c vangogh_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/../pm/swsmu/smu11/vangogh_ppt.c vangogh_get_gpu_metrics_v2_3() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/../pm/swsmu/smu11/vangogh_ppt.c vangogh_get_gpu_metrics_v2_4() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/../pm/swsmu/smu11/vangogh_ppt.c vangogh_get_legacy_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/../pm/swsmu/smu11/vangogh_ppt.c vangogh_get_legacy_gpu_metrics_v2_3() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/../pm/swsmu/smu13/yellow_carp_ppt.c yellow_carp_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/cyan_skillfish_ppt.c cyan_skillfish_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_4_ppt.c smu_v13_0_4_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c navi10_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/../pm/swsmu/smu11/navi10_ppt.c navi10_get_legacy_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/../pm/swsmu/smu11/navi10_ppt.c navi12_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/../pm/swsmu/smu11/navi10_ppt.c navi12_get_legacy_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/../pm/swsmu/smu15/smu_v15_0_0_ppt.c smu_v15_0_0_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.c sienna_cichlid_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_0_ppt.c smu_v13_0_0_get_gpu_metrics() -> smu_driver_table_update_cache_time()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 1 table_id 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex