Defined in 1 files as a member:
Defined in 2 files as a function:
- drivers/hwmon/acpi_power_meter.c, line 295 (as a function)
- drivers/thermal/intel/intel_soc_dts_iosf.c, line 297 (as a function)
Referenced in 3 files:
- drivers/hwmon/acpi_power_meter.c
- drivers/thermal/intel/intel_soc_dts_iosf.c
- drivers/thermal/tegra/tegra-bpmp-thermal.c
Smatch caller information:
drivers/hwmon/acpi_power_meter.c power1_average_max_store() -> set_trip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trip->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | trip->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | trip->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | trip->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trip->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | trip->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | type | 1 |
| BUF_SIZE | 0 | trip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | trip | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &trip->lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | flags | 0-u64max |
| NO_OVERFLOW_SIMPLE | 2 | flags | |
| UNITS | 0 | trip | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &trip->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct acpi_power_meter_resource)->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/acpi_power_meter.c power1_average_min_store() -> set_trip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trip->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | trip->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | trip->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | trip->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | trip->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | trip->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | type | 0 |
| BUF_SIZE | 0 | trip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | trip | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &trip->lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | flags | 0-u64max |
| NO_OVERFLOW_SIMPLE | 2 | flags | |
| UNITS | 0 | trip | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &trip->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct acpi_power_meter_resource)->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/thermal/intel/intel_soc_dts_iosf.c intel_soc_dts_iosf_init() -> set_trip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | flags | 1 |
| PARAM_VALUE | 3 | temp | 0 |
| PARAM_VALUE | 4 | index | 0 |
| BUF_SIZE | 0 | trip | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/thermal/intel/intel_soc_dts_iosf.c intel_soc_dts_iosf_init() -> set_trip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trip | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 3 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 4 | index | 1 |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/thermal/intel/intel_soc_dts_iosf.c intel_soc_dts_iosf_init() -> set_trip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trip | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | flags | 1 |
| PARAM_VALUE | 3 | temp | 0 |
| PARAM_VALUE | 4 | index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |