Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thermal/sprd_thermal.c sprd_thm_probe() -> sprd_thm_sensor_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | thm | 4096-ptr_max |
| PARAM_VALUE | 0 | thm->base | 4096-ptr_max |
| PARAM_VALUE | 0 | thm->clk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | thm->nr_sensors | 1-8 |
| PARAM_VALUE | 0 | thm->ratio_sign | (-1),1 |
| PARAM_VALUE | 0 | thm->sensor | 0 |
| PARAM_VALUE | 0 | thm->var_data | 1-u64max |
| PARAM_VALUE | 1 | sen | 4096-ptr_max |
| PARAM_VALUE | 1 | sen->data | 4096-ptr_max |
| PARAM_VALUE | 1 | sen->data->base | 4096-ptr_max |
| PARAM_VALUE | 1 | sen->data->clk | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sen->data->nr_sensors | 1-8 |
| PARAM_VALUE | 1 | sen->data->ratio_sign | (-1),1 |
| PARAM_VALUE | 1 | sen->data->var_data | 1-u64max |
| PARAM_VALUE | 1 | sen->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | sen->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | sen->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | sen->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | sen->tzd | 0 |
| BUF_SIZE | 0 | thm | 104 |
| BUF_SIZE | 0 | thm->clk | (-1),1-s32max |
| BUF_SIZE | 1 | sen | 40 |
| BUF_SIZE | 1 | sen->data | 104 |
| BUF_SIZE | 1 | sen->dev | 1616 |
| DATA_SOURCE | 0 | thm | r devm_kzalloc |
| DATA_SOURCE | 1 | sen | r devm_kzalloc |
| FUZZY_MAX | 0 | thm->nr_sensors | 8 |
| FUZZY_MAX | 0 | thm->ratio_sign | 1 |
| BIT_INFO | 0 | thm->nr_sensors | 0x0,0x7fffffff |
| BIT_INFO | 0 | thm->ratio_sign | 0x1,0xffffffffffffffff |
| HARD_MAX | 0 | thm->nr_sensors | 8 |
| HARD_MAX | 0 | thm->ratio_sign | 1 |
| MEM_ZERO | 0 | thm | |
| MEM_ZERO | 1 | sen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | sen->tzd->governor->bind_to_tz | |
| NO_OVERFLOW_SIMPLE | 1 | sen->tzd->num_trips |