Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/thermal/thermal_core.c, line 1582 (as a function)
- include/linux/thermal.h, line 374 (as a function)
Referenced in 6 files:
- drivers/thermal/intel/int340x_thermal/int3400_thermal.c, line 468
- drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c, line 63
- drivers/thermal/intel/intel_pch_thermal.c, line 132
- drivers/thermal/mediatek/lvts_thermal.c
- drivers/thermal/thermal_core.c, line 1586
- drivers/thermal/ti-soc-thermal/ti-thermal-common.c, line 49
Smatch caller information:
drivers/thermal/ti-soc-thermal/ti-thermal-common.c ti_thermal_work() -> thermal_zone_device_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tzd | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c int340x_thermal_critical() -> thermal_zone_device_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tzd | 4096-ptr_max |
| BUF_SIZE | 0 | tzd | (-1)-1,3-6,8,14,16,18,30,33,41,96,248,1296,2576-s32max |
| BUF_SIZE | 0 | tzd | (-1)-1,3-6,8,14,16,18,30,33,41,96,248,1296,2576-s32max |
| BUF_SIZE | 0 | tzd->devdata | (-1),8,16,24,32,40,48,96,104,112,136,200,216,232,256,320,376,392,1232,1616,2248 |
| CAPPED_DATA | 0 | tzd->temperature | 1 |
| DATA_SOURCE | 0 | tzd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tzd->num_trips | |
| LOCK2 | 0 | &tzd->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/intel/int340x_thermal/int3400_thermal.c int3400_notify() -> thermal_zone_device_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/thermal/intel/intel_pch_thermal.c pch_critical() -> thermal_zone_device_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tzd | 4096-ptr_max |
| BUF_SIZE | 0 | tzd | (-1)-1,3-6,8,14,16,18,30,33,41,96,248,1296,2576-s32max |
| BUF_SIZE | 0 | tzd | (-1)-1,3-6,8,14,16,18,30,33,41,96,248,1296,2576-s32max |
| BUF_SIZE | 0 | tzd->devdata | (-1),8,16,24,32,40,48,96,104,112,136,200,216,232,256,320,376,392,1232,1616,2248 |
| CAPPED_DATA | 0 | tzd->temperature | 1 |
| DATA_SOURCE | 0 | tzd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tzd->num_trips | |
| LOCK2 | 0 | &tzd->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/mediatek/lvts_thermal.c lvts_set_trips() -> thermal_zone_device_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tzd | 4096-ptr_max |
| BUF_SIZE | 0 | tzd | s32min,(-1)-s32max |
| BUF_SIZE | 0 | tzd | s32min,(-1)-s32max |
| BUF_SIZE | 0 | tzd->devdata | (-1),8,16,24,32,40,48,96,104,112,136,200,216,232,256,320,376,392,1232,1616 |
| CAPPED_DATA | 0 | tzd->last_temperature | 1 |
| CAPPED_DATA | 0 | tzd->prev_low_trip | 1 |
| CAPPED_DATA | 0 | tzd->temperature | 1 |
| DATA_SOURCE | 0 | tzd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tzd->num_trips | |
| LOCK2 | 0 | &tzd->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/mediatek/lvts_thermal.c lvts_set_trips() -> thermal_zone_device_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tzd | 4096-ptr_max |
| BUF_SIZE | 0 | tzd | s32min,(-1)-s32max |
| BUF_SIZE | 0 | tzd | s32min,(-1)-s32max |
| BUF_SIZE | 0 | tzd->devdata | (-1),8,16,24,32,40,48,96,104,112,136,200,216,232,256,320,376,392,1232,1616 |
| CAPPED_DATA | 0 | tzd->last_temperature | 1 |
| CAPPED_DATA | 0 | tzd->prev_low_trip | 1 |
| CAPPED_DATA | 0 | tzd->temperature | 1 |
| DATA_SOURCE | 0 | tzd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tzd->num_trips | |
| LOCK2 | 0 | &tzd->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |