Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
- drivers/thermal/intel/intel_tcc.c, line 266
- drivers/thermal/intel/intel_tcc_cooling.c, line 43
Smatch caller information:
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_thermal_resume() -> intel_tcc_set_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | (-1) |
| PARAM_VALUE | 1 | offset | 0-s32max |
| FUZZY_MAX | 1 | offset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &fsm->lock |
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c tcc_offset_degree_celsius_store() -> intel_tcc_set_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | offset | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/thermal/intel/intel_tcc_cooling.c tcc_set_cur_state() -> intel_tcc_set_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | (-1) |
| CAPPED_DATA | 1 | offset | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 1 | offset | $1 |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | offset | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | offset | |
| LOCK2 | &cdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_cooling_device)->lock |