Lines Matching refs:ehrpwm_pwm_chip
107 struct ehrpwm_pwm_chip { struct
117 static inline struct ehrpwm_pwm_chip *to_ehrpwm_pwm_chip(struct pwm_chip *chip) in to_ehrpwm_pwm_chip() argument
119 return container_of(chip, struct ehrpwm_pwm_chip, chip); in to_ehrpwm_pwm_chip()
181 static void configure_polarity(struct ehrpwm_pwm_chip *pc, int chan) in configure_polarity()
221 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_config()
311 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_set_polarity()
321 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_enable()
359 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_disable()
393 struct ehrpwm_pwm_chip *pc = to_ehrpwm_pwm_chip(chip); in ehrpwm_pwm_free()
423 struct ehrpwm_pwm_chip *pc; in ehrpwm_pwm_probe()
486 struct ehrpwm_pwm_chip *pc = platform_get_drvdata(pdev); in ehrpwm_pwm_remove()
498 static void ehrpwm_pwm_save_context(struct ehrpwm_pwm_chip *pc) in ehrpwm_pwm_save_context()
514 static void ehrpwm_pwm_restore_context(struct ehrpwm_pwm_chip *pc) in ehrpwm_pwm_restore_context()
528 struct ehrpwm_pwm_chip *pc = dev_get_drvdata(dev); in ehrpwm_pwm_suspend()
548 struct ehrpwm_pwm_chip *pc = dev_get_drvdata(dev); in ehrpwm_pwm_resume()