Searched refs:cycles_to_ns (Results 1 – 1 of 1) sorted by relevance
71 fn cycles_to_ns(cycles: u64, rate_hz: u64) -> u64 { in cycles_to_ns() function211 wf.period_length_ns = cycles_to_ns(u64::from(wfhw.period_cycles), rate_hz); in round_waveform_fromhw()216 wf.duty_length_ns = cycles_to_ns(duty_cycles, rate_hz); in round_waveform_fromhw()223 wf.duty_length_ns = cycles_to_ns(original_duty_cycles, rate_hz); in round_waveform_fromhw()225 wf.duty_offset_ns = cycles_to_ns(duty_cycles, rate_hz); in round_waveform_fromhw()