Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
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_pw in ep93xx_pwm_polarity() local
139 struct ep93xx_pwm *ep93xx_pwm = to_ep93xx_pwm(chip); ep93xx_pwm_enable() local
153 struct ep93xx_pwm *ep93xx_pwm = to_ep93xx_pwm(chip); ep93xx_pwm_disable() local
171 struct ep93xx_pwm *ep93xx_pwm; ep93xx_pwm_probe() local
203 struct ep93xx_pwm *ep93xx_pwm = platform_get_drvdata(pdev); ep93xx_pwm_remove() local
[all...]
/kernel/linux/linux-6.6/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()
44 return container_of(chip, struct ep93xx_pwm, chip); in to_ep93xx_pwm()
65 struct ep93xx_pwm *ep93xx_pwm = to_ep93xx_pwm(chip); in ep93xx_pwm_apply() local
67 void __iomem *base = ep93xx_pwm->base; in ep93xx_pwm_apply()
75 writew(0x0, ep93xx_pwm->base + EP93XX_PWMx_ENABLE); in ep93xx_pwm_apply()
76 clk_disable_unprepare(ep93xx_pwm->clk); in ep93xx_pwm_apply()
84 ret = clk_prepare_enable(ep93xx_pwm->clk); in ep93xx_pwm_apply()
89 writew(0x1, ep93xx_pwm in ep93xx_pwm_apply()
167 struct ep93xx_pwm *ep93xx_pwm; ep93xx_pwm_probe() local
[all...]

Completed in 2 milliseconds