Lines Matching refs:period_cycles
393 uint32_t period_cycles,
403 uint32_t period_cycles, uint32_t pulse_cycles,
542 uint64_t period_cycles; in pwm_set() local
550 period_cycles = (period * cycles_per_sec) / NSEC_PER_SEC; in pwm_set()
551 if (period_cycles > UINT32_MAX) { in pwm_set()
560 return pwm_set_cycles(dev, channel, (uint32_t)period_cycles, in pwm_set()
854 uint32_t period_cycles; in pwm_capture_usec() local
856 err = pwm_capture_cycles(dev, channel, flags, &period_cycles, in pwm_capture_usec()
862 err = pwm_cycles_to_usec(dev, channel, period_cycles, period); in pwm_capture_usec()
909 uint32_t period_cycles; in pwm_capture_nsec() local
911 err = pwm_capture_cycles(dev, channel, flags, &period_cycles, in pwm_capture_nsec()
917 err = pwm_cycles_to_nsec(dev, channel, period_cycles, period); in pwm_capture_nsec()