Lines Matching defs:fpc
60 static void ftm_clear_write_protection(struct fsl_pwm_chip *fpc) in ftm_clear_write_protection()
69 static void ftm_set_write_protection(struct fsl_pwm_chip *fpc) in ftm_set_write_protection()
89 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_request() local
103 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_free() local
114 static unsigned int fsl_pwm_ticks_to_ns(struct fsl_pwm_chip *fpc, in fsl_pwm_ticks_to_ns()
130 static bool fsl_pwm_calculate_period_clk(struct fsl_pwm_chip *fpc, in fsl_pwm_calculate_period_clk()
157 static bool fsl_pwm_calculate_period(struct fsl_pwm_chip *fpc, in fsl_pwm_calculate_period()
188 static unsigned int fsl_pwm_calculate_duty(struct fsl_pwm_chip *fpc, in fsl_pwm_calculate_duty()
205 static bool fsl_pwm_is_any_pwm_enabled(struct fsl_pwm_chip *fpc, in fsl_pwm_is_any_pwm_enabled()
217 static bool fsl_pwm_is_other_pwm_enabled(struct fsl_pwm_chip *fpc, in fsl_pwm_is_other_pwm_enabled()
233 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_apply_config() local
305 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_apply() local
361 static int fsl_pwm_init(struct fsl_pwm_chip *fpc) in fsl_pwm_init()
402 struct fsl_pwm_chip *fpc; in fsl_pwm_probe() local
470 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_suspend() local
497 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_resume() local