Lines Matching refs:pwm_chip
116 static inline struct ehrpwm_pwm_chip *to_ehrpwm_pwm_chip(struct pwm_chip *chip) in to_ehrpwm_pwm_chip()
217 static int ehrpwm_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in ehrpwm_pwm_config()
306 static int ehrpwm_pwm_set_polarity(struct pwm_chip *chip, in ehrpwm_pwm_set_polarity()
318 static int ehrpwm_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in ehrpwm_pwm_enable()
356 static void ehrpwm_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) in ehrpwm_pwm_disable()
390 static void ehrpwm_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) in ehrpwm_pwm_free()
403 static int ehrpwm_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in ehrpwm_pwm_apply()
452 struct pwm_chip *chip; in ehrpwm_pwm_probe()
514 struct pwm_chip *chip = platform_get_drvdata(pdev); in ehrpwm_pwm_remove()
524 static void ehrpwm_pwm_save_context(struct pwm_chip *chip) in ehrpwm_pwm_save_context()
542 static void ehrpwm_pwm_restore_context(struct pwm_chip *chip) in ehrpwm_pwm_restore_context()
558 struct pwm_chip *chip = dev_get_drvdata(dev); in ehrpwm_pwm_suspend()
578 struct pwm_chip *chip = dev_get_drvdata(dev); in ehrpwm_pwm_resume()