Home
last modified time | relevance | path

Searched refs:rcar_pwm_chip (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/pwm/
Dpwm-rcar.c40 struct rcar_pwm_chip { struct
46 static inline struct rcar_pwm_chip *to_rcar_pwm_chip(struct pwm_chip *chip) in to_rcar_pwm_chip() argument
48 return container_of(chip, struct rcar_pwm_chip, chip); in to_rcar_pwm_chip()
51 static void rcar_pwm_write(struct rcar_pwm_chip *rp, u32 data, in rcar_pwm_write()
57 static u32 rcar_pwm_read(struct rcar_pwm_chip *rp, unsigned int offset) in rcar_pwm_read()
62 static void rcar_pwm_update(struct rcar_pwm_chip *rp, u32 mask, u32 data, in rcar_pwm_update()
73 static int rcar_pwm_get_clock_division(struct rcar_pwm_chip *rp, int period_ns) in rcar_pwm_get_clock_division()
89 static void rcar_pwm_set_clock_control(struct rcar_pwm_chip *rp, in rcar_pwm_set_clock_control()
106 static int rcar_pwm_set_counter(struct rcar_pwm_chip *rp, int div, int duty_ns, in rcar_pwm_set_counter()
143 static int rcar_pwm_enable(struct rcar_pwm_chip *rp) in rcar_pwm_enable()
[all …]