Home
last modified time | relevance | path

Searched refs:counter_value (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/hw/misc/
H A Dmos6522.c161 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),
/openbmc/linux/arch/x86/kvm/
H A Dpmu.h131 static inline u64 get_sample_period(struct kvm_pmc *pmc, u64 counter_value) in get_sample_period() argument
133 u64 sample_period = (-counter_value) & pmc_bitmask(pmc); in get_sample_period()
/openbmc/qemu/include/hw/misc/
H A Dmos6522.h107 uint16_t counter_value; member
/openbmc/linux/arch/powerpc/include/asm/
H A Dhvcall.h659 __u8 counter_value[]; member