Home
last modified time | relevance | path

Searched refs:tick (Results 1 – 24 of 24) sorted by relevance

/qemu/hw/nvram/
H A Deeprom93xx.c77 uint8_t tick; member
157 uint8_t tick = eeprom->tick; in eeprom93xx_write() local
168 tick = 0; in eeprom93xx_write()
199 if (tick == 0) { in eeprom93xx_write()
203 tick++; in eeprom93xx_write()
213 tick++; in eeprom93xx_write()
219 tick++; in eeprom93xx_write()
226 tick++; in eeprom93xx_write()
260 tick++; in eeprom93xx_write()
272 eeprom->tick = tick; in eeprom93xx_write()
[all …]
/qemu/hw/timer/
H A Dstellaris-gptm.c32 int64_t tick; in gptm_reload() local
34 tick = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in gptm_reload()
36 tick = s->tick[n]; in gptm_reload()
43 tick += clock_ticks_to_ns(s->clk, count); in gptm_reload()
46 tick += NANOSECONDS_PER_SECOND; in gptm_reload()
55 s->tick[n] = tick; in gptm_reload()
56 timer_mod(s->timer[n], tick); in gptm_reload()
265 VMSTATE_INT64_ARRAY(tick, gptm_state, 2),
H A Dsse-counter.c114 uint64_t sse_counter_tick_to_time(SSECounter *s, uint64_t tick) in sse_counter_tick_to_time() argument
120 tick -= s->ticks_then; in sse_counter_tick_to_time()
124 tick = muldiv64(tick, 0x01000000, s->cntscr0); in sse_counter_tick_to_time()
127 return s->ns_then + clock_ticks_to_ns(s->clk, tick); in sse_counter_tick_to_time()
H A Drenesas_cmt.c82 delta = (now - cmt->tick[ch]); in read_cmcnt()
86 cmt->tick[ch] = now; in read_cmcnt()
194 cmt->tick[ch] = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in timer_events()
250 VMSTATE_INT64_ARRAY(tick, RCMTState, CMT_CH),
H A Drenesas_tmr.c131 delta = (now - tmr->tick) * NANOSECONDS_PER_SECOND / tmr->input_freq; in read_tcnt()
133 tmr->tick = now; in read_tcnt()
424 tmr->tick = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in rtmr_reset()
451 VMSTATE_INT64(tick, RTMRState),
H A Darmv7m_systick.c282 VMSTATE_INT64(tick, SysTickState),
H A Dtrace-events38 systick_timer_tick(void) "systick tick"
/qemu/hw/mips/
H A Dmalta.c164 uint8_t tick; member
312 eeprom->tick = 1; in eeprom24c0x_write()
315 } else if (eeprom->tick == 0 && !eeprom->ack) { in eeprom24c0x_write()
329 if (eeprom->tick < 9) { in eeprom24c0x_write()
332 eeprom->tick++; in eeprom24c0x_write()
333 if (eeprom->tick == 9) { in eeprom24c0x_write()
338 } else if (eeprom->tick < 17) { in eeprom24c0x_write()
344 eeprom->tick++; in eeprom24c0x_write()
346 if (eeprom->tick == 17) { in eeprom24c0x_write()
351 eeprom->tick = 0; in eeprom24c0x_write()
[all …]
/qemu/hw/sparc64/
H A Dsparc64.c117 cpu_timer_reset(env->tick); in main_cpu_reset()
138 CPUTimer *timer = env->tick; in tick_irq()
281 env->tick = cpu_timer_create("tick", cpu, tick_irq, in sparc64_cpu_devinit()
/qemu/hw/net/
H A Drtl8139.c401 uint32_t tick; member
533 eeprom->tick = 0; in prom9346_decode_command()
544 eeprom->tick = 0; in prom9346_decode_command()
572 ++ eeprom->tick; in prom9346_shift_clock()
583 eeprom->tick = 0; in prom9346_shift_clock()
591 if (eeprom->tick == 8) in prom9346_shift_clock()
608 eeprom->tick = 0; in prom9346_shift_clock()
616 eeprom->tick = 0; in prom9346_shift_clock()
633 eeprom->tick = 0; in prom9346_shift_clock()
650 eeprom->tick = 0; in prom9346_shift_clock()
[all …]
/qemu/include/hw/timer/
H A Darmv7m_systick.h42 int64_t tick; member
H A Drenesas_cmt.h38 int64_t tick[CMT_CH]; member
H A Dstellaris-gptm.h42 int64_t tick[2]; member
H A Dsse-counter.h89 uint64_t sse_counter_tick_to_time(SSECounter *counter, uint64_t tick);
H A Drenesas_tmr.h42 int64_t tick; member
/qemu/target/arm/
H A Dtrace-events4 arm_gt_recalc(int timer, uint64_t nexttick) "gt recalc: timer %d next tick 0x%" PRIx64
/qemu/docs/devel/
H A Dclocks.rst365 it will take for the clock to tick N times; this can then be used
368 of time in nanoseconds required for the clock to tick that many times.
372 by the tick count, because clocks can have periods which are not a
390 Obtaining tick counts
397 (i.e. it has period zero). If the inputs imply a tick count that
/qemu/docs/interop/
H A Dbarrier.rst301 Mouse scroll. The delta should be +120 for one tick forward (away
302 from the user) or right and -120 for one tick backward (toward the
/qemu/hw/arm/
H A Domap1.c112 QEMUBH *tick; member
158 qemu_bh_schedule(timer->tick); in omap_timer_update()
287 s->tick = qemu_bh_new(omap_timer_fire, s); in omap_mpu_timer_init()
2562 uint64_t tick; member
2909 s->tick += 1000; in omap_rtc_tick()
2916 s->tick += s->comp_reg * 1000 / 32768; in omap_rtc_tick()
2918 timer_mod(s->clk, s->tick); in omap_rtc_tick()
2931 s->tick = qemu_clock_get_ms(rtc_clock); in omap_rtc_reset()
/qemu/target/sparc/
H A Dmachine.c250 VMSTATE_CPU_TIMER(env.tick, SPARCCPU),
H A Dcpu.h505 CPUTimer *tick, *stick; member
H A Dtranslate.c2862 tcg_gen_ld_ptr(r_tickptr, tcg_env, env64_field_offsetof(tick)); in do_rdtick()
3306 tcg_gen_ld_ptr(r_tickptr, tcg_env, env64_field_offsetof(tick)); in do_wrtick_cmpr()
3445 tcg_gen_ld_ptr(r_tickptr, tcg_env, env64_field_offsetof(tick)); in do_wrtick()
/qemu/linux-user/
H A Dsyscall_defs.h287 abi_long tick; /* Microseconds between clock ticks */ member
317 abi_llong tick; /* Microseconds between clock ticks */ member
H A Dsyscall.c7387 __get_user(host_tx->tick, &target_tx->tick); in target_to_host_timex()
7422 __put_user(host_tx->tick, &target_tx->tick); in host_to_target_timex()
7464 __get_user(host_tx->tick, &target_tx->tick); in target_to_host_timex64()
7503 __put_user(host_tx->tick, &target_tx->tick); in host_to_target_timex64()