Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thermal/cpufreq_cooling.c __cpufreq_cooling_register() -> get_state_freq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpufreq_cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpufreq_cdev->cooling_ops.get_cur_state | 5725128958511566848 |
| PARAM_VALUE | 0 | cpufreq_cdev->cooling_ops.get_max_state | 2725627515390590976 |
| PARAM_VALUE | 0 | cpufreq_cdev->cooling_ops.set_cur_state | 2190582422455914496 |
| PARAM_VALUE | 0 | cpufreq_cdev->max_level | 0-2147483646 |
| PARAM_VALUE | 0 | cpufreq_cdev->policy | 4096-ptr_max |
| PARAM_VALUE | 0 | cpufreq_cdev->policy->cpu | 0-8192 |
| PARAM_VALUE | 0 | cpufreq_cdev->policy->freq_table | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 0 |
| BUF_SIZE | 0 | cpufreq_cdev | 136 |
| BUF_SIZE | 0 | cpufreq_cdev->policy | (-1),1576 |
| CAPPED_DATA | 0 | cpufreq_cdev->policy->cpu | 1 |
| DATA_SOURCE | 0 | cpufreq_cdev | r _kzalloc_noprof |
| STR_LEN | 0 | cpufreq_cdev->policy->cpu | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cpufreq_cdev->policy->cached_target_freq |
drivers/thermal/cpufreq_cooling.c cpufreq_set_cur_state() -> get_state_freq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpufreq_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 0-u32max |
| BUF_SIZE | 0 | cpufreq_cdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cpufreq_cdev | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | state | 1 |
| CAPPED_DATA | 1 | state | 1 |
| DATA_SOURCE | 1 | state | $1 |
| PARAM_COMPARE | 0 | cpufreq_cdev->cpufreq_state | != $1 |
| PARAM_COMPARE | 0 | cpufreq_cdev->max_level | >= $1 |
| PARAM_COMPARE | 1 | state | != $0->cpufreq_state |
| PARAM_COMPARE | 1 | state | <= $0->max_level |
| NOSPEC | 1 | state | |
| NOSPEC | 1 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | state | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | state | |
| UNITS | 0 | cpufreq_cdev | unit_byte |
| LOCK2 | &cdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_cooling_device)->lock |