Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_debugfs.c read_residency_counter() -> xe_pmt_telem_read()

Type Parameter Key Value
PARAM_VALUE 0 dev->power.request 0-4
PARAM_VALUE 0 dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 2 data 222208017140326400
PARAM_VALUE 2 *data 0
PARAM_VALUE 4 count 8
DATA_SOURCE 3 user_offset $2
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 guid 0-u32max
UNITS 0 dev unit_byte
UNITS 4 count unit_byte
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_energy_get() -> xe_pmt_telem_read()

Type Parameter Key Value
PARAM_VALUE 0 dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 2 data 9069739726202490880
PARAM_VALUE 3 user_offset 48
PARAM_VALUE 4 count 8
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 guid 0-u32max
UNITS 0 dev unit_byte
UNITS 4 count unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/gpu/drm/xe/xe_pcode.c xe_get_pcode_version() -> xe_pmt_telem_read()

Type Parameter Key Value
PARAM_VALUE 0 dev->power.request 0-4
PARAM_VALUE 0 dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 2 data 5223464667697295360
PARAM_VALUE 3 user_offset 160
PARAM_VALUE 4 count 8
DATA_SOURCE 2 data $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 guid 0-u32max
UNITS 0 dev unit_byte
UNITS 4 count unit_byte
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/platform/x86/intel/pmt/class.c pmt_telem_read_mmio() -> (struct pmt_callbacks)->read_telem()

Type Parameter Key Value
PARAM_VALUE 2 data 1-u64max
PARAM_VALUE 3 user_offset 0-s64max
PARAM_VALUE 4 count 1-4096
CAPPED_DATA 3 user_offset 1
CAPPED_DATA 3 user_offset 1
CAPPED_DATA 4 count 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 guid $2
DATA_SOURCE 2 data $3
DATA_SOURCE 3 user_offset $5
DATA_SOURCE 4 count $6
NOSPEC 3 user_offset
NOSPEC 3 user_offset
NOSPEC 4 count
NOSPEC 4 count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 user_offset 1-4095[c]
USER_DATA 4 count 1-4096[c]
BYTE_COUNT 2 ==data4 8050
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &s->lock