Lines Matching refs:meson_pwm
109 struct meson_pwm { struct
117 static inline struct meson_pwm *to_meson_pwm(struct pwm_chip *chip) in to_meson_pwm() argument
119 return container_of(chip, struct meson_pwm, chip); in to_meson_pwm()
161 static int meson_pwm_calc(struct meson_pwm *meson, in meson_pwm_calc()
232 static void meson_pwm_enable(struct meson_pwm *meson, in meson_pwm_enable()
272 static void meson_pwm_disable(struct meson_pwm *meson, unsigned int id) in meson_pwm_disable()
298 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_apply()
352 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_get_state()
457 static int meson_pwm_init_channels(struct meson_pwm *meson, in meson_pwm_init_channels()
507 static void meson_pwm_add_channels(struct meson_pwm *meson, in meson_pwm_add_channels()
519 struct meson_pwm *meson; in meson_pwm_probe()
567 struct meson_pwm *meson = platform_get_drvdata(pdev); in meson_pwm_remove()