Lines Matching full:count

44  * are zero. Bit 31 is 1 when count has been reached.
56 uint32_t count, counthigh, reached; member
105 // Update count, set irq, update expire_time
109 uint64_t count, limit; in slavio_timer_get_out() local
116 count = limit - PERIODS_TO_LIMIT(ptimer_get_count(t->timer)); in slavio_timer_get_out()
118 trace_slavio_timer_get_out(t->limit, t->counthigh, t->count); in slavio_timer_get_out()
119 t->count = count & TIMER_COUNT_MASK32; in slavio_timer_get_out()
120 t->counthigh = count >> 32; in slavio_timer_get_out()
131 trace_slavio_timer_irq(t->counthigh, t->count); in slavio_timer_irq()
173 ret = t->count & TIMER_MAX_COUNT64; in slavio_timer_mem_readl()
175 ret = (t->count & TIMER_MAX_COUNT32) | in slavio_timer_mem_readl()
217 uint64_t count; in slavio_timer_mem_writel() local
223 count = ((uint64_t)t->counthigh << 32) | t->count; in slavio_timer_mem_writel()
224 trace_slavio_timer_mem_writel_limit(timer_index, count); in slavio_timer_mem_writel()
225 ptimer_set_count(t->timer, LIMIT_TO_PERIODS(t->limit - count)); in slavio_timer_mem_writel()
241 uint64_t count; in slavio_timer_mem_writel() local
245 t->count = val & TIMER_MAX_COUNT64; in slavio_timer_mem_writel()
247 count = ((uint64_t)t->counthigh) << 32 | t->count; in slavio_timer_mem_writel()
248 trace_slavio_timer_mem_writel_limit(timer_index, count); in slavio_timer_mem_writel()
250 ptimer_set_count(t->timer, LIMIT_TO_PERIODS(t->limit - count)); in slavio_timer_mem_writel()
349 VMSTATE_UINT32(count, CPUTimerState),
378 curr_timer->count = 0; in slavio_timer_reset()