Lines Matching refs:meson_pwm
103 struct meson_pwm { struct
115 static inline struct meson_pwm *to_meson_pwm(struct pwm_chip *chip) in to_meson_pwm() argument
117 return container_of(chip, struct meson_pwm, chip); in to_meson_pwm()
122 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_request()
161 static int meson_pwm_calc(struct meson_pwm *meson, struct pwm_device *pwm, in meson_pwm_calc()
225 static void meson_pwm_enable(struct meson_pwm *meson, struct pwm_device *pwm) in meson_pwm_enable()
253 static void meson_pwm_disable(struct meson_pwm *meson, struct pwm_device *pwm) in meson_pwm_disable()
271 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_apply()
313 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_cnt_to_ns()
333 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_get_state()
492 static int meson_pwm_init_channels(struct meson_pwm *meson) in meson_pwm_init_channels()
539 struct meson_pwm *meson; in meson_pwm_probe()
579 struct meson_pwm *meson = platform_get_drvdata(pdev); in meson_pwm_remove()