Lines Matching refs:img_pwm_chip
61 struct img_pwm_chip { struct
75 static inline struct img_pwm_chip *to_img_pwm_chip(struct pwm_chip *chip) in to_img_pwm_chip() argument
77 return container_of(chip, struct img_pwm_chip, chip); in to_img_pwm_chip()
80 static inline void img_pwm_writel(struct img_pwm_chip *chip, in img_pwm_writel()
86 static inline u32 img_pwm_readl(struct img_pwm_chip *chip, in img_pwm_readl()
97 struct img_pwm_chip *pwm_chip = to_img_pwm_chip(chip); in img_pwm_config()
154 struct img_pwm_chip *pwm_chip = to_img_pwm_chip(chip); in img_pwm_enable()
175 struct img_pwm_chip *pwm_chip = to_img_pwm_chip(chip); in img_pwm_disable()
207 struct img_pwm_chip *pwm_chip = dev_get_drvdata(dev); in img_pwm_runtime_suspend()
217 struct img_pwm_chip *pwm_chip = dev_get_drvdata(dev); in img_pwm_runtime_resume()
242 struct img_pwm_chip *pwm; in img_pwm_probe()
328 struct img_pwm_chip *pwm_chip = platform_get_drvdata(pdev); in img_pwm_remove()
354 struct img_pwm_chip *pwm_chip = dev_get_drvdata(dev); in img_pwm_suspend()
376 struct img_pwm_chip *pwm_chip = dev_get_drvdata(dev); in img_pwm_resume()