Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thermal/qcom/tsens.c dbg_version_show() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/thermal/qcom/tsens.c get_temp_common() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/qcom/tsens.c init_common() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| 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 |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 0 | priv->tm_offset | 0x0,0x1000 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens.c init_common() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| 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 | 0 | priv->srot_map | (-1),1-s32max |
| BUF_SIZE | 0 | priv->tm_map | (-1),1-s32max |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 0 | priv->tm_offset | 0x0,0x1000 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens.c init_common() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| 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 | 0 | priv->srot_map | (-1),1-s32max |
| BUF_SIZE | 0 | priv->tm_map | (-1),1-s32max |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 0 | priv->tm_offset | 0x0,0x1000 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens.c init_common() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| 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 | 0 | priv->srot_map | (-1),1-s32max |
| BUF_SIZE | 0 | priv->tm_map | (-1),1-s32max |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 0 | priv->tm_offset | 0x0,0x1000 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens.c init_common() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| 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 | 0 | priv->srot_map | (-1),1-s32max |
| BUF_SIZE | 0 | priv->tm_map | (-1),1-s32max |
| CAPPED_DATA | 0 | priv->feat->max_sensors | 1 |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 0 | priv->tm_offset | 0x0,0x1000 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens.c init_common() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| 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 | 0 | priv->srot_map | (-1),1-s32max |
| BUF_SIZE | 0 | priv->tm_map | (-1),1-s32max |
| CAPPED_DATA | 0 | priv->feat->max_sensors | 1 |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 0 | priv->tm_offset | 0x0,0x1000 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens.c init_common() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| 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 | 0 | priv->srot_map | (-1),1-s32max |
| BUF_SIZE | 0 | priv->tm_map | (-1),1-s32max |
| CAPPED_DATA | 0 | priv->feat->max_sensors | 1 |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 0 | priv->tm_offset | 0x0,0x1000 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens.c tsens_critical_irq_thread() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat | 4096-ptr_max |
| DATA_SOURCE | 0 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/thermal/qcom/tsens.c tsens_enable_irq() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 1-5 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv->dev | (-1),1616 |
| BUF_SIZE | 0 | priv->sensor | (-1),40-s32max |
| BUF_SIZE | 0 | priv->srot_map | (-1),1-s32max |
| BUF_SIZE | 0 | priv->tm_map | (-1),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors | |
| UNITS | 0 | priv | unit_byte |
drivers/thermal/qcom/tsens.c tsens_irq_thread() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| DATA_SOURCE | 0 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/thermal/qcom/tsens.c tsens_read_irq_state() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| DATA_SOURCE | 0 | priv | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tz->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &priv->ul_lock |
drivers/thermal/qcom/tsens.c tsens_register() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| 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 |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors |
drivers/thermal/qcom/tsens.c tsens_register_irq() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| 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 |
| CAPPED_DATA | 0 | priv->dev->of_node | 1 |
| CAPPED_DATA | 0 | priv->num_sensors | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| STR_LEN | 0 | priv | 5,8 |
| STR_LEN | 0 | priv | 5,8 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->num_sensors | |
| NO_OVERFLOW_SIMPLE | 0 | priv->uplow_irq |
drivers/thermal/qcom/tsens.c tsens_reinit() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
drivers/thermal/qcom/tsens.c tsens_set_interrupt() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->feat->ver_major | 0-5 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tz->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &priv->ul_lock |
drivers/thermal/qcom/tsens.c tsens_set_trips() -> tsens_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |