Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-img.c61 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()
[all …]