Lines Matching defs:fpc
62 static void ftm_clear_write_protection(struct fsl_pwm_chip *fpc) in ftm_clear_write_protection()
72 static void ftm_set_write_protection(struct fsl_pwm_chip *fpc) in ftm_set_write_protection()
92 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_request() local
107 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_free() local
119 static unsigned int fsl_pwm_ticks_to_ns(struct fsl_pwm_chip *fpc, in fsl_pwm_ticks_to_ns()
132 static bool fsl_pwm_calculate_period_clk(struct fsl_pwm_chip *fpc, in fsl_pwm_calculate_period_clk()
159 static bool fsl_pwm_calculate_period(struct fsl_pwm_chip *fpc, in fsl_pwm_calculate_period()
190 static unsigned int fsl_pwm_calculate_duty(struct fsl_pwm_chip *fpc, in fsl_pwm_calculate_duty()
204 static bool fsl_pwm_is_any_pwm_enabled(struct fsl_pwm_chip *fpc, in fsl_pwm_is_any_pwm_enabled()
216 static bool fsl_pwm_is_other_pwm_enabled(struct fsl_pwm_chip *fpc, in fsl_pwm_is_other_pwm_enabled()
228 static int fsl_pwm_apply_config(struct fsl_pwm_chip *fpc, in fsl_pwm_apply_config()
303 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()
401 struct fsl_pwm_chip *fpc; in fsl_pwm_probe() local
474 struct fsl_pwm_chip *fpc = platform_get_drvdata(pdev); in fsl_pwm_remove() local
482 struct fsl_pwm_chip *fpc = dev_get_drvdata(dev); in fsl_pwm_suspend() local
508 struct fsl_pwm_chip *fpc = dev_get_drvdata(dev); in fsl_pwm_resume() local