Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/arm64/huawei-gaokun-ec.c gaokun_ec_psy_get_smart_charge() -> extr_resp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4 |
| BUF_SIZE | 0 | dest | 4 |
| BUF_SIZE | 1 | src | 6 |
| DATA_SOURCE | 0 | dest | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/platform/arm64/huawei-gaokun-ec.c gaokun_ec_ucsi_get_reg() -> extr_resp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 3327866674916503552,5513723103197487104 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 7 |
| BUF_SIZE | 1 | src | 9 |
| DATA_SOURCE | 0 | dest | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/arm64/huawei-gaokun-ec.c gaokun_ec_ucsi_read() -> extr_resp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 20 |
| BUF_SIZE | 0 | dest | 20 |
| BUF_SIZE | 1 | src | 22 |
| DATA_SOURCE | 0 | dest | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ucsi->ppm_lock |