Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/platform/chrome/cros_ec_lpc.c, line 458
- drivers/thermal/thermal_core.c, line 326
- include/linux/reboot.h, line 211
- kernel/reboot.c, line 1053
Smatch caller information:
drivers/regulator/core.c hw_protection_trigger() -> __hw_protection_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reason | 1367221837007015936,4086388876853657600,6073754249291436032 |
| PARAM_VALUE | 2 | action | 0 |
| BUF_SIZE | 0 | reason | 41,49 |
| BUF_SIZE | 0 | reason | 41,49 |
| DATA_SOURCE | 0 | reason | $0 |
| DATA_SOURCE | 1 | ms_until_forced | $1 |
| STR_LEN | 0 | reason | 40,48 |
| STR_LEN | 0 | reason | 40,48 |
| BIT_INFO | 0 | reason | 0x1000410042000000,0x7effdf4f7bfdd000 |
| BIT_INFO | 0 | reason | 0x1000410042000000,0x7effdf4f7bfdd000 |
| TERMINATED | 0 | reason | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pcdev->lock |
drivers/thermal/thermal_core.c thermal_zone_device_halt() -> __hw_protection_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reason | 7517326584309063680 |
| PARAM_VALUE | 1 | ms_until_forced | 0 |
| PARAM_VALUE | 2 | action | 0-2 |
| BUF_SIZE | 0 | reason | 21 |
| BUF_SIZE | 0 | reason | 21 |
| DATA_SOURCE | 2 | action | $1 |
| STR_LEN | 0 | reason | 20 |
| STR_LEN | 0 | reason | 20 |
| TERMINATED | 0 | reason | 1 |
| HARD_MAX | 2 | action | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tz->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/platform/chrome/cros_ec_lpc.c cros_ec_lpc_acpi_notify() -> __hw_protection_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reason | 1425920533363695616 |
| PARAM_VALUE | 1 | ms_until_forced | (-1) |
| PARAM_VALUE | 2 | action | 1 |
| BUF_SIZE | 0 | reason | 14 |
| STR_LEN | 0 | reason | 13 |
| TERMINATED | 0 | reason | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/macsmc-power.c hw_protection_trigger() -> __hw_protection_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reason | 387862335969452032 |
| PARAM_VALUE | 1 | ms_until_forced | 1500 |
| PARAM_VALUE | 2 | action | 0 |
| BUF_SIZE | 0 | reason | 37 |
| BUF_SIZE | 0 | reason | 37 |
| DATA_SOURCE | 0 | reason | $0 |
| DATA_SOURCE | 1 | ms_until_forced | $1 |
| STR_LEN | 0 | reason | 36 |
| STR_LEN | 0 | reason | 36 |
| TERMINATED | 0 | reason | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/regulator/irq_helpers.c hw_protection_trigger() -> __hw_protection_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reason | 560700646532001792,1162015590365249536,1924934696103129088,7197774382685020160 |
| PARAM_VALUE | 1 | ms_until_forced | 10000 |
| PARAM_VALUE | 2 | action | 0 |
| BUF_SIZE | 0 | reason | 35,39-41 |
| BUF_SIZE | 0 | reason | 35,39-41 |
| DATA_SOURCE | 0 | reason | $0 |
| DATA_SOURCE | 1 | ms_until_forced | $1 |
| STR_LEN | 0 | reason | 34,38-40 |
| STR_LEN | 0 | reason | 34,38-40 |
| TERMINATED | 0 | reason | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |