Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thermal/tegra/tegra30-tsensor.c tegra_tsensor_enable_hw_channel() -> tegra_tsensor_temp_to_counter()

Type Parameter Key Value
PARAM_VALUE 1 temp 25000-90000
BUF_SIZE 0 ts s32min-(-2),1-s32max
BUF_SIZE 0 ts s32min-(-2),1-s32max
DATA_SOURCE 0 ts $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ts unit_byte

drivers/thermal/tegra/tegra30-tsensor.c tegra_tsensor_enable_hw_channel() -> tegra_tsensor_temp_to_counter()

Type Parameter Key Value
PARAM_VALUE 0 ts 4096-ptr_max
PARAM_VALUE 1 temp 25000-90000
BUF_SIZE 0 ts s32min-(-2),1-s32max
BUF_SIZE 0 ts s32min-(-2),1-s32max
DATA_SOURCE 0 ts $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ts unit_byte

drivers/thermal/tegra/tegra30-tsensor.c tegra_tsensor_set_trips() -> tegra_tsensor_temp_to_counter()

Type Parameter Key Value
PARAM_VALUE 1 temp (-273998)-2147483646
DATA_SOURCE 1 temp $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct thermal_zone_device)->lock