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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/misc/
H A Datmel_pwm.c20 #define PWM_NCHAN 4 /* max 32 */ macro
29 struct pwm_channel *channel[PWM_NCHAN];
30 void (*handler[PWM_NCHAN])(struct pwm_channel *);
97 if (index < 0 || index >= PWM_NCHAN || !ch)
134 if (index < 0 || index >= PWM_NCHAN || pwm->channel[index] != ch)
318 if (*mp & ~((1<<PWM_NCHAN)-1)) {
320 *mp, PWM_NCHAN);
369 pwm_writel(pwm, PWM_DIS, (1 << PWM_NCHAN) - 1);
370 pwm_writel(pwm, PWM_IDR, (1 << PWM_NCHAN) - 1);

Completed in 103 milliseconds