Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/powercap/intel_rapl_common.c rapl_read_pl_data() -> get_pl_prim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 4096-ptr_max |
| PARAM_VALUE | 0 | rd->rp->priv->rpi->mask | 31,8191,s16max-32768,65536,131071-131072,262143,332922,16646144,33292288,66584576,2147418112,2147483648,u32max,68719214592,140733193388032,140737488355328,281474976710656,562945658454016,562949953421312,17732923532771328-u64max |
| PARAM_VALUE | 1 | pl | (-22),0-2 |
| PARAM_VALUE | 2 | prim | 0,2-5 |
| BUF_SIZE | 0 | rd | (-1),2336-s32max |
| BUF_SIZE | 0 | rd | (-1),2336-s32max |
| CAPPED_DATA | 0 | rd | 1 |
| DATA_SOURCE | 0 | rd | $0 |
| DATA_SOURCE | 1 | pl | $1 |
| DATA_SOURCE | 2 | prim | $2 |
| FUZZY_MAX | 1 | pl | 2 |
| HARD_MAX | 2 | prim | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/powercap/intel_rapl_common.c rapl_write_pl_data() -> get_pl_prim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd | 0-ptr_max |
| PARAM_VALUE | 0 | rd->power_zone.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rd->rp->priv->defaults->set_floor_freq | 0,1098746204114980864,8802433537313054720 |
| PARAM_VALUE | 0 | rd->rp->priv->rpi->mask | 31,8191,s16max-32768,65536,131071-131072,262143,332922,16646144,33292288,66584576,2147418112,2147483648,u32max,68719214592,140733193388032,140737488355328,281474976710656,562945658454016,562949953421312,17732923532771328-u64max |
| PARAM_VALUE | 1 | pl | (-22),0-2 |
| PARAM_VALUE | 2 | prim | 0-3 |
| CAPPED_DATA | 0 | rd | 1 |
| DATA_SOURCE | 0 | rd | $0 |
| DATA_SOURCE | 1 | pl | $1 |
| DATA_SOURCE | 2 | prim | $2 |
| FUZZY_MAX | 1 | pl | 2 |
| HARD_MAX | 2 | prim | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |