/openbmc/qemu/tests/unit/ |
H A D | ptimer-test.c | 76 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 D | ptimer.c | 201 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 D | ptimer.h | 252 uint64_t ptimer_get_count(ptimer_state *s);
|
/openbmc/qemu/hw/timer/ |
H A D | arm_mptimer.c | 111 return ptimer_get_count(tb->timer); in timerblock_read() 161 uint64_t count = ptimer_get_count(tb->timer); in timerblock_write()
|
H A D | imx_epit.c | 141 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 D | exynos4210_mct.c | 379 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 D | digic-timer.c | 74 ret = ptimer_get_count(s->ptimer) & 0xffff; in digic_timer_read()
|
H A D | cmsdk-apb-dualtimer.c | 192 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 D | cmsdk-apb-timer.c | 86 r = ptimer_get_count(s->timer); in cmsdk_apb_timer_read()
|
H A D | xilinx_timer.c | 120 r = ptimer_get_count(xt->ptimer); in timer_read()
|
H A D | armv7m_systick.c | 86 val = ptimer_get_count(s->ptimer); in systick_read()
|
H A D | mss-timer.c | 109 ret = ptimer_get_count(st->ptimer); in timer_read()
|
H A D | sh_timer.c | 71 return ptimer_get_count(s->timer); in sh_timer_read()
|
H A D | allwinner-a10-pit.c | 56 s->count[index] = ptimer_get_count(s->timer[index]); in a10_pit_read()
|
H A D | grlib_gptimer.c | 217 value = ptimer_get_count(unit->timers[id].ptimer); in grlib_gptimer_read()
|
H A D | arm_timer.c | 62 return ptimer_get_count(s->timer); in arm_timer_read()
|
H A D | slavio_timer.c | 116 count = limit - PERIODS_TO_LIMIT(ptimer_get_count(t->timer)); in slavio_timer_get_out()
|
H A D | exynos4210_pwm.c | 251 value = ptimer_get_count(s->timer[index].ptimer); in exynos4210_pwm_read()
|
H A D | imx_gpt.c | 159 s->cnt = s->next_timeout - (uint32_t)ptimer_get_count(s->timer); in imx_gpt_update_count()
|
/openbmc/qemu/hw/watchdog/ |
H A D | wdt_imx2.c | 109 int count = ptimer_get_count(s->timer); in imx_wdt2_update_itimer()
|
H A D | cmsdk-apb-watchdog.c | 131 r = ptimer_get_count(s->timer); in cmsdk_apb_watchdog_read()
|
/openbmc/qemu/hw/m68k/ |
H A D | mcf5208.c | 147 return ptimer_get_count(s->timer); in m5208_timer_read()
|
H A D | mcf5206.c | 112 return s->trr - ptimer_get_count(s->timer); in m5206_timer_read()
|
/openbmc/qemu/hw/rtc/ |
H A D | exynos4210_rtc.c | 371 s->reg_curticcnt = ptimer_get_count(s->ptimer); in exynos4210_rtc_read()
|
/openbmc/qemu/hw/dma/ |
H A D | xilinx_axidma.c | 484 s->regs[addr] |= (ptimer_get_count(s->ptimer) & 0xff) << 24; in axidma_read()
|