Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thermal/gov_power_allocator.c allocate_power() -> (struct thermal_cooling_device_ops)->state2power()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | power | 4096-ptr_max |
| CONTAINER | 0 | -32-1656+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/gov_power_allocator.c estimate_sustainable_power() -> (struct thermal_cooling_device_ops)->state2power()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | power | 6722872882559823872 |
| CONTAINER | 0 | -32-1656+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |