Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thermal/cpufreq_cooling.c cpufreq_state2power() -> cpu_freq_to_power()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpufreq_cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpufreq_cdev->em | 4096-ptr_max |
| PARAM_VALUE | 0 | cpufreq_cdev->policy | 4096-ptr_max |
| BUF_SIZE | 0 | cpufreq_cdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cpufreq_cdev | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | cpufreq_cdev->em->em_table | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cpufreq_cdev | unit_byte |
| LOCK2 | &tz->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/cpufreq_cooling.c get_dynamic_power() -> cpu_freq_to_power()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpufreq_cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpufreq_cdev->policy | 4096-ptr_max |
| PARAM_VALUE | 0 | cpufreq_cdev->policy->related_cpus | 4096-ptr_max |
| BUF_SIZE | 0 | cpufreq_cdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cpufreq_cdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | cpufreq_cdev | $0 |
| DATA_SOURCE | 1 | freq | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cpufreq_cdev | unit_byte |
| LOCK2 | &tz->lock | ||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |