Home
last modified time | relevance | path

Searched defs:pwm (Results 1 – 9 of 9) sorted by relevance

/arch/arm/plat-samsung/
Dpwm.c48 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()
[all …]
Dpwm-clock.c408 static __init int clk_pwm_tin_register(struct clk *pwm) in clk_pwm_tin_register()
/arch/unicore32/kernel/
Dpwm.c42 int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns) in pwm_config()
81 int pwm_enable(struct pwm_device *pwm) in pwm_enable()
94 void pwm_disable(struct pwm_device *pwm) in pwm_disable()
108 struct pwm_device *pwm; in pwm_request() local
134 void pwm_free(struct pwm_device *pwm) in pwm_free()
148 static inline void __add_pwm(struct pwm_device *pwm) in __add_pwm()
158 struct pwm_device *pwm; in pwm_probe() local
206 struct pwm_device *pwm = pwm_probe(pdev, pdev->id, NULL); in puv3_pwm_probe() local
216 struct pwm_device *pwm; in pwm_remove() local
/arch/blackfin/kernel/
Dpwm.c28 struct pwm_device *pwm; in pwm_request() local
55 void pwm_free(struct pwm_device *pwm) in pwm_free()
62 int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns) in pwm_config()
89 int pwm_enable(struct pwm_device *pwm) in pwm_enable()
96 void pwm_disable(struct pwm_device *pwm) in pwm_disable()
/arch/arm/plat-pxa/
Dpwm.c64 int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns) in pwm_config()
103 int pwm_enable(struct pwm_device *pwm) in pwm_enable()
116 void pwm_disable(struct pwm_device *pwm) in pwm_disable()
130 struct pwm_device *pwm; in pwm_request() local
156 void pwm_free(struct pwm_device *pwm) in pwm_free()
170 static inline void __add_pwm(struct pwm_device *pwm) in __add_pwm()
180 struct pwm_device *pwm, *secondary = NULL; in pwm_probe() local
255 struct pwm_device *pwm; in pwm_remove() local
/arch/mips/jz4740/
Dpwm.c48 struct pwm_device *pwm; in pwm_request() local
81 void pwm_free(struct pwm_device *pwm) in pwm_free()
94 int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns) in pwm_config()
144 int pwm_enable(struct pwm_device *pwm) in pwm_enable()
155 void pwm_disable(struct pwm_device *pwm) in pwm_disable()
/arch/arm/plat-mxc/
Dpwm.c58 int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns) in pwm_config()
130 int pwm_enable(struct pwm_device *pwm) in pwm_enable()
143 void pwm_disable(struct pwm_device *pwm) in pwm_disable()
159 struct pwm_device *pwm; in pwm_request() local
185 void pwm_free(struct pwm_device *pwm) in pwm_free()
201 struct pwm_device *pwm; in mxc_pwm_probe() local
263 struct pwm_device *pwm; in mxc_pwm_remove() local
/arch/arm/mach-vt8500/
Dpwm.c56 int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns) in pwm_config()
96 int pwm_enable(struct pwm_device *pwm) in pwm_enable()
104 void pwm_disable(struct pwm_device *pwm) in pwm_disable()
113 struct pwm_device *pwm; in pwm_request() local
141 void pwm_free(struct pwm_device *pwm) in pwm_free()
156 static inline void __add_pwm(struct pwm_device *pwm) in __add_pwm()
/arch/powerpc/include/asm/
Dmpc52xx.h111 u32 pwm; /* GPTx + 0x08 */ member