Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/accel/habanalabs/common/hwmon.c hl_write() -> hl_set_temperature()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->device_fini_pending 0
PARAM_VALUE 0 hdev->disabled 0
PARAM_VALUE 0 hdev->reset_info.in_reset 0
PARAM_VALUE 0 hdev->reset_info.needs_reset 0
PARAM_VALUE 2 attr 19,23
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
DATA_SOURCE 1 sensor_index $3
DATA_SOURCE 3 value $4
FUZZY_MAX 2 attr 23
BIT_INFO 0 hdev->asic_prop.fw_app_cpu_boot_dev_sts0 0x4000000,0xffffffff
BIT_INFO 2 attr 0x13,0x17
HARD_MAX 2 attr 23
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 value s64min-s64max
UNITS 0 hdev 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/accel/habanalabs/common/hwmon.c hl_write() -> hl_set_temperature()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->device_fini_pending 0
PARAM_VALUE 0 hdev->disabled 0
PARAM_VALUE 0 hdev->reset_info.in_reset 0
PARAM_VALUE 0 hdev->reset_info.needs_reset 0
PARAM_VALUE 2 attr 20,24
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
DATA_SOURCE 1 sensor_index $3
DATA_SOURCE 3 value $4
BIT_INFO 0 hdev->asic_prop.fw_app_cpu_boot_dev_sts0 0x0,0xfbffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 value s64min-s64max
UNITS 0 hdev unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex