Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thermal/rockchip_thermal.c rk_tsadcv2_alarm_temp() -> rk_tsadcv2_temp_to_code()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 temp s32min-2147483646
DATA_SOURCE 0 table $0
DATA_SOURCE 1 temp $3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/rockchip_thermal.c rk_tsadcv2_get_trim_code() -> rk_tsadcv2_temp_to_code()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
DATA_SOURCE 0 table $0
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/rockchip_thermal.c rk_tsadcv2_tshut_temp() -> rk_tsadcv2_temp_to_code()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 temp s32min-180000
CAPPED_DATA 1 temp 1
DATA_SOURCE 0 table $0
DATA_SOURCE 1 temp $3
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/rockchip_thermal.c rk_tsadcv3_alarm_temp() -> rk_tsadcv2_temp_to_code()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 temp s32min-2147483646
DATA_SOURCE 0 table $0
DATA_SOURCE 1 temp $3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/rockchip_thermal.c rk_tsadcv3_tshut_temp() -> rk_tsadcv2_temp_to_code()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 temp s32min-180000
CAPPED_DATA 1 temp 1
DATA_SOURCE 0 table $0
DATA_SOURCE 1 temp $3
RX_PATH
TASK_NOT_RUNNING