Lines Matching refs:pwm
40 #include <dev/pwm/pwmvar.h>
62 { .compat = "allwinner,sun50i-a64-pwm", .value = PWM_A64 },
86 const u_int *pwm = data;
91 const u_int index = be32toh(pwm[1]);
95 const u_int period = be32toh(pwm[2]);
96 const u_int polarity = be32toh(pwm[3]);
109 sunxi_pwm_enable(pwm_tag_t pwm, bool enable)
111 struct sunxi_pwm_softc * const sc = device_private(pwm->pwm_dev);
127 sunxi_pwm_get_config(pwm_tag_t pwm, struct pwm_config *conf)
129 struct sunxi_pwm_softc * const sc = device_private(pwm->pwm_dev);
147 sunxi_pwm_set_config(pwm_tag_t pwm, const struct pwm_config *conf)
149 struct sunxi_pwm_softc * const sc = device_private(pwm->pwm_dev);
222 aprint_normal(": PWM\n");