Documented in 2 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/thermal/cpufreq_cooling.c, line 681 (as a function)
- include/linux/cpu_cooling.h, line 50 (as a function)
Referenced in 4 files:
- drivers/cpufreq/cpufreq.c, line 1765
- drivers/thermal/cpufreq_cooling.c, line 695
- drivers/thermal/imx_thermal.c, line 569
- drivers/thermal/ti-soc-thermal/ti-thermal-common.c, line 265
Smatch caller information:
drivers/thermal/ti-soc-thermal/ti-thermal-common.c ti_thermal_unregister_cpu_cooling() -> cpufreq_cooling_unregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/cpufreq/cpufreq.c cpufreq_remove_dev() -> cpufreq_cooling_unregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &policy->rwsem | ||
| LOCK2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem | ||
| TYPE_LOCK | (struct subsys_private)->mutex |
drivers/thermal/imx_thermal.c imx_thermal_unregister_legacy_cooling() -> cpufreq_cooling_unregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |