Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_debugfs_pm_info_show() -> amdgpu_pm_get_access()

Type Parameter Key Value
BUF_SIZE 0 adev s32min-(-2),1-s32max
BUF_SIZE 0 adev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adev unit_array_size
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_distribute_custom_od_settings() -> amdgpu_pm_get_access()

Type Parameter Key Value
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_hwmon_set_fan1_enable() -> amdgpu_pm_get_access()

Type Parameter Key Value
BUF_SIZE 0 adev s32min-(-2),1-s32max
BUF_SIZE 0 adev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_hwmon_set_fan1_target() -> amdgpu_pm_get_access()

Type Parameter Key Value
BUF_SIZE 0 adev s32min-(-2),1-s32max
BUF_SIZE 0 adev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_hwmon_set_power_cap() -> amdgpu_pm_get_access()

Type Parameter Key Value
BUF_SIZE 0 adev s32min-(-2),1-s32max
BUF_SIZE 0 adev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_hwmon_set_pwm1() -> amdgpu_pm_get_access()

Type Parameter Key Value
BUF_SIZE 0 adev s32min-(-2),1-s32max
BUF_SIZE 0 adev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_hwmon_set_pwm1_enable() -> amdgpu_pm_get_access()

Type Parameter Key Value
BUF_SIZE 0 adev s32min-(-2),1-s32max
BUF_SIZE 0 adev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adev unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_apu_thermal_cap() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_pm_policy_attr() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_power_dpm_force_performance_level() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_power_dpm_state() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_pp_dpm_clock() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_pp_features() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_pp_force_state() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->pm.pp_force_state_enabled 0
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_pp_mclk_od() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_pp_od_clk_voltage() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_pp_power_profile_mode() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_pp_sclk_od() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_pp_table() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_smartshift_bias() -> amdgpu_pm_get_access()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev r drm_to_adev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex