Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/firmware/arm_scmi/powercap.c __scmi_powercap_cap_set() -> scmi_powercap_xfer_cap_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ph | 4096-ptr_max |
| PARAM_VALUE | 0 | ph->get_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | pc | 4096-ptr_max |
| PARAM_VALUE | 1 | pc->fc_info | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pc->powercap_cap_config | 1 |
| CAPPED_DATA | 2 | power_cap | 1 |
| DATA_SOURCE | 0 | ph | $0 |
| DATA_SOURCE | 1 | pc | r scmi_powercap_dom_info_get |
| DATA_SOURCE | 2 | power_cap | $3 |
| DATA_SOURCE | 3 | ignore_dresp | $4 |
| PARAM_COMPARE | 1 | pc->max_power_cap | >= $2 |
| PARAM_COMPARE | 2 | power_cap | <= $1->max_power_cap |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | power_cap | 1-s32max[c] |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |