Lines Matching refs:cnt
382 u32 cnt;
384 cnt = hpet_readl(HPET_COUNTER);
385 cnt += (u32) delta;
386 hpet_writel(cnt, HPET_Tn_CMP(timer));
388 if (unlikely((u32)hpet_readl(HPET_Tn_CMP(timer)) != cnt)) {
389 if (hpet_readl(HPET_Tn_CMP(timer)) != cnt)
394 return (s32)(hpet_readl(HPET_COUNTER) - cnt) >= 0 ? -ETIME : 0;
1041 unsigned int cfg, cnt, delta;
1062 cnt = delta + hpet_readl(HPET_COUNTER);
1063 hpet_writel(cnt, HPET_T1_CMP);
1064 hpet_t1_cmp = cnt;