Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c rps_boost_show() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
BUF_SIZE 0 rps 632
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/i915/i915_debugfs.c i915_rps_boost_info() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
BUF_SIZE 0 rps 632
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c guc_wait_ucode() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 __flags
HALF_LOCKED2 &gt->reset.mutex

drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c guc_wait_ucode() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 __flags
HALF_LOCKED2 &gt->reset.mutex

drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c guc_wait_ucode() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 __flags
HALF_LOCKED2 &gt->reset.mutex

drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c guc_wait_ucode() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 __flags
HALF_LOCKED2 &gt->reset.mutex

drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c guc_wait_ucode() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 __flags
HALF_LOCKED2 &gt->reset.mutex

drivers/gpu/drm/i915/gt/uc/intel_huc.c intel_huc_wait_for_auth_complete() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gt/uc/intel_huc.c intel_huc_wait_for_auth_complete() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gt/uc/intel_huc.c intel_huc_wait_for_auth_complete() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gt/uc/intel_huc.c intel_huc_wait_for_auth_complete() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c __act_freq_mhz_show() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
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/i915/gt/intel_rps.c __rps_down_interrupt() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
PARAM_VALUE 0 rps->ei.ktime 0
PARAM_VALUE 0 rps->ei.media_c0 0
PARAM_VALUE 0 rps->ei.render_c0 0
PARAM_VALUE 0 rps->lock.dep_map->name 0-255
PARAM_VALUE 0 rps->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rps->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rps->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 rps->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rps->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rps->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rps->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rps->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rps->pm_events 1-u32max
PARAM_VALUE 0 rps->pm_iir 0
PARAM_VALUE 0 rps->work.func 2109422471597981696
PARAM_VALUE 0 rps->work.lockdep_map->name 0-255
BUF_SIZE 0 rps 632
CAPPED_DATA 0 rps->last_freq 1
CAPPED_DATA 0 rps->max_freq 1
CAPPED_DATA 0 rps->max_freq_softlimit 1
DATA_SOURCE 0 rps $0
PARAM_COMPARE 0 rps->cur_freq != $0->last_freq
PARAM_COMPARE 0 rps->cur_freq != $0->max_freq
PARAM_COMPARE 0 rps->last_freq == $0->max_freq
BIT_INFO 0 rps->pm_events 0x10,0xffffffffffffffff
MEM_ZERO 0 &rps->ei

drivers/gpu/drm/i915/gt/intel_rps.c __rps_up_interrupt() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
PARAM_VALUE 0 rps->ei.ktime 0
PARAM_VALUE 0 rps->ei.media_c0 0
PARAM_VALUE 0 rps->ei.render_c0 0
PARAM_VALUE 0 rps->lock.dep_map->name 0-255
PARAM_VALUE 0 rps->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rps->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rps->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 rps->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rps->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rps->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rps->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rps->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rps->pm_events 1-u32max
PARAM_VALUE 0 rps->pm_iir 0
PARAM_VALUE 0 rps->work.func 2109422471597981696
PARAM_VALUE 0 rps->work.lockdep_map->name 0-255
BUF_SIZE 0 rps 632
CAPPED_DATA 0 rps->last_freq 1
CAPPED_DATA 0 rps->max_freq_softlimit 1
CAPPED_DATA 0 rps->min_freq 1
DATA_SOURCE 0 rps $0
PARAM_COMPARE 0 rps->cur_freq != $0->last_freq
PARAM_COMPARE 0 rps->cur_freq != $0->min_freq
PARAM_COMPARE 0 rps->last_freq == $0->min_freq
BIT_INFO 0 rps->pm_events 0x20,0xffffffffffffffff
MEM_ZERO 0 &rps->ei

drivers/gpu/drm/i915/gt/intel_rps.c max_granted_freq() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
BUF_SIZE 0 rps 632
DATA_SOURCE 0 rps $1

drivers/gpu/drm/i915/gt/intel_rps.c measure_power_at_freq() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max

drivers/gpu/drm/i915/gt/intel_rps.c rps_frequency_dump() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
BUF_SIZE 0 rps 632
DATA_SOURCE 0 rps $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/i915/gt/intel_rps.c slpc_frequency_dump() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
BUF_SIZE 0 rps 632
DATA_SOURCE 0 rps $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/i915/gt/intel_rps.c slpc_measure_power() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
DATA_SOURCE 0 rps $0

drivers/gpu/drm/i915/gt/intel_rps.c vary_max_freq() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
BUF_SIZE 0 rps 632
DATA_SOURCE 0 rps $1

drivers/gpu/drm/i915/gt/intel_rps.c vary_min_freq() -> intel_rps_read_actual_frequency()

Type Parameter Key Value
PARAM_VALUE 0 rps 4096-ptr_max
BUF_SIZE 0 rps 632
DATA_SOURCE 0 rps $1