Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_late_bind_fw.c xe_late_bind_fw_num_fans() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 6046410456684740608
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
DATA_SOURCE 2 val $1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_device_sysfs.c auto_link_downgrade_status_show() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 639717542324023296
PARAM_VALUE 2 *val 0
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
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_device_sysfs.c late_bind_attr_is_visible() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 6848292816372465664
PARAM_VALUE 2 *val 0
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_device_sysfs.c lb_fan_control_version_show() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 8917824947502120960
PARAM_VALUE 2 *val 0
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
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_device_sysfs.c lb_fan_control_version_show() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 0 tile->pcode.lock.dep_map->name 0-255
PARAM_VALUE 0 tile->pcode.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tile->pcode.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tile->pcode.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 tile->pcode.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tile->xe 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 1453331671835049984
PARAM_VALUE 2 *val 1
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
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_device_sysfs.c lb_fan_control_version_show() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 0 tile->pcode.lock.dep_map->name 0-255
PARAM_VALUE 0 tile->pcode.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tile->pcode.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tile->pcode.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 tile->pcode.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tile->xe 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 1879045066357178368
PARAM_VALUE 2 *val 1
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
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_device_sysfs.c lb_voltage_regulator_version_show() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 6227945979163664384
PARAM_VALUE 2 *val 0
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
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_device_sysfs.c lb_voltage_regulator_version_show() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 0 tile->pcode.lock.dep_map->name 0-255
PARAM_VALUE 0 tile->pcode.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tile->pcode.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tile->pcode.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 tile->pcode.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tile->xe 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 3266529013329596416
PARAM_VALUE 2 *val 2
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
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_device_sysfs.c lb_voltage_regulator_version_show() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 0 tile->pcode.lock.dep_map->name 0-255
PARAM_VALUE 0 tile->pcode.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tile->pcode.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tile->pcode.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 tile->pcode.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tile->xe 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 6636126732305469440
PARAM_VALUE 2 *val 2
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
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_vram_freq.c max_freq_show() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 2 val 5831046775392178176
PARAM_VALUE 2 *val 0
PARAM_VALUE 3 val1 0
DATA_SOURCE 0 tile r dev_to_tile
BIT_INFO 1 mbox 0x0,0xffffff
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_vram_freq.c min_freq_show() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 2 val 3061136196213342208
PARAM_VALUE 2 *val 0
PARAM_VALUE 3 val1 0
DATA_SOURCE 0 tile r dev_to_tile
BIT_INFO 1 mbox 0x0,0xffffff
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_hwmon.c get_mc_temp() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 4096-ptr_max
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/gpu/drm/xe/xe_hwmon.c get_pcie_temp() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 5793955965654654976
PARAM_VALUE 2 *val 0
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_pcode_read_fan_control() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 4019149382100221952
PARAM_VALUE 2 *val 0
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
DATA_SOURCE 2 val $2
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_pcode_read_i1() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 2777387610550771712,7409125407737368576,8689677665600966656
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
DATA_SOURCE 2 val $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 *val 0-u32max
HALF_LOCKED2 &hwmon->hwmon_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_pcode_read_power_limit() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 6480578818697834496
PARAM_VALUE 2 *val 0
PARAM_VALUE 3 val1 5451019739961610240
PARAM_VALUE 3 *val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hwmon->hwmon_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_pcode_read_thermal_info() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
BUF_SIZE 2 val 8
DATA_SOURCE 0 tile r xe_device_get_root_tile
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_pcode_read_thermal_info() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 0 tile->pcode.lock.dep_map->name 0-255
PARAM_VALUE 0 tile->pcode.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tile->pcode.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tile->pcode.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 tile->pcode.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tile->xe 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 1376374284653789184
PARAM_VALUE 2 *val 0
PARAM_VALUE 3 val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_pcode_rmw_power_limit() -> xe_pcode_read()

Type Parameter Key Value
PARAM_VALUE 0 tile 4096-ptr_max
PARAM_VALUE 1 mbox 0-16777215
PARAM_VALUE 2 val 1485002609228660736
PARAM_VALUE 2 *val 0
PARAM_VALUE 3 val1 7555463061970882560
PARAM_VALUE 3 *val1 0
BUF_SIZE 0 tile 1216
BUF_SIZE 0 tile 1216
DATA_SOURCE 0 tile r xe_device_get_root_tile
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hwmon->hwmon_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock