Lines Matching defs:ehrpwm_pwm_chip
107 struct ehrpwm_pwm_chip {
117 static inline struct ehrpwm_pwm_chip *to_ehrpwm_pwm_chip(struct pwm_chip *chip)
119 return container_of(chip, struct ehrpwm_pwm_chip, chip);
181 static void configure_polarity(struct ehrpwm_pwm_chip *pc, int chan)
221 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip);
311 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip);
321 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip);
359 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip);
393 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip);
453 struct ehrpwm_pwm_chip *pc;
516 struct ehrpwm_pwm_chip *pc = platform_get_drvdata(pdev);
526 static void ehrpwm_pwm_save_context(struct ehrpwm_pwm_chip *pc)
542 static void ehrpwm_pwm_restore_context(struct ehrpwm_pwm_chip *pc)
556 struct ehrpwm_pwm_chip *pc = dev_get_drvdata(dev);
576 struct ehrpwm_pwm_chip *pc = dev_get_drvdata(dev);