Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/acpi/thermal.c, line 317
- drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c, line 227
- drivers/thermal/thermal_core.c, line 501
- drivers/thermal/thermal_sysfs.c, line 131
Smatch caller information:
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c int340x_update_one_trip() -> thermal_zone_set_trip_temp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | trip | 4096-ptr_max |
| PARAM_VALUE | 2 | temp | (-274000),(-273150),(-55150)-174850 |
| DATA_SOURCE | 1 | trip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mvm->mutex | ||
| HALF_LOCKED2 | &tz->lock |
drivers/acpi/thermal.c acpi_thermal_adjust_trip() -> thermal_zone_set_trip_temp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | trip | 4096-ptr_max |
| PARAM_VALUE | 1 | trip->priv | 4096-ptr_max |
| PARAM_VALUE | 2 | temp | (-274000),1-s32max |
| DATA_SOURCE | 1 | trip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mvm->mutex | ||
| HALF_LOCKED2 | &tz->lock |
drivers/thermal/thermal_sysfs.c trip_point_temp_store() -> thermal_zone_set_trip_temp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tz | 4096-ptr_max |
| PARAM_VALUE | 0 | tz->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tz->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | trip | 4096-ptr_max |
| PARAM_VALUE | 2 | temp | (-2147483647)-s32max |
| BUF_SIZE | 1 | trip | 24 |
| PARAM_COMPARE | 2 | temp | != $1->temperature |
| NOSPEC | 2 | temp | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | temp | (-2147483647)-(-274001),(-273999)-s32max |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &tz->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |