Defined in 2 files as a function:
- drivers/gpu/drm/xe/xe_gt_idle.c, line 51 (as a function)
- drivers/gpu/drm/xe/xe_guc_pc.c, line 123 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_gt_idle.c idle_residency_ms_show() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| BUF_SIZE | 0 | pc | 200 |
| DATA_SOURCE | 0 | pc | r gtidle_to_pc |
| 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_gt_idle.c idle_status_show() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| BUF_SIZE | 0 | pc | 200 |
| DATA_SOURCE | 0 | pc | r gtidle_to_pc |
| 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_gt_idle.c name_show() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| BUF_SIZE | 0 | pc | 200 |
| DATA_SOURCE | 0 | pc | r gtidle_to_pc |
| 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 mtl_init_fused_rp_values() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_guc_pc.c pc_action_query_task_state() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &pc->freq_lock |
drivers/gpu/drm/xe/xe_guc_pc.c pc_action_reset() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_guc_pc.c pc_action_set_param() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| BUF_SIZE | 0 | pc | (-1),200 |
| BUF_SIZE | 0 | pc | (-1),200 |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &pc->freq_lock |
drivers/gpu/drm/xe/xe_guc_pc.c pc_action_unset_param() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
drivers/gpu/drm/xe/xe_guc_pc.c pc_get_max_freq() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &pc->freq_lock |
drivers/gpu/drm/xe/xe_guc_pc.c pc_get_min_freq() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &pc->freq_lock |
drivers/gpu/drm/xe/xe_guc_pc.c pc_get_state_string() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/xe/xe_guc_pc.c pc_modify_defaults() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_guc_pc.c pc_needs_min_freq_change() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &pc->freq_lock | |
| TYPE_LOCK | (struct xe_guc_pc)->freq_lock |
drivers/gpu/drm/xe/xe_guc_pc.c tgl_init_fused_rp_values() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_guc_pc.c wait_for_pc_state() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &pc->freq_lock |
drivers/gpu/drm/xe/xe_guc_pc.c wait_for_pc_state() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &pc->freq_lock |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_action_set_param() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | pc | $0 |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_action_unset_param() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | pc | $0 |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_fini_hw() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | pc | $0 |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_get_rpe_freq() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| BUF_SIZE | 0 | pc | (-1),200 |
| BUF_SIZE | 0 | pc | (-1),200 |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &pc->freq_lock |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_print() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_print() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_print() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_print() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_print() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_print() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_print() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_print() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_restore_stashed_freq() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_restore_stashed_freq() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_set_power_profile() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| BUF_SIZE | 0 | pc | (-1),200 |
| BUF_SIZE | 0 | pc | (-1),200 |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_start() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_start() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_stop() -> pc_to_xe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | pc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |