Lines Matching refs:period
182 uint32_t period, uint32_t pulse, pwm_flags_t flags);
186 uint32_t period, uint32_t pulse, in z_impl_pwm_pin_set_cycles() argument
192 return api->pin_set(dev, pwm, period, pulse, flags); in z_impl_pwm_pin_set_cycles()
334 uint32_t *period,
375 uint32_t period, uint32_t pulse, in pwm_pin_set_usec() argument
384 period_cycles = (period * cycles_per_sec) / USEC_PER_SEC; in pwm_pin_set_usec()
411 uint32_t period, uint32_t pulse, in pwm_pin_set_nsec() argument
420 period_cycles = (period * cycles_per_sec) / NSEC_PER_SEC; in pwm_pin_set_nsec()
525 uint64_t *period, in pwm_pin_capture_usec() argument
539 err = pwm_pin_cycles_to_usec(dev, pwm, period_cycles, period); in pwm_pin_capture_usec()
581 uint64_t *period, in pwm_pin_capture_nsec() argument
595 err = pwm_pin_cycles_to_nsec(dev, pwm, period_cycles, period); in pwm_pin_capture_nsec()