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()
149 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_free()
155 static int meson_pwm_calc(struct meson_pwm *meson, struct pwm_device *pwm, in meson_pwm_calc()
219 static void meson_pwm_enable(struct meson_pwm *meson, struct pwm_device *pwm) in meson_pwm_enable()
247 static void meson_pwm_disable(struct meson_pwm *meson, struct pwm_device *pwm) in meson_pwm_disable()
264 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_apply()
304 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_cnt_to_ns()
324 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_get_state()
483 static int meson_pwm_init_channels(struct meson_pwm *meson) in meson_pwm_init_channels()
530 struct meson_pwm *meson; in meson_pwm_probe()