Home
last modified time | relevance | path

Searched refs:ptimer_get_count (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/qemu/tests/unit/
H A Dptimer-test.c76 g_assert_cmpuint(ptimer_get_count(ptimer), ==, 1000); in check_set_count()
91 g_assert_cmpuint(ptimer_get_count(ptimer), ==, 0); in check_set_limit()
98 g_assert_cmpuint(ptimer_get_count(ptimer), ==, 2000); in check_set_limit()
120 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 8 : 7); in check_oneshot()
127 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 8 : 7); in check_oneshot()
132 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 8 : 7); in check_oneshot()
141 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 1 : 0); in check_oneshot()
153 g_assert_cmpuint(ptimer_get_count(ptimer), ==, 0); in check_oneshot()
165 g_assert_cmpuint(ptimer_get_count(ptimer), ==, 0); in check_oneshot()
174 g_assert_cmpuint(ptimer_get_count(ptimer), ==, 10); in check_oneshot()
[all …]
/openbmc/qemu/hw/core/
H A Dptimer.c201 uint64_t ptimer_get_count(ptimer_state *s) in ptimer_get_count() function
333 s->delta = ptimer_get_count(s); in ptimer_stop()
343 s->delta = ptimer_get_count(s); in ptimer_set_period()
365 s->delta = ptimer_get_count(s); in ptimer_set_period_from_clock()
388 s->delta = ptimer_get_count(s); in ptimer_set_freq()
/openbmc/qemu/include/hw/
H A Dptimer.h252 uint64_t ptimer_get_count(ptimer_state *s);
/openbmc/qemu/hw/timer/
H A Darm_mptimer.c111 return ptimer_get_count(tb->timer); in timerblock_read()
161 uint64_t count = ptimer_get_count(tb->timer); in timerblock_write()
H A Dimx_epit.c141 reg_value = ptimer_get_count(s->timer_reload); in imx_epit_read()
175 counter = ptimer_get_count(s->timer_reload); in imx_epit_update_compare_timer()
H A Dexynos4210_mct.c379 count = ptimer_get_count(s->ptimer_frc); in exynos4210_gfrc_get_count()
606 return ptimer_get_count(s->ptimer_frc); in exynos4210_lfrc_get_count()
713 count = ptimer_get_count(s->ptimer_tick); in exynos4210_ltick_int_get_cnto()
716 counted = s->count - ptimer_get_count(s->ptimer_tick); in exynos4210_ltick_int_get_cnto()
796 count = ptimer_get_count(s->ptimer_tick); in exynos4210_ltick_cnt_get_cnto()
799 counted = s->count - ptimer_get_count(s->ptimer_tick); in exynos4210_ltick_cnt_get_cnto()
H A Ddigic-timer.c74 ret = ptimer_get_count(s->ptimer) & 0xffff; in digic_timer_read()
H A Dcmsdk-apb-dualtimer.c192 value = ptimer_get_count(m->timer); in cmsdk_dualtimermod_write_control()
288 r = ptimer_get_count(m->timer); in cmsdk_apb_dualtimer_read()
H A Dcmsdk-apb-timer.c86 r = ptimer_get_count(s->timer); in cmsdk_apb_timer_read()
H A Dxilinx_timer.c120 r = ptimer_get_count(xt->ptimer); in timer_read()
H A Darmv7m_systick.c86 val = ptimer_get_count(s->ptimer); in systick_read()
H A Dmss-timer.c109 ret = ptimer_get_count(st->ptimer); in timer_read()
H A Dsh_timer.c71 return ptimer_get_count(s->timer); in sh_timer_read()
H A Dallwinner-a10-pit.c56 s->count[index] = ptimer_get_count(s->timer[index]); in a10_pit_read()
H A Dgrlib_gptimer.c217 value = ptimer_get_count(unit->timers[id].ptimer); in grlib_gptimer_read()
H A Darm_timer.c62 return ptimer_get_count(s->timer); in arm_timer_read()
H A Dslavio_timer.c116 count = limit - PERIODS_TO_LIMIT(ptimer_get_count(t->timer)); in slavio_timer_get_out()
H A Dexynos4210_pwm.c251 value = ptimer_get_count(s->timer[index].ptimer); in exynos4210_pwm_read()
H A Dimx_gpt.c159 s->cnt = s->next_timeout - (uint32_t)ptimer_get_count(s->timer); in imx_gpt_update_count()
/openbmc/qemu/hw/watchdog/
H A Dwdt_imx2.c109 int count = ptimer_get_count(s->timer); in imx_wdt2_update_itimer()
H A Dcmsdk-apb-watchdog.c131 r = ptimer_get_count(s->timer); in cmsdk_apb_watchdog_read()
/openbmc/qemu/hw/m68k/
H A Dmcf5208.c147 return ptimer_get_count(s->timer); in m5208_timer_read()
H A Dmcf5206.c112 return s->trr - ptimer_get_count(s->timer); in m5206_timer_read()
/openbmc/qemu/hw/rtc/
H A Dexynos4210_rtc.c371 s->reg_curticcnt = ptimer_get_count(s->ptimer); in exynos4210_rtc_read()
/openbmc/qemu/hw/dma/
H A Dxilinx_axidma.c484 s->regs[addr] |= (ptimer_get_count(s->ptimer) & 0xff) << 24; in axidma_read()

12