Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_fan_read() -> xe_hwmon_fan_input_read()

Type Parameter Key Value
PARAM_VALUE 0 hwmon 4096-ptr_max
PARAM_VALUE 0 hwmon->xe 4096-ptr_max
PARAM_VALUE 0 hwmon->xe->drm.dev->power.request 0-4
PARAM_VALUE 0 hwmon->xe->drm.dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hwmon->xe->drm.dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 2 val 4554130325504462848,8919755710596476928
BUF_SIZE 0 hwmon s32min-(-2),1-s32max
BUF_SIZE 0 hwmon s32min-(-2),1-s32max
DATA_SOURCE 0 hwmon $0
DATA_SOURCE 1 channel $2
DATA_SOURCE 2 val $3
BIT_INFO 2 val 0x3b01040650051000,0x7ffbd7effddf7000
BIT_INFO 2 val 0x3b01040650051000,0x7ffbd7effddf7000
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hwmon unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_get_preregistration_info() -> xe_hwmon_fan_input_read()

Type Parameter Key Value
PARAM_VALUE 0 hwmon 4096-ptr_max
PARAM_VALUE 0 hwmon->hwmon_lock.dep_map->name 0-255
PARAM_VALUE 0 hwmon->hwmon_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hwmon->hwmon_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hwmon->hwmon_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hwmon->hwmon_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hwmon->pl1_on_boot 0
PARAM_VALUE 0 hwmon->pl2_on_boot 0
PARAM_VALUE 0 hwmon->xe 4096-ptr_max
PARAM_VALUE 0 hwmon->xe->devcoredump.lock.magic 4096-ptr_max
PARAM_VALUE 0 hwmon->xe->devres_group 4096-ptr_max
PARAM_VALUE 0 hwmon->xe->drm.client_sysrq_list.next 4096-ptr_max
PARAM_VALUE 0 hwmon->xe->drm.client_sysrq_list.prev 52697590577819648
PARAM_VALUE 0 hwmon->xe->drm.dev 4096-ptr_max
PARAM_VALUE 0 hwmon->xe->drm.driver 4096-ptr_max
PARAM_VALUE 0 hwmon->xe->drm.primary 4096-ptr_max
PARAM_VALUE 0 hwmon->xe->drm.registered 1
PARAM_VALUE 0 hwmon->xe->drm.unplugged 0
PARAM_VALUE 0 hwmon->xe->info.has_device_atomics_on_smem 1
PARAM_VALUE 0 hwmon->xe->info.has_soc_remapper_telem 0
PARAM_VALUE 0 hwmon->xe->info.has_sysctrl 0
PARAM_VALUE 0 hwmon->xe->info.is_dgfx 1
PARAM_VALUE 0 hwmon->xe->info.max_gt_per_tile 0-3
PARAM_VALUE 0 hwmon->xe->info.mem_region_mask 1
PARAM_VALUE 0 hwmon->xe->info.probe_display 0
PARAM_VALUE 0 hwmon->xe->info.tile_count 0-4
PARAM_VALUE 0 hwmon->xe->irq.enabled.counter 1
PARAM_VALUE 0 hwmon->xe->mem.sys_mgr.bdev 4096-ptr_max
PARAM_VALUE 0 hwmon->xe->mem.sys_mgr.func 6503104777259278336
PARAM_VALUE 0 hwmon->xe->mem.sys_mgr.size 0-4503599627370495
PARAM_VALUE 0 hwmon->xe->mem.sys_mgr.usage 0
PARAM_VALUE 0 hwmon->xe->mem.sys_mgr.use_tt 1
PARAM_VALUE 0 hwmon->xe->mem.sys_mgr.use_type 1
PARAM_VALUE 0 hwmon->xe->mmio.regs 4096-ptr_max
PARAM_VALUE 0 hwmon->xe->mmio.size 16777216-u64max
PARAM_VALUE 0 hwmon->xe->pat.n_entries 4-5,8,28,32
PARAM_VALUE 0 hwmon->xe->pat.ops 254094980546187264,2830922887130419200,3256432684774006784,7695917154883063808,8298202735792472064,8751657750042034176
PARAM_VALUE 0 hwmon->xe->pat.pat_ats 2316858623399878656,6279316616759611392
PARAM_VALUE 0 hwmon->xe->pat.pat_media_pta 4190119803127025664,5058557256907857920,9122553590073466880
PARAM_VALUE 0 hwmon->xe->pat.pat_primary_pta 1968072890826240000,4190119803127025664,9122553590073466880
PARAM_VALUE 0 hwmon->xe->pat.table 2206034722697752576,5363411222547865600,5537977698863906816,5688171875344830464,5943158666664808448,6168836338333003776,6838804483685605376
PARAM_VALUE 0 hwmon->xe->sriov.__mode 1-2
PARAM_VALUE 0 hwmon->xe->sriov.pf.driver_max_vfs 1-u16max
PARAM_VALUE 0 hwmon->xe->wa_active.oob_initialized 1
PARAM_VALUE 1 channel 0-2
PARAM_VALUE 2 val 8703854507588169728
BUF_SIZE 0 hwmon 1264
CAPPED_DATA 0 hwmon->xe->info.tile_count 1
CAPPED_DATA 0 hwmon->xe->mmio.size 1
CAPPED_DATA 1 channel 1
DATA_SOURCE 0 hwmon $0
FUZZY_MAX 1 channel 2
HARD_MAX 1 channel 2
MEM_ZERO 0 hwmon
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 hwmon->scl_shift_energy 0-s32max[c]
HOST_DATA 0 hwmon->scl_shift_power 0-s32max[c]
HOST_DATA 0 hwmon->scl_shift_time 0-s32max[c]
HALF_LOCKED2 &pool->lock