Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_gt_freq.c power_profile_store() -> xe_guc_pc_set_power_profile()

Type Parameter Key Value
PARAM_VALUE 0 pc 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
BUF_SIZE 0 pc 200
DATA_SOURCE 0 pc r dev_to_pc
DATA_SOURCE 1 buf $2
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/xe/xe_guc_pc.c xe_guc_pc_start() -> xe_guc_pc_set_power_profile()

Type Parameter Key Value
PARAM_VALUE 0 pc 4096-ptr_max
PARAM_VALUE 0 pc->bo 4096-ptr_max
PARAM_VALUE 0 pc->bo->tile 4096-ptr_max
PARAM_VALUE 0 pc->freq_lock.dep_map->name 0-255
PARAM_VALUE 0 pc->freq_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 pc->freq_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 pc->freq_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 pc->freq_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 pc->freq_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 pc->freq_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 pc->freq_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 pc->freq_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 pc->freq_ready 1
PARAM_VALUE 1 buf 194686890008203264,444204974638276608,2734450594153414656
BUF_SIZE 1 buf 5,8,13
CAPPED_DATA 0 pc->user_requested_max 1
CAPPED_DATA 0 pc->user_requested_min 1
DATA_SOURCE 0 pc $0
RX_PATH
TASK_NOT_RUNNING