Lines Matching refs:duty_offset_ns
74 if (wf->duty_offset_ns && wf->duty_offset_ns >= wf->period_length_ns) in DEFINE_GUARD()
83 if (wf->duty_length_ns + wf->duty_offset_ns < wf->period_length_ns) in pwm_wf2state()
111 .duty_offset_ns = 0, in pwm_state2wf()
117 .duty_offset_ns = state->duty_cycle, in pwm_state2wf()
140 if (a->duty_offset_ns > b->duty_offset_ns) in pwmwfcmp()
143 if (a->duty_offset_ns < b->duty_offset_ns) in pwmwfcmp()
161 if (wf->duty_offset_ns < wf_rounded->duty_offset_ns) in pwm_check_rounding()
271 wf_req.duty_length_ns, wf_req.period_length_ns, wf_req.duty_offset_ns, ret_tohw); in pwm_round_waveform_might_sleep()
279 wf_req.duty_length_ns, wf_req.period_length_ns, wf_req.duty_offset_ns, ret_fromhw); in pwm_round_waveform_might_sleep()
284 wf_req.duty_length_ns, wf_req.period_length_ns, wf_req.duty_offset_ns, in pwm_round_waveform_might_sleep()
285 wf->duty_length_ns, wf->period_length_ns, wf->duty_offset_ns, ret_tohw); in pwm_round_waveform_might_sleep()
358 wf->duty_length_ns, wf->period_length_ns, wf->duty_offset_ns, in __pwm_set_waveform()
359 wf_rounded.duty_length_ns, wf_rounded.period_length_ns, wf_rounded.duty_offset_ns, ret_tohw); in __pwm_set_waveform()
363 wf->duty_length_ns, wf->period_length_ns, wf->duty_offset_ns, in __pwm_set_waveform()
364 wf_rounded.duty_length_ns, wf_rounded.period_length_ns, wf_rounded.duty_offset_ns); in __pwm_set_waveform()
393 wf->duty_length_ns, wf->period_length_ns, wf->duty_offset_ns, in __pwm_set_waveform()
394 wf_rounded.duty_length_ns, wf_rounded.period_length_ns, wf_rounded.duty_offset_ns, in __pwm_set_waveform()
395 wf_set.duty_length_ns, wf_set.period_length_ns, wf_set.duty_offset_ns); in __pwm_set_waveform()
696 wf.duty_length_ns, wf.period_length_ns, wf.duty_offset_ns, in __pwm_apply()
697 wf_rounded.duty_length_ns, wf_rounded.period_length_ns, wf_rounded.duty_offset_ns); in __pwm_apply()
2284 .duty_offset_ns = cwf.duty_offset_ns, in pwm_cdev_ioctl()
2295 .duty_offset_ns = wf.duty_offset_ns, in pwm_cdev_ioctl()
2330 .duty_offset_ns = wf.duty_offset_ns, in pwm_cdev_ioctl()
2357 .duty_offset_ns = cwf.duty_offset_ns, in pwm_cdev_ioctl()