Searched refs:duty_offset_ns (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/drivers/pwm/ |
| H A D | core.c | 70 if (wf->duty_offset_ns && wf->duty_offset_ns >= wf->period_length_ns) in DEFINE_GUARD() 79 if (wf->duty_length_ns + wf->duty_offset_ns < wf->period_length_ns) in pwm_wf2state() 107 .duty_offset_ns = 0, in pwm_state2wf() 113 .duty_offset_ns = state->duty_cycle, in pwm_state2wf() 136 if (a->duty_offset_ns > b->duty_offset_ns) in pwmwfcmp() 139 if (a->duty_offset_ns < b->duty_offset_ns) in pwmwfcmp() 157 if (wf->duty_offset_ns < wf_rounded->duty_offset_ns) in pwm_check_rounding() 276 wf->duty_length_ns, wf->period_length_ns, wf->duty_offset_ns); in pwm_round_waveform_might_sleep() 346 wf->duty_length_ns, wf->period_length_ns, wf->duty_offset_ns, in __pwm_set_waveform() 351 wf->duty_length_ns, wf->period_length_ns, wf->duty_offset_ns, in __pwm_set_waveform() [all …]
|
| H A D | pwm-axi-pwmgen.c | 109 mul_u64_u32_div(wf->duty_offset_ns, ddata->clk_rate_hz, NSEC_PER_SEC), in axi_pwmgen_round_waveform_tohw() 115 pwm->hwpwm, wf->duty_length_ns, wf->period_length_ns, wf->duty_offset_ns, in axi_pwmgen_round_waveform_tohw() 133 wf->duty_offset_ns = DIV64_U64_ROUND_UP((u64)wfhw->duty_offset_cnt * NSEC_PER_SEC, in axi_pwmgen_round_waveform_fromhw()
|
| H A D | pwm-stm32.c | 170 if (wf->duty_length_ns && wf->duty_offset_ns && in stm32_pwm_round_waveform_tohw() 171 wf->duty_length_ns + wf->duty_offset_ns >= wf->period_length_ns) { in stm32_pwm_round_waveform_tohw() 184 pwm->hwpwm, wf->duty_length_ns, wf->period_length_ns, wf->duty_offset_ns, in stm32_pwm_round_waveform_tohw() 234 wf->duty_offset_ns = ccr_ns; in stm32_pwm_round_waveform_fromhw() 237 wf->duty_offset_ns = 0; in stm32_pwm_round_waveform_fromhw() 242 wf->duty_length_ns, wf->period_length_ns, wf->duty_offset_ns); in stm32_pwm_round_waveform_fromhw()
|
| /linux-6.15/include/trace/events/ |
| H A D | pwm.h | 40 __entry->wf ## _duty_offset_ns = wf->duty_offset_ns
|
| /linux-6.15/include/linux/ |
| H A D | pwm.h | 74 u64 duty_offset_ns; member
|
| /linux-6.15/drivers/iio/adc/ |
| H A D | ad7625.c | 206 clk_gate_wf.duty_offset_ns = st->info->timing_spec->conv_msb_ns; in ad7625_set_sampling_freq()
|