Searched refs:counter_value (Results 1 – 4 of 4) sorted by relevance
161 if (d <= (ti->counter_value + 1)) { in get_counter()162 counter = (ti->counter_value - d) & 0xffff; in get_counter()164 counter = (d - (ti->counter_value + 1)) % (ti->latch + 2); in get_counter()168 counter = (ti->counter_value - d) & 0xffff; in get_counter()177 ti->counter_value = val; in set_counter()200 if (d <= (ti->counter_value + 1)) { in get_next_irq_time()201 counter = (ti->counter_value - d) & 0xffff; in get_next_irq_time()203 counter = (d - (ti->counter_value + 1)) % (ti->latch + 2); in get_next_irq_time()616 VMSTATE_UINT16(counter_value, MOS6522Timer),
131 static inline u64 get_sample_period(struct kvm_pmc *pmc, u64 counter_value) in get_sample_period() argument133 u64 sample_period = (-counter_value) & pmc_bitmask(pmc); in get_sample_period()
107 uint16_t counter_value; member
659 __u8 counter_value[]; member