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_read() -> hl_get_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 0,6-9,19,22
PARAM_VALUE 3 value 195298570250117120,4554130325504462848,8919755710596476928
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 22
BIT_INFO 0 hdev->asic_prop.fw_app_cpu_boot_dev_sts0 0x4000000,0xffffffff
BIT_INFO 3 value 0x201040250040000,0x7fffd7effdff7000
BIT_INFO 3 value 0x201040250040000,0x7fffd7effdff7000
HARD_MAX 2 attr 22
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hdev unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/accel/habanalabs/common/hwmon.c hl_read() -> hl_get_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 1,7-10,20,23
PARAM_VALUE 3 value 195298570250117120,4554130325504462848,8919755710596476928
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
BIT_INFO 3 value 0x201040250040000,0x7fffd7effdff7000
BIT_INFO 3 value 0x201040250040000,0x7fffd7effdff7000
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hdev unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock