Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/thermal/qcom/tsens-8960.c, line 195
- drivers/thermal/qcom/tsens-v0_1.c
- drivers/thermal/qcom/tsens-v1.c, line 63
- drivers/thermal/qcom/tsens.c, line 179
Smatch caller information:
drivers/thermal/qcom/tsens-v1.c calibrate_v1() -> compute_intercept_slope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->has_watchdog | 1 |
| PARAM_VALUE | 0 | priv->feat->max_sensors | 11,16 |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| PARAM_VALUE | 0 | priv->num_sensors | 1-s32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->calibrate | 4301898136185430016,5604134493468979200,7533228021789581312,7542653629580705792,8595271795854016512,9055840467365462016 |
| PARAM_VALUE | 0 | priv->ops->get_temp | 5098298560260915200,6592009699394580480 |
| PARAM_VALUE | 0 | priv->ops->init | 487956791189434368,2619952721221677056,2866517025624170496,2993837563742519296,3047257125729923072,3889695473773899776,4854939784548319232,6537134833816178688 |
| PARAM_VALUE | 0 | priv->tm_offset | 0,4096 |
| PARAM_VALUE | 0 | *priv->dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | p1 | 6804492196479176704 |
| PARAM_VALUE | 2 | p2 | 4881130178981818368 |
| PARAM_VALUE | 3 | mode | 0-3 |
| BUF_SIZE | 0 | priv | 2784-s32max |
| BUF_SIZE | 0 | priv | 2784-s32max |
| BUF_SIZE | 0 | priv->dev | (-1),1616 |
| BUF_SIZE | 0 | priv->sensor | 40-s32max |
| BUF_SIZE | 1 | p1 | 40 |
| BUF_SIZE | 2 | p2 | 40 |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | mode | r tsens_read_calibration_legacy |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens.c tsens_calibrate_nvmem() -> compute_intercept_slope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->max_sensors | 11,16 |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| PARAM_VALUE | 0 | priv->num_sensors | 1-16 |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->calibrate | 4301898136185430016,5604134493468979200,7533228021789581312,7542653629580705792,8595271795854016512,9055840467365462016 |
| PARAM_VALUE | 0 | priv->ops->get_temp | 5098298560260915200,6592009699394580480 |
| PARAM_VALUE | 0 | priv->ops->init | 487956791189434368,2619952721221677056,2866517025624170496,2993837563742519296,3047257125729923072,3889695473773899776,4854939784548319232,6537134833816178688 |
| PARAM_VALUE | 1 | p1 | 7212445390715633664 |
| PARAM_VALUE | 2 | p2 | 3023538784876236800 |
| PARAM_VALUE | 3 | mode | 0-s32max |
| BUF_SIZE | 0 | priv | 2784-s32max |
| BUF_SIZE | 0 | priv | 2784-s32max |
| BUF_SIZE | 0 | priv->dev | (-1),1616 |
| BUF_SIZE | 0 | priv->sensor | 40-s32max |
| BUF_SIZE | 1 | p1 | 64 |
| BUF_SIZE | 2 | p2 | 64 |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | mode | r tsens_read_calibration |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens-8960.c calibrate_8960() -> compute_intercept_slope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->has_watchdog | 1 |
| PARAM_VALUE | 0 | priv->feat->max_sensors | 11,16 |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| PARAM_VALUE | 0 | priv->num_sensors | 1-s32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->calibrate | 4301898136185430016,5604134493468979200,7533228021789581312,7542653629580705792,8595271795854016512,9055840467365462016 |
| PARAM_VALUE | 0 | priv->ops->get_temp | 5098298560260915200,6592009699394580480 |
| PARAM_VALUE | 0 | priv->ops->init | 487956791189434368,2619952721221677056,2866517025624170496,2993837563742519296,3047257125729923072,3889695473773899776,4854939784548319232,6537134833816178688 |
| PARAM_VALUE | 0 | priv->tm_offset | 0,4096 |
| PARAM_VALUE | 0 | *priv->dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | p1 | 4096-ptr_max |
| PARAM_VALUE | 2 | p2 | 0 |
| PARAM_VALUE | 3 | mode | 1 |
| BUF_SIZE | 0 | priv | 2784-s32max |
| BUF_SIZE | 0 | priv | 2784-s32max |
| BUF_SIZE | 0 | priv->dev | (-1),1616 |
| BUF_SIZE | 0 | priv->sensor | 40-s32max |
| BUF_SIZE | 1 | p1 | 44 |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens-v0_1.c calibrate_8916() -> compute_intercept_slope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->has_watchdog | 1 |
| PARAM_VALUE | 0 | priv->feat->max_sensors | 11,16 |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| PARAM_VALUE | 0 | priv->num_sensors | 1-s32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->calibrate | 4301898136185430016,5604134493468979200,7533228021789581312,7542653629580705792,8595271795854016512,9055840467365462016 |
| PARAM_VALUE | 0 | priv->ops->get_temp | 5098298560260915200,6592009699394580480 |
| PARAM_VALUE | 0 | priv->ops->init | 487956791189434368,2619952721221677056,2866517025624170496,2993837563742519296,3047257125729923072,3889695473773899776,4854939784548319232,6537134833816178688 |
| PARAM_VALUE | 0 | priv->tm_offset | 0,4096 |
| PARAM_VALUE | 0 | *priv->dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | p1 | 7107637877791322112 |
| PARAM_VALUE | 2 | p2 | 8649330890757505024 |
| PARAM_VALUE | 3 | mode | 0-3 |
| BUF_SIZE | 0 | priv | 2784-s32max |
| BUF_SIZE | 0 | priv | 2784-s32max |
| BUF_SIZE | 0 | priv->dev | (-1),1616 |
| BUF_SIZE | 0 | priv->sensor | 40-s32max |
| BUF_SIZE | 1 | p1 | 20 |
| BUF_SIZE | 2 | p2 | 20 |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | mode | r tsens_read_calibration_legacy |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens-v0_1.c calibrate_8974() -> compute_intercept_slope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->has_watchdog | 1 |
| PARAM_VALUE | 0 | priv->feat->max_sensors | 11,16 |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| PARAM_VALUE | 0 | priv->num_sensors | 1-s32max |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->calibrate | 4301898136185430016,5604134493468979200,7533228021789581312,7542653629580705792,8595271795854016512,9055840467365462016 |
| PARAM_VALUE | 0 | priv->ops->get_temp | 5098298560260915200,6592009699394580480 |
| PARAM_VALUE | 0 | priv->ops->init | 487956791189434368,2619952721221677056,2866517025624170496,2993837563742519296,3047257125729923072,3889695473773899776,4854939784548319232,6537134833816178688 |
| PARAM_VALUE | 0 | priv->tm_offset | 0,4096 |
| PARAM_VALUE | 0 | *priv->dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | p1 | 733997861160960000 |
| PARAM_VALUE | 2 | p2 | 3732628392458121216 |
| PARAM_VALUE | 3 | mode | 0-3 |
| BUF_SIZE | 0 | priv | 2784-s32max |
| BUF_SIZE | 0 | priv | 2784-s32max |
| BUF_SIZE | 0 | priv->dev | (-1),1616 |
| BUF_SIZE | 0 | priv->sensor | 40-s32max |
| BUF_SIZE | 1 | p1 | 44 |
| BUF_SIZE | 2 | p2 | 44 |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens-v0_1.c calibrate_8974_nvmem() -> compute_intercept_slope()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->num_sensors | 1-16 |
| PARAM_VALUE | 0 | priv->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ops->calibrate | 4301898136185430016,5604134493468979200,7533228021789581312,7542653629580705792,8595271795854016512,9055840467365462016 |
| PARAM_VALUE | 0 | priv->ops->get_temp | 5098298560260915200,6592009699394580480 |
| PARAM_VALUE | 0 | priv->ops->init | 487956791189434368,2619952721221677056,2866517025624170496,2993837563742519296,3047257125729923072,3889695473773899776,4854939784548319232,6537134833816178688 |
| PARAM_VALUE | 1 | p1 | 5964353312399880192 |
| PARAM_VALUE | 1 | *p1 | 3 |
| PARAM_VALUE | 2 | p2 | 7788651459085778944 |
| PARAM_VALUE | 2 | *p2 | 3 |
| PARAM_VALUE | 3 | mode | 0-s32max |
| BUF_SIZE | 0 | priv | 2784-s32max |
| BUF_SIZE | 0 | priv | 2784-s32max |
| BUF_SIZE | 0 | priv->dev | (-1),1616 |
| BUF_SIZE | 0 | priv->sensor | 40-s32max |
| BUF_SIZE | 1 | p1 | 44 |
| BUF_SIZE | 2 | p2 | 44 |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | mode | r tsens_read_calibration |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |