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

/linux-4.4.14/drivers/pwm/
H A Dpwm-rcar.c38 struct rcar_pwm_chip { struct
44 static inline struct rcar_pwm_chip *to_rcar_pwm_chip(struct pwm_chip *chip) to_rcar_pwm_chip()
46 return container_of(chip, struct rcar_pwm_chip, chip); to_rcar_pwm_chip()
49 static void rcar_pwm_write(struct rcar_pwm_chip *rp, u32 data, rcar_pwm_write()
55 static u32 rcar_pwm_read(struct rcar_pwm_chip *rp, unsigned int offset) rcar_pwm_read()
60 static void rcar_pwm_update(struct rcar_pwm_chip *rp, u32 mask, u32 data, rcar_pwm_update()
71 static int rcar_pwm_get_clock_division(struct rcar_pwm_chip *rp, int period_ns) rcar_pwm_get_clock_division()
91 static void rcar_pwm_set_clock_control(struct rcar_pwm_chip *rp, rcar_pwm_set_clock_control()
108 static int rcar_pwm_set_counter(struct rcar_pwm_chip *rp, int div, int duty_ns, rcar_pwm_set_counter()
137 struct rcar_pwm_chip *rp = to_rcar_pwm_chip(chip); rcar_pwm_request()
144 struct rcar_pwm_chip *rp = to_rcar_pwm_chip(chip); rcar_pwm_free()
152 struct rcar_pwm_chip *rp = to_rcar_pwm_chip(chip); rcar_pwm_config()
177 struct rcar_pwm_chip *rp = to_rcar_pwm_chip(chip); rcar_pwm_enable()
193 struct rcar_pwm_chip *rp = to_rcar_pwm_chip(chip); rcar_pwm_disable()
209 struct rcar_pwm_chip *rcar_pwm; rcar_pwm_probe()
248 struct rcar_pwm_chip *rcar_pwm = platform_get_drvdata(pdev); rcar_pwm_remove()

Completed in 138 milliseconds