Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pwm/core.c __pwm_apply() -> pwm_check_rounding()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wf | 5625087495021039616 |
| PARAM_VALUE | 1 | wf_rounded | 119671939828826112 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pwm/core.c __pwm_set_waveform() -> pwm_check_rounding()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wf | 4096-ptr_max |
| PARAM_VALUE | 0 | wf->duty_length_ns | 0-9223372036854775807 |
| PARAM_VALUE | 0 | wf->duty_offset_ns | 0-9223372036854775806 |
| PARAM_VALUE | 0 | wf->period_length_ns | 1-9223372036854775807 |
| PARAM_VALUE | 1 | wf_rounded | 1587067022265307136 |
| CAPPED_DATA | 0 | wf->duty_length_ns | 1 |
| CAPPED_DATA | 0 | wf->duty_offset_ns | 1 |
| CAPPED_DATA | 0 | wf->period_length_ns | 1 |
| DATA_SOURCE | 0 | wf | $1 |
| PARAM_COMPARE | 0 | wf->duty_length_ns | <= $0->period_length_ns |
| PARAM_COMPARE | 0 | wf->duty_offset_ns | <= $0->period_length_ns |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/pwm/core.c pwm_round_waveform_might_sleep() -> pwm_check_rounding()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wf | 1672045489425408000 |
| PARAM_VALUE | 0 | wf->duty_length_ns | 0-9223372036854775807 |
| PARAM_VALUE | 0 | wf->duty_offset_ns | 0-9223372036854775806 |
| PARAM_VALUE | 0 | wf->period_length_ns | 0-9223372036854775807 |
| PARAM_VALUE | 1 | wf_rounded | 2786245144226140160,2961219578645278720,3724083920057716736,4525784727901220864,5138682866584203264,5355721638339395584,7797826453718966272 |
| DATA_SOURCE | 1 | wf_rounded | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | wf->duty_length_ns | 0-3573741821[c] |
| USER_DATA | 0 | wf->period_length_ns | 0-7147483643 |
| HALF_LOCKED2 | _T->lock |