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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-samsung/
H A Dpwm.c202 long tcmp; local
221 tcmp = __raw_readl(S3C2410_TCMPB(pwm->pwm_id));
249 tcmp = duty_ns / tin_ns;
250 tcmp = tcnt - tcmp;
252 so the pin never toggles if tcmp = tcnt */
253 if (tcmp == tcnt)
254 tcmp--;
256 pwm_dbg(pwm, "tin_ns=%lu, tcmp=%ld/%lu\n", tin_ns, tcmp, tcn
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-mxc/
H A Dtime.c146 unsigned long tcmp; local
148 tcmp = __raw_readl(timer_base + MX1_2_TCN) + evt;
150 __raw_writel(tcmp, timer_base + MX1_2_TCMP);
152 return (int)(tcmp - __raw_readl(timer_base + MX1_2_TCN)) < 0 ?
159 unsigned long tcmp; local
161 tcmp = __raw_readl(timer_base + V2_TCN) + evt;
163 __raw_writel(tcmp, timer_base + V2_TCMP);
165 return (int)(tcmp - __raw_readl(timer_base + V2_TCN)) < 0 ?

Completed in 115 milliseconds