Home
last modified time | relevance | path

Searched refs:meson_pwm (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pwm/
H A Dpwm-meson.c104 struct meson_pwm { struct
116 static inline struct meson_pwm *to_meson_pwm(struct pwm_chip *chip) in to_meson_pwm() argument
118 return container_of(chip, struct meson_pwm, chip); in to_meson_pwm()
123 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_request()
140 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_free()
146 static int meson_pwm_calc(struct meson_pwm *meson, struct pwm_device *pwm, in meson_pwm_calc()
206 static void meson_pwm_enable(struct meson_pwm *meson, struct pwm_device *pwm) in meson_pwm_enable()
233 static void meson_pwm_disable(struct meson_pwm *meson, struct pwm_device *pwm) in meson_pwm_disable()
250 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_apply()
290 struct meson_pwm *meson = to_meson_pwm(chip); in meson_pwm_cnt_to_ns()
[all …]