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);
423 struct ehrpwm_pwm_chip *pc;
495 struct ehrpwm_pwm_chip *pc = platform_get_drvdata(pdev);
505 static void ehrpwm_pwm_save_context(struct ehrpwm_pwm_chip *pc)
521 static void ehrpwm_pwm_restore_context(struct ehrpwm_pwm_chip *pc)
535 struct ehrpwm_pwm_chip *pc = dev_get_drvdata(dev);
555 struct ehrpwm_pwm_chip *pc = dev_get_drvdata(dev);