Lines Matching defs:pwm
22 #include <linux/pwm.h>
122 struct pwm_device *pwm, struct pwm_state *state)
196 struct pwm_device *pwm)
207 period_ms = DIV_ROUND_UP_ULL(pwm_get_period(pwm),
217 static int pwm_imx27_apply(struct pwm_chip *chip, struct pwm_device *pwm,
228 pwm_get_state(pwm, &cstate);
245 * according to imx pwm RM, the real period value should be PERIOD
258 pwm_imx27_wait_fifo_slot(chip, pwm);
303 { .compatible = "fsl,imx27-pwm", },
340 /* keep clks on if pwm is running */
350 .name = "pwm-imx27",