Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mfd/macsmc.c apple_smc_get_key_by_index() -> apple_smc_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 18 |
| PARAM_VALUE | 2 | arg | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | size | 0 |
| PARAM_VALUE | 4 | wsize | 0 |
| PARAM_VALUE | 5 | ret_data | 2929637884138160128,3342505002460364800,5142986532979908608,8569209512433033216,9144482705751035904 |
| BUF_SIZE | 0 | smc | s32min-s32max |
| DATA_SOURCE | 0 | smc | $0 |
| DATA_SOURCE | 2 | arg | $1 |
| DATA_SOURCE | 5 | ret_data | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | smc | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/mfd/macsmc.c apple_smc_get_key_info() -> apple_smc_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 19 |
| PARAM_VALUE | 2 | arg | 0-s32max |
| PARAM_VALUE | 3 | size | 0 |
| PARAM_VALUE | 4 | wsize | 0 |
| PARAM_VALUE | 5 | ret_data | 0 |
| BUF_SIZE | 0 | smc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | smc | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | smc | $0 |
| DATA_SOURCE | 2 | arg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | smc | unit_byte |