Home
last modified time | relevance | path

Searched refs:pwm_get_period (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/pwm/
Dpwm-clps711x.c51 return DIV_ROUND_CLOSEST(v * 0xf, pwm_get_period(pwm)); in clps711x_get_duty()
74 if (period_ns != pwm_get_period(pwm)) in clps711x_pwm_config()
Dpwm-crc.c78 if (pwm_get_period(pwm) != period_ns) { in crc_pwm_config()
Dpwm-imx.c147 period_ms = DIV_ROUND_UP(pwm_get_period(pwm), in imx_pwm_wait_fifo_slot()
Dpwm-bcm-kona.c220 pwm_get_period(pwm)); in kona_pwmc_enable()
Dpwm-omap-dmtimer.c111 period_ns == pwm_get_period(pwm)) { in pwm_omap_dmtimer_config()
Dpwm-sti.c180 period_same = (period_ns == pwm_get_period(cur)); in sti_pwm_config()
/Linux-v4.19/drivers/media/rc/
Dir-rx51.c253 ir_rx51.freq = DIV_ROUND_CLOSEST(pwm_get_period(pwm), NSEC_PER_SEC); in ir_rx51_probe()
/Linux-v4.19/drivers/input/misc/
Dpwm-vibra.c178 pwm_get_period(vibrator->pwm_dir) / 2; in pwm_vibrator_probe()
/Linux-v4.19/include/linux/
Dpwm.h114 static inline unsigned int pwm_get_period(const struct pwm_device *pwm) in pwm_get_period() function