Searched refs:wf_rounded (Results 1 – 1 of 1) sorted by relevance
| /linux-6.15/drivers/pwm/ |
| H A D | core.c | 146 const struct pwm_waveform *wf_rounded) in pwm_check_rounding() argument 154 if (wf->duty_length_ns < wf_rounded->duty_length_ns) in pwm_check_rounding() 324 struct pwm_waveform wf_rounded; in __pwm_set_waveform() local 347 wf_rounded.duty_length_ns, wf_rounded.period_length_ns, wf_rounded.duty_offset_ns); in __pwm_set_waveform() 349 if (exact && pwmwfcmp(wf, &wf_rounded)) { in __pwm_set_waveform() 352 wf_rounded.duty_length_ns, wf_rounded.period_length_ns, wf_rounded.duty_offset_ns); in __pwm_set_waveform() 378 if (pwmwfcmp(&wf_set, &wf_rounded) != 0) in __pwm_set_waveform() 382 wf_rounded.duty_length_ns, wf_rounded.period_length_ns, wf_rounded.duty_offset_ns, in __pwm_set_waveform() 636 struct pwm_waveform wf_rounded; in __pwm_apply() local 642 if (!pwm_check_rounding(&wf, &wf_rounded)) in __pwm_apply() [all …]
|