Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thermal/sun8i_thermal.c sun50i_h6_ths_calibrate() -> (struct ths_thermal_chip)->calc_temp()

Type Parameter Key Value
PARAM_VALUE 0 tmdev 4096-ptr_max
PARAM_VALUE 0 tmdev->bus_clk 0,4096-ptr_max
PARAM_VALUE 0 tmdev->chip 4096-ptr_max
PARAM_VALUE 0 tmdev->chip->sensor_num 1-s32max
PARAM_VALUE 0 tmdev->dev 4096-ptr_max
PARAM_VALUE 0 tmdev->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 tmdev->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 tmdev->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 tmdev->mod_clk 0,4096-ptr_max
PARAM_VALUE 0 tmdev->mod_clk->core->dev->power.request 0-4
PARAM_VALUE 0 tmdev->mod_clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 tmdev->mod_clk->core->dev->power.runtime_status 0,2
PARAM_VALUE 0 tmdev->mod_clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 tmdev->mod_clk->core->duty.den 0-4294967295
PARAM_VALUE 0 tmdev->mod_clk->core->duty.num 0-4294967295
PARAM_VALUE 0 tmdev->mod_clk->core->enable_count 0-4294967295
PARAM_VALUE 0 tmdev->mod_clk->core->new_parent_index 0-254
PARAM_VALUE 0 tmdev->mod_clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 tmdev->mod_clk->core->num_parents 0-255
PARAM_VALUE 0 tmdev->mod_clk->core->orphan 0-1
PARAM_VALUE 0 tmdev->mod_clk->core->phase s32min-s32max
PARAM_VALUE 0 tmdev->mod_clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 tmdev->mod_clk->core->protect_count 0-4294967295
PARAM_VALUE 0 tmdev->mod_clk->core->rpm_enabled 0-1
PARAM_VALUE 0 tmdev->regmap 0-ptr_max
PARAM_VALUE 0 tmdev->reset 0,4096-ptr_max
PARAM_VALUE 0 tmdev->reset->acquired 0-1
PARAM_VALUE 0 tmdev->reset->array 0-1
PARAM_VALUE 0 tmdev->reset->rcdev 0-s64max
PARAM_VALUE 0 tmdev->reset->shared 0-1
PARAM_VALUE 0 tmdev->sram_regmap_field 0,4096-ptr_max
PARAM_VALUE 1 id 0-s32max
PARAM_VALUE 2 reg 0-4095
BUF_SIZE 0 tmdev->bus_clk (-1),1-s32max
BUF_SIZE 0 tmdev->dev 1616
BUF_SIZE 0 tmdev->mod_clk (-1),1-s32max
BUF_SIZE 0 tmdev->reset (-1),8,280
BUF_SIZE 0 tmdev->sram_regmap_field (-1),32
CAPPED_DATA 1 id 1
DATA_SOURCE 0 tmdev $0
CONTAINER 0 -48-0+0 $(-1)
PARAM_COMPARE 1 id < $0->chip->sensor_num
MEM_ZERO 0 tmdev
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tmdev->mod_clk->core->parent->req_rate

drivers/thermal/sun8i_thermal.c sun8i_ths_get_temp() -> (struct ths_thermal_chip)->calc_temp()

Type Parameter Key Value
PARAM_VALUE 0 tmdev 4096-ptr_max
PARAM_VALUE 0 tmdev->chip 4096-ptr_max
PARAM_VALUE 0 tmdev->regmap 4096-ptr_max
PARAM_VALUE 0 tmdev->regmap->lock 4096-ptr_max
PARAM_VALUE 0 tmdev->regmap->unlock 4096-ptr_max
PARAM_VALUE 0 *tmdev->regmap->cache->data 0-4294967295
PARAM_VALUE 2 reg s32min-(-1),1-s32max
CONTAINER 0 -48-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_zone_device)->lock