Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/thermal/thermal_core.c, line 1565 (as a function)
- include/linux/thermal.h, line 329 (as a function)
Referenced in 8 files:
- drivers/acpi/thermal.c, line 631
- drivers/power/supply/power_supply_core.c, line 1682
- drivers/thermal/armada_thermal.c, line 862
- drivers/thermal/dove_thermal.c, line 142
- drivers/thermal/intel/int340x_thermal/int3400_thermal.c, line 597
- drivers/thermal/kirkwood_thermal.c, line 74
- drivers/thermal/spear_thermal.c, line 125
- drivers/thermal/thermal_core.c, line 1574
Smatch caller information:
drivers/thermal/dove_thermal.c dove_thermal_probe() -> thermal_tripless_zone_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 5496643565943988224 |
| PARAM_VALUE | 1 | devdata | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 7673551681376849920 |
| PARAM_VALUE | 3 | tzp | 0 |
| BUF_SIZE | 0 | type | 13 |
| BUF_SIZE | 1 | devdata | 16 |
| DATA_SOURCE | 1 | devdata | r devm_kzalloc |
| STR_LEN | 0 | type | 12 |
| TERMINATED | 0 | type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/thermal.c acpi_thermal_register_thermal_zone() -> thermal_tripless_zone_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 7469958373693091840 |
| PARAM_VALUE | 1 | devdata | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 4106471759294918656 |
| PARAM_VALUE | 3 | tzp | 0 |
| BUF_SIZE | 0 | type | 7 |
| BUF_SIZE | 1 | devdata | 592 |
| DATA_SOURCE | 1 | devdata | $0 |
| STR_LEN | 0 | type | 6 |
| TERMINATED | 0 | type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/intel/int340x_thermal/int3400_thermal.c int3400_thermal_probe() -> thermal_tripless_zone_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 5392352784735547392 |
| PARAM_VALUE | 1 | devdata | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 4204431194652147712 |
| PARAM_VALUE | 3 | tzp | 5273149117467160576 |
| BUF_SIZE | 0 | type | 16 |
| BUF_SIZE | 1 | devdata | 112 |
| DATA_SOURCE | 1 | devdata | r _kzalloc_noprof |
| STR_LEN | 0 | type | 15 |
| TERMINATED | 0 | type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/spear_thermal.c spear_thermal_probe() -> thermal_tripless_zone_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 586707754733371392 |
| PARAM_VALUE | 1 | devdata | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 8558918562400817152 |
| PARAM_VALUE | 3 | tzp | 0 |
| BUF_SIZE | 0 | type | 14 |
| BUF_SIZE | 1 | devdata | 24 |
| DATA_SOURCE | 1 | devdata | r devm_kzalloc |
| STR_LEN | 0 | type | 13 |
| TERMINATED | 0 | type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/armada_thermal.c armada_thermal_probe() -> thermal_tripless_zone_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0 |
| PARAM_VALUE | 1 | devdata | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 2521171171765497856 |
| PARAM_VALUE | 3 | tzp | 0 |
| BUF_SIZE | 0 | type | 20 |
| BUF_SIZE | 1 | devdata | 232 |
| DATA_SOURCE | 1 | devdata | r devm_kzalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/power_supply_core.c psy_register_thermal() -> thermal_tripless_zone_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 1-u64max |
| PARAM_VALUE | 1 | devdata | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 7262406415315021824 |
| PARAM_VALUE | 3 | tzp | 1925916319996661760 |
| PARAM_VALUE | 3 | tzp->k_d | 0 |
| PARAM_VALUE | 3 | tzp->k_i | 0 |
| PARAM_VALUE | 3 | tzp->k_po | 0 |
| PARAM_VALUE | 3 | tzp->k_pu | 0 |
| PARAM_VALUE | 3 | tzp->no_hwmon | 1 |
| PARAM_VALUE | 3 | tzp->offset | 0 |
| PARAM_VALUE | 3 | tzp->slope | 0 |
| BUF_SIZE | 0 | type | s32min,(-10),1-s32max |
| BUF_SIZE | 1 | devdata | 2256 |
| DATA_SOURCE | 1 | devdata | $0 |
| STR_LEN | 0 | type | (-1),7-8,10-12,15-16,19,27,31 |
| STR_LEN | 0 | type | (-1),7-8,10-12,15-16,19,27,31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/thermal/kirkwood_thermal.c kirkwood_thermal_probe() -> thermal_tripless_zone_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 7348841145109753856 |
| PARAM_VALUE | 1 | devdata | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 2869242260689235968 |
| PARAM_VALUE | 3 | tzp | 0 |
| BUF_SIZE | 0 | type | 17 |
| BUF_SIZE | 1 | devdata | 8 |
| DATA_SOURCE | 1 | devdata | r devm_kzalloc |
| STR_LEN | 0 | type | 16 |
| TERMINATED | 0 | type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |