Lines Matching defs:pwm
48 static inline int pwm_is_tdiv(struct pwm_device *pwm) in pwm_is_tdiv()
58 struct pwm_device *pwm; in pwm_request() local
86 void pwm_free(struct pwm_device *pwm) in pwm_free()
101 #define pwm_tcon_start(pwm) (1 << (pwm->tcon_base + 0)) argument
102 #define pwm_tcon_invert(pwm) (1 << (pwm->tcon_base + 2)) argument
103 #define pwm_tcon_autoreload(pwm) (1 << (pwm->tcon_base + 3)) argument
104 #define pwm_tcon_manulupdate(pwm) (1 << (pwm->tcon_base + 1)) argument
106 int pwm_enable(struct pwm_device *pwm) in pwm_enable()
125 void pwm_disable(struct pwm_device *pwm) in pwm_disable()
143 static unsigned long pwm_calc_tin(struct pwm_device *pwm, unsigned long freq) in pwm_calc_tin()
161 int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns) in pwm_config()
250 static int pwm_register(struct pwm_device *pwm) in pwm_register()
265 struct pwm_device *pwm; in s3c_pwm_probe() local
346 struct pwm_device *pwm = platform_get_drvdata(pdev); in s3c_pwm_remove() local
360 struct pwm_device *pwm = platform_get_drvdata(pdev); in s3c_pwm_suspend() local
374 struct pwm_device *pwm = platform_get_drvdata(pdev); in s3c_pwm_resume() local