Home
last modified time | relevance | path

Searched refs:ptimer_get_limit (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/hw/timer/
H A Dcmsdk-apb-timer.c89 r = ptimer_get_limit(s->timer); in cmsdk_apb_timer_read()
126 ptimer_run(s->timer, ptimer_get_limit(s->timer) == 0); in cmsdk_apb_timer_write()
150 if (!value && !ptimer_get_limit(s->timer)) { in cmsdk_apb_timer_write()
155 ptimer_run(s->timer, ptimer_get_limit(s->timer) == 0); in cmsdk_apb_timer_write()
H A Darm_mptimer.c75 *count = ptimer_get_limit(timer); in timerblock_set_count()
96 ptimer_get_limit(tb->timer) == 0) { in timerblock_tick()
109 return ptimer_get_limit(tb->timer); in timerblock_read()
145 (!(control & 2) || ptimer_get_limit(tb->timer) == 0)) { in timerblock_write()
H A Darmv7m_systick.c57 if (ptimer_get_limit(s->ptimer) == 0) { in systick_timer_tick()
83 val = ptimer_get_limit(s->ptimer); in systick_read()
178 if (ptimer_get_limit(s->ptimer) == 0) { in systick_write()
H A Dcmsdk-apb-dualtimer.c175 load = ptimer_get_limit(m->timer); in cmsdk_dualtimermod_write_control()
193 load = ptimer_get_limit(m->timer); in cmsdk_dualtimermod_write_control()
278 r = ptimer_get_limit(m->timer); in cmsdk_apb_dualtimer_read()
H A Dimx_epit.c176 uint64_t limit = ptimer_get_limit(s->timer_cmp); in imx_epit_update_compare_timer()
/openbmc/qemu/hw/watchdog/
H A Dcmsdk-apb-watchdog.c128 r = ptimer_get_limit(s->timer); in cmsdk_apb_watchdog_read()
223 ptimer_set_count(s->timer, ptimer_get_limit(s->timer)); in cmsdk_apb_watchdog_write()
237 ptimer_set_count(s->timer, ptimer_get_limit(s->timer)); in cmsdk_apb_watchdog_write()
/openbmc/qemu/include/hw/
H A Dptimer.h227 uint64_t ptimer_get_limit(ptimer_state *s);
/openbmc/qemu/tests/unit/
H A Dptimer-test.c92 g_assert_cmpuint(ptimer_get_limit(ptimer), ==, 1000); in check_set_limit()
99 g_assert_cmpuint(ptimer_get_limit(ptimer), ==, 2000); in check_set_limit()
/openbmc/qemu/hw/core/
H A Dptimer.c409 uint64_t ptimer_get_limit(ptimer_state *s) in ptimer_get_limit() function