Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 2 files as a function:
- drivers/acpi/processor_throttling.c, line 1144 (as a function)
- include/acpi/processor.h, line 405 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/acpi/processor_thermal.c processor_set_cur_state() -> acpi_processor_set_throttling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pr | 4096-ptr_max |
| PARAM_VALUE | 0 | pr->flags.throttling | 1 |
| PARAM_VALUE | 0 | pr->throttling.state | 1-u32max |
| PARAM_VALUE | 1 | state | 0 |
| PARAM_VALUE | 2 | force | 0 |
| BUF_SIZE | 0 | pr | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pr | 24,32,88,104,108-1096,1616,2592 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_cooling_device)->lock |
drivers/acpi/processor_thermal.c processor_set_cur_state() -> acpi_processor_set_throttling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pr | 4096-ptr_max |
| PARAM_VALUE | 2 | force | 0 |
| BUF_SIZE | 0 | pr | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pr | 24,32,88,104,108-1096,1616,2592 |
| CAPPED_DATA | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | state | 0-s32max[c] |
| LOCK2 | &cdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_cooling_device)->lock |
drivers/acpi/processor_throttling.c acpi_processor_get_throttling_info() -> acpi_processor_set_throttling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pr | 4096-ptr_max |
| PARAM_VALUE | 0 | pr->flags.throttling | 1 |
| PARAM_VALUE | 0 | pr->id | 0-s32max |
| PARAM_VALUE | 0 | pr->power.states->address | 0-4294967295 |
| PARAM_VALUE | 0 | pr->power.states->bm_sts_skip | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->entry_method | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->index | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->latency | 0-4294967295 |
| PARAM_VALUE | 0 | pr->power.states->type | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->valid | 0-255 |
| PARAM_VALUE | 0 | pr->throttling.acpi_processor_get_throttling | 2051368337146097664,8767090224619003904 |
| PARAM_VALUE | 0 | pr->throttling.acpi_processor_set_throttling | 3991903722241024000,9144556295628607488 |
| PARAM_VALUE | 0 | pr->throttling.state | 1-u32max |
| PARAM_VALUE | 0 | pr->throttling.state_count | 0-s32max |
| PARAM_VALUE | 0 | pr->throttling.tsd_valid_flag | 0-1 |
| PARAM_VALUE | 1 | state | 0 |
| PARAM_VALUE | 2 | force | 0 |
| BUF_SIZE | 0 | pr | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pr | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pr->throttling.acpi_processor_get_throttling | (-1),8 |
| BUF_SIZE | 0 | pr->throttling.acpi_processor_set_throttling | (-1),8 |
| DATA_SOURCE | 0 | pr | $0 |
| FUZZY_MAX | 0 | pr->throttling.tsd_valid_flag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
drivers/acpi/processor_throttling.c acpi_processor_reevaluate_tstate() -> acpi_processor_set_throttling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pr | 4096-ptr_max |
| PARAM_VALUE | 0 | pr->flags.previously_online | 1 |
| PARAM_VALUE | 0 | pr->flags.throttling | 1 |
| PARAM_VALUE | 0 | pr->handle | 4096-ptr_max,(-1) |
| PARAM_VALUE | 0 | pr->handle->common.descriptor_type | 15 |
| PARAM_VALUE | 0 | pr->id | 0-s32max |
| PARAM_VALUE | 0 | pr->power.states->address | 0-4294967295 |
| PARAM_VALUE | 0 | pr->power.states->bm_sts_skip | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->entry_method | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->index | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->latency | 0-4294967295 |
| PARAM_VALUE | 0 | pr->power.states->type | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->valid | 0-255 |
| PARAM_VALUE | 0 | pr->throttling.state | 1-u32max |
| PARAM_VALUE | 0 | pr->throttling.state_count | 1-u32max |
| PARAM_VALUE | 1 | state | 0 |
| PARAM_VALUE | 2 | force | 0 |
| DATA_SOURCE | 0 | pr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
drivers/acpi/processor_throttling.c acpi_processor_tstate_has_changed() -> acpi_processor_set_throttling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pr | 4096-ptr_max |
| PARAM_VALUE | 0 | pr->handle->descriptor_type | 0-255 |
| PARAM_VALUE | 0 | pr->handle->flags | 0-u16max |
| PARAM_VALUE | 0 | pr->handle->name.integer | 0-4294967295 |
| PARAM_VALUE | 0 | pr->handle->owner_id | 0-u16max |
| PARAM_VALUE | 0 | pr->handle->type | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->address | 0-4294967295 |
| PARAM_VALUE | 0 | pr->power.states->latency | 0-4294967295 |
| PARAM_VALUE | 0 | pr->throttling.state_count | 1-u32max |
| PARAM_VALUE | 0 | pr->throttling_platform_limit | s32min-(-2),0-s32max |
| PARAM_VALUE | 2 | force | 0 |
| BUF_SIZE | 0 | pr | (-1),24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pr | (-1),24,32,88,104,108-1096,1616,2592 |
| CAPPED_DATA | 1 | state | 1 |
| DATA_SOURCE | 0 | pr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |