Home
last modified time | relevance | path

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

/drivers/pwm/
Dpwm-ep93xx.c45 struct ep93xx_pwm { struct
51 static inline struct ep93xx_pwm *to_ep93xx_pwm(struct pwm_chip *chip) in to_ep93xx_pwm() argument
53 return container_of(chip, struct ep93xx_pwm, chip); in to_ep93xx_pwm()
73 struct ep93xx_pwm *ep93xx_pwm = to_ep93xx_pwm(chip); in ep93xx_pwm_config() local
74 void __iomem *base = ep93xx_pwm->base; in ep93xx_pwm_config()
86 ret = clk_enable(ep93xx_pwm->clk); in ep93xx_pwm_config()
91 c = clk_get_rate(ep93xx_pwm->clk); in ep93xx_pwm_config()
117 clk_disable(ep93xx_pwm->clk); in ep93xx_pwm_config()
125 struct ep93xx_pwm *ep93xx_pwm = to_ep93xx_pwm(chip); in ep93xx_pwm_polarity() local
132 ret = clk_enable(ep93xx_pwm->clk); in ep93xx_pwm_polarity()
[all …]