/qemu/hw/nvram/ |
H A D | eeprom93xx.c | 77 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 D | stellaris-gptm.c | 32 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 D | sse-counter.c | 114 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 D | renesas_cmt.c | 82 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 D | renesas_tmr.c | 131 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 D | armv7m_systick.c | 282 VMSTATE_INT64(tick, SysTickState),
|
H A D | trace-events | 38 systick_timer_tick(void) "systick tick"
|
/qemu/hw/mips/ |
H A D | malta.c | 164 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 D | sparc64.c | 117 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 D | rtl8139.c | 401 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 D | armv7m_systick.h | 42 int64_t tick; member
|
H A D | renesas_cmt.h | 38 int64_t tick[CMT_CH]; member
|
H A D | stellaris-gptm.h | 42 int64_t tick[2]; member
|
H A D | sse-counter.h | 89 uint64_t sse_counter_tick_to_time(SSECounter *counter, uint64_t tick);
|
H A D | renesas_tmr.h | 42 int64_t tick; member
|
/qemu/target/arm/ |
H A D | trace-events | 4 arm_gt_recalc(int timer, uint64_t nexttick) "gt recalc: timer %d next tick 0x%" PRIx64
|
/qemu/docs/devel/ |
H A D | clocks.rst | 365 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 D | barrier.rst | 301 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 D | omap1.c | 112 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 D | machine.c | 250 VMSTATE_CPU_TIMER(env.tick, SPARCCPU),
|
H A D | cpu.h | 505 CPUTimer *tick, *stick; member
|
H A D | translate.c | 2862 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 D | syscall_defs.h | 287 abi_long tick; /* Microseconds between clock ticks */ member 317 abi_llong tick; /* Microseconds between clock ticks */ member
|
H A D | syscall.c | 7387 __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()
|