Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pwm/core.c pwm_apply_debug() -> (struct pwm_ops)->get_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->get_state | 4096-ptr_max |
| PARAM_VALUE | 1 | pwm | 4096-ptr_max |
| PARAM_VALUE | 1 | pwm->chip | 4096-ptr_max |
| PARAM_VALUE | 1 | pwm->chip->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | pwm->chip->ops->get_state | 4096-ptr_max |
| PARAM_VALUE | 1 | pwm->chip->ops->sizeof_wfhw | 0-2,5,12,16 |
| PARAM_VALUE | 2 | state | 569065507009228800 |
| PARAM_VALUE | 2 | state->duty_cycle | 0 |
| PARAM_VALUE | 2 | state->enabled | 0 |
| PARAM_VALUE | 2 | state->period | 0 |
| PARAM_VALUE | 2 | state->polarity | 0 |
| PARAM_VALUE | 2 | state->usage_power | 0 |
| BUF_SIZE | 1 | pwm | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | pwm | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | pwm | $0 |
| CONTAINER | 0 | -72-1904+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | pwm->state.duty_cycle | 0-72057589734572032[c] |
| USER_DATA | 1 | pwm->state.duty_cycle | 0-u64max |
| USER_DATA | 1 | pwm->state.period | 0-u64max |
drivers/pwm/core.c pwm_apply_debug() -> (struct pwm_ops)->get_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->get_state | 4096-ptr_max |
| PARAM_VALUE | 1 | pwm | 4096-ptr_max |
| PARAM_VALUE | 1 | pwm->chip | 4096-ptr_max |
| PARAM_VALUE | 1 | pwm->chip->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | pwm->chip->ops->get_state | 4096-ptr_max |
| PARAM_VALUE | 1 | pwm->chip->ops->sizeof_wfhw | 0-2,5,12,16 |
| PARAM_VALUE | 2 | state | 4096-ptr_max |
| BUF_SIZE | 1 | pwm | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | pwm | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | state | 24 |
| DATA_SOURCE | 1 | pwm | $0 |
| CONTAINER | 0 | -72-1904+0 | $(-1) |
| PARAM_COMPARE | 1 | &pwm->last | == $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | pwm->state.duty_cycle | 0-72057589734572032[c] |
| USER_DATA | 1 | pwm->state.duty_cycle | 0-u64max |
| USER_DATA | 1 | pwm->state.period | 0-u64max |
drivers/pwm/core.c pwm_get_state_hw() -> (struct pwm_ops)->get_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->atomic_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->nonatomic_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->nonatomic_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->nonatomic_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->nonatomic_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | chip->nonatomic_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->operational | 1 |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->get_state | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->read_waveform | 0,2915902502636908544,5908108403999293440,7064077618169438208,7415797580483903488,8533452849586618368,8770879026890039296 |
| PARAM_VALUE | 0 | chip->ops->write_waveform | 0,854848129230798848,4902893467299782656,5969761127823302656,6002585450722988032,6474795170319327232,6837514925627310080,7856071230266122240 |
| PARAM_VALUE | 1 | pwm | 4096-ptr_max |
| PARAM_VALUE | 1 | pwm->chip | 4096-ptr_max |
| PARAM_VALUE | 1 | pwm->chip->operational | 1 |
| PARAM_VALUE | 2 | state | 3031842085428703232,5085875752303374336,5377032875404468224,5789690545404899328 |
| DATA_SOURCE | 1 | pwm | $0 |
| DATA_SOURCE | 2 | state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | _T->lock |