Searched refs:fsl_pwm_chip (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/pwm/
H A Dpwm-fsl-ftm.c78 struct fsl_pwm_chip { struct
94 static inline struct fsl_pwm_chip *to_fsl_chip(struct pwm_chip *chip) to_fsl_chip()
96 return container_of(chip, struct fsl_pwm_chip, chip); to_fsl_chip()
101 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); fsl_pwm_request()
108 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); fsl_pwm_free()
113 static int fsl_pwm_calculate_default_ps(struct fsl_pwm_chip *fpc, fsl_pwm_calculate_default_ps()
148 static unsigned long fsl_pwm_calculate_cycles(struct fsl_pwm_chip *fpc, fsl_pwm_calculate_cycles()
167 static unsigned long fsl_pwm_calculate_period_cycles(struct fsl_pwm_chip *fpc, fsl_pwm_calculate_period_cycles()
184 static unsigned long fsl_pwm_calculate_period(struct fsl_pwm_chip *fpc, fsl_pwm_calculate_period()
219 static unsigned long fsl_pwm_calculate_duty(struct fsl_pwm_chip *fpc, fsl_pwm_calculate_duty()
236 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); fsl_pwm_config()
284 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); fsl_pwm_set_polarity()
299 static int fsl_counter_clock_enable(struct fsl_pwm_chip *fpc) fsl_counter_clock_enable()
325 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); fsl_pwm_enable()
337 static void fsl_counter_clock_disable(struct fsl_pwm_chip *fpc) fsl_counter_clock_disable()
358 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); fsl_pwm_disable()
384 static int fsl_pwm_init(struct fsl_pwm_chip *fpc) fsl_pwm_init()
422 struct fsl_pwm_chip *fpc; fsl_pwm_probe()
486 struct fsl_pwm_chip *fpc = platform_get_drvdata(pdev); fsl_pwm_remove()
494 struct fsl_pwm_chip *fpc = dev_get_drvdata(dev); fsl_pwm_suspend()
513 struct fsl_pwm_chip *fpc = dev_get_drvdata(dev); fsl_pwm_resume()

Completed in 34 milliseconds