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 *imgchip, in img_pwm_writel()
86 static inline u32 img_pwm_readl(struct img_pwm_chip *imgchip, u32 reg) in img_pwm_readl()
96 struct img_pwm_chip *imgchip = to_img_pwm_chip(chip); in img_pwm_config()
153 struct img_pwm_chip *imgchip = to_img_pwm_chip(chip); in img_pwm_enable()
174 struct img_pwm_chip *imgchip = to_img_pwm_chip(chip); in img_pwm_disable()
229 struct img_pwm_chip *imgchip = dev_get_drvdata(dev); in img_pwm_runtime_suspend()
239 struct img_pwm_chip *imgchip = dev_get_drvdata(dev); in img_pwm_runtime_resume()
263 struct img_pwm_chip *imgchip; in img_pwm_probe()
348 struct img_pwm_chip *imgchip = platform_get_drvdata(pdev); in img_pwm_remove()
360 struct img_pwm_chip *imgchip = dev_get_drvdata(dev); in img_pwm_suspend()
382 struct img_pwm_chip *imgchip = dev_get_drvdata(dev); in img_pwm_resume()