Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-fsl-ftm.c43 struct fsl_pwm_chip { struct
57 static inline struct fsl_pwm_chip *to_fsl_chip(struct pwm_chip *chip) in to_fsl_chip()
59 return container_of(chip, struct fsl_pwm_chip, chip); in to_fsl_chip()
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()
107 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_free()
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 *fp
[all...]
/kernel/linux/linux-6.6/drivers/pwm/
H A Dpwm-fsl-ftm.c42 struct fsl_pwm_chip { struct
56 static inline struct fsl_pwm_chip *to_fsl_chip(struct pwm_chip *chip) in to_fsl_chip()
58 return container_of(chip, struct fsl_pwm_chip, chip); in to_fsl_chip()
61 static void ftm_clear_write_protection(struct fsl_pwm_chip *fpc) in ftm_clear_write_protection()
70 static void ftm_set_write_protection(struct fsl_pwm_chip *fpc) in ftm_set_write_protection()
90 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_request()
104 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_free()
115 static unsigned int fsl_pwm_ticks_to_ns(struct fsl_pwm_chip *fpc, in fsl_pwm_ticks_to_ns()
128 static bool fsl_pwm_calculate_period_clk(struct fsl_pwm_chip *fpc, in fsl_pwm_calculate_period_clk()
155 static bool fsl_pwm_calculate_period(struct fsl_pwm_chip *fp
[all...]

Completed in 2 milliseconds