Lines Matching refs:berlin_pwm_chip
48 struct berlin_pwm_chip { struct
54 static inline struct berlin_pwm_chip *to_berlin_pwm_chip(struct pwm_chip *chip) in to_berlin_pwm_chip() argument
56 return container_of(chip, struct berlin_pwm_chip, chip); in to_berlin_pwm_chip()
59 static inline u32 berlin_pwm_readl(struct berlin_pwm_chip *chip, in berlin_pwm_readl()
65 static inline void berlin_pwm_writel(struct berlin_pwm_chip *chip, in berlin_pwm_writel()
93 struct berlin_pwm_chip *pwm = to_berlin_pwm_chip(chip); in berlin_pwm_config()
132 struct berlin_pwm_chip *pwm = to_berlin_pwm_chip(chip); in berlin_pwm_set_polarity()
149 struct berlin_pwm_chip *pwm = to_berlin_pwm_chip(chip); in berlin_pwm_enable()
162 struct berlin_pwm_chip *pwm = to_berlin_pwm_chip(chip); in berlin_pwm_disable()
188 struct berlin_pwm_chip *pwm; in berlin_pwm_probe()
230 struct berlin_pwm_chip *pwm = platform_get_drvdata(pdev); in berlin_pwm_remove()
242 struct berlin_pwm_chip *pwm = dev_get_drvdata(dev); in berlin_pwm_suspend()
265 struct berlin_pwm_chip *pwm = dev_get_drvdata(dev); in berlin_pwm_resume()