Lines Matching refs:pwm
40 #include <dev/pwm/pwmvar.h>
61 { .compat = "samsung,exynos4210-pwm" },
89 exynos_pwm_enable(pwm_tag_t pwm, bool enable)
91 struct exynos_pwm_timer * const timer = pwm->pwm_priv;
92 struct exynos_pwm_softc * const sc = device_private(pwm->pwm_dev);
114 exynos_pwm_get_config(pwm_tag_t pwm, struct pwm_config *conf)
116 struct exynos_pwm_timer * const timer = pwm->pwm_priv;
117 struct exynos_pwm_softc * const sc = device_private(pwm->pwm_dev);
132 exynos_pwm_set_config(pwm_tag_t pwm, const struct pwm_config *conf)
134 struct exynos_pwm_timer * const timer = pwm->pwm_priv;
135 struct exynos_pwm_softc * const sc = device_private(pwm->pwm_dev);
170 const u_int *pwm = data;
176 const u_int index = be32toh(pwm[1]);
180 const u_int period = be32toh(pwm[2]);
181 const u_int polarity = be32toh(pwm[3]);
247 data = fdtbus_get_prop(phandle, "samsung,pwm-outputs", &len);
256 aprint_normal(": PWM\n");