Lines Matching defs:hpet_readl
53 inline unsigned int hpet_readl(unsigned int a)
132 l = hpet_readl(HPET_ID);
133 h = hpet_readl(HPET_PERIOD);
136 l = hpet_readl(HPET_CFG);
137 h = hpet_readl(HPET_STATUS);
139 l = hpet_readl(HPET_COUNTER);
140 h = hpet_readl(HPET_COUNTER+4);
144 l = hpet_readl(HPET_Tn_CFG(i));
145 h = hpet_readl(HPET_Tn_CFG(i)+4);
148 l = hpet_readl(HPET_Tn_CMP(i));
149 h = hpet_readl(HPET_Tn_CMP(i)+4);
152 l = hpet_readl(HPET_Tn_ROUTE(i));
153 h = hpet_readl(HPET_Tn_ROUTE(i)+4);
239 unsigned long cfg = hpet_readl(HPET_CFG);
252 unsigned int cfg = hpet_readl(HPET_CFG);
277 unsigned int cfg = hpet_readl(HPET_CFG);
328 now = hpet_readl(HPET_COUNTER);
330 cfg = hpet_readl(HPET_Tn_CFG(timer));
351 cfg = hpet_readl(HPET_Tn_CFG(timer));
359 cfg = hpet_readl(HPET_Tn_CFG(timer));
384 cnt = hpet_readl(HPET_COUNTER);
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;
423 cfg = hpet_readl(HPET_Tn_CFG(hdev->num));
434 cfg = hpet_readl(HPET_Tn_CFG(hdev->num));
451 msg->data = hpet_readl(HPET_Tn_ROUTE(hdev->num));
452 msg->address_lo = hpet_readl(HPET_Tn_ROUTE(hdev->num) + 4);
594 id = hpet_readl(HPET_ID);
608 unsigned int cfg = hpet_readl(HPET_Tn_CFG(i));
750 return (cycle_t)hpet_readl(HPET_COUNTER);
782 t1 = hpet_readl(HPET_COUNTER);
796 if (t1 == hpet_readl(HPET_COUNTER)) {
839 hpet_period = hpet_readl(HPET_PERIOD);
854 for (i = 0; hpet_readl(HPET_CFG) == 0xFFFFFFFF; i++) {
870 id = hpet_readl(HPET_ID);
921 if (hpet_readl(HPET_ID) & HPET_ID_LEGSUP)
926 hpet_reserve_platform_timers(hpet_readl(HPET_ID));
949 unsigned int cfg = hpet_readl(HPET_CFG);
1062 cnt = delta + hpet_readl(HPET_COUNTER);
1066 cfg = hpet_readl(HPET_T1_CFG);
1157 cfg = hpet_readl(HPET_T1_CFG);
1176 } while (!hpet_cnt_ahead(hpet_t1_cmp, hpet_readl(HPET_COUNTER)));