Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/thermal/thermal_core.c, line 1117 (as a function)
- include/linux/thermal.h, line 349 (as a function)
Referenced in 4 files:
- drivers/hwmon/cros_ec_hwmon.c, line 553
- drivers/hwmon/dell-smm-hwmon.c, line 1149
- drivers/hwmon/mlxreg-fan.c, line 586
- drivers/thermal/thermal_core.c, line 1133
Smatch caller information:
drivers/hwmon/dell-smm-hwmon.c dell_smm_init_cdev() -> devm_thermal_cooling_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1-u64max |
| PARAM_VALUE | 2 | devdata | 4096-ptr_max |
| PARAM_VALUE | 3 | ops | 8829085497588162560 |
| BUF_SIZE | 1 | type | 0-s32max |
| BUF_SIZE | 1 | type | 0-s32max |
| BUF_SIZE | 2 | devdata | 16 |
| CAPPED_DATA | 1 | type | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | type | r kasprintf |
| DATA_SOURCE | 2 | devdata | r devm_kmalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/mlxreg-fan.c mlxreg_fan_cooling_config() -> devm_thermal_cooling_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 2 | devdata | 4096-ptr_max |
| PARAM_VALUE | 3 | ops | 1859479708497125376 |
| PARAM_VALUE | 3 | ops->get_cur_state | 4096-ptr_max |
| PARAM_VALUE | 3 | ops->get_max_state | 4096-ptr_max |
| PARAM_VALUE | 3 | ops->set_cur_state | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/cros_ec_hwmon.c cros_ec_hwmon_register_fan_cooling_devices() -> devm_thermal_cooling_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 1 | type | 1-u64max |
| PARAM_VALUE | 2 | devdata | 4096-ptr_max |
| PARAM_VALUE | 3 | ops | 8572279326132285440 |
| PARAM_VALUE | 3 | ops->get_cur_state | 4096-ptr_max |
| PARAM_VALUE | 3 | ops->get_max_state | 4096-ptr_max |
| PARAM_VALUE | 3 | ops->set_cur_state | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | type | 0-s32max |
| BUF_SIZE | 1 | type | 0-s32max |
| BUF_SIZE | 2 | devdata | 16 |
| CAPPED_DATA | 1 | type | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | type | r devm_kasprintf |
| DATA_SOURCE | 2 | devdata | r devm_kzalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING |