Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/pwm/
H A Dpwm-ep93xx.c36 struct ep93xx_pwm { struct
42 static inline struct ep93xx_pwm *to_ep93xx_pwm(struct pwm_chip *chip) in to_ep93xx_pwm() argument
44 return container_of(chip, struct ep93xx_pwm, chip); in to_ep93xx_pwm()
64 struct ep93xx_pwm *ep93xx_pwm = to_ep93xx_pwm(chip); in ep93xx_pwm_config() local
65 void __iomem *base = ep93xx_pwm->base; in ep93xx_pwm_config()
77 ret = clk_enable(ep93xx_pwm->clk); in ep93xx_pwm_config()
82 c = clk_get_rate(ep93xx_pwm->clk); in ep93xx_pwm_config()
108 clk_disable(ep93xx_pwm->clk); in ep93xx_pwm_config()
116 struct ep93xx_pwm *ep93xx_pwm = to_ep93xx_pwm(chip); in ep93xx_pwm_polarity() local
123 ret = clk_enable(ep93xx_pwm->clk); in ep93xx_pwm_polarity()
[all …]