Home
last modified time | relevance | path

Searched refs:ptimer_state (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/qemu/include/hw/
H A Dptimer.h97 typedef struct ptimer_state ptimer_state; typedef
128 ptimer_state *ptimer_init(ptimer_cb callback,
138 void ptimer_free(ptimer_state *s);
150 void ptimer_transaction_begin(ptimer_state *s);
160 void ptimer_transaction_commit(ptimer_state *s);
174 void ptimer_set_period(ptimer_state *s, int64_t period);
195 void ptimer_set_period_from_clock(ptimer_state *s, const Clock *clock,
212 void ptimer_set_freq(ptimer_state *s, uint32_t freq);
227 uint64_t ptimer_get_limit(ptimer_state *s);
242 void ptimer_set_limit(ptimer_state *s, uint64_t limit, int reload);
[all …]
/openbmc/qemu/hw/core/
H A Dptimer.c22 struct ptimer_state struct
46 static void ptimer_trigger(ptimer_state *s) in ptimer_trigger() argument
51 static void ptimer_reload(ptimer_state *s, int delta_adjust) in ptimer_reload()
157 ptimer_state *s = (ptimer_state *)opaque; in ptimer_tick()
201 uint64_t ptimer_get_count(ptimer_state *s) in ptimer_get_count()
297 void ptimer_set_count(ptimer_state *s, uint64_t count) in ptimer_set_count()
306 void ptimer_run(ptimer_state *s, int oneshot) in ptimer_run()
326 void ptimer_stop(ptimer_state *s) in ptimer_stop()
340 void ptimer_set_period(ptimer_state *s, int64_t period) in ptimer_set_period()
352 void ptimer_set_period_from_clock(ptimer_state *s, const Clock *clk, in ptimer_set_period_from_clock()
[all …]
/openbmc/qemu/tests/unit/
H A Dptimer-test.c69 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_set_count()
84 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_set_limit()
107 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_oneshot()
225 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_periodic()
411 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_on_the_fly_mode_change()
463 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_on_the_fly_period_change()
499 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_on_the_fly_freq_change()
535 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_run_with_period_0()
554 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_run_with_delta_0()
667 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_periodic_with_load_0()
[all …]
/openbmc/qemu/include/hw/timer/
H A Dimx_epit.h68 ptimer_state *timer_reload;
69 ptimer_state *timer_cmp;
H A Ddigic-timer.h40 ptimer_state *ptimer;
H A Dcmsdk-apb-timer.h36 struct ptimer_state *timer;
H A Darmv7m_systick.h43 ptimer_state *ptimer;
H A Dmss-timer.h49 ptimer_state *ptimer;
H A Darm_mptimer.h33 struct ptimer_state *timer;
H A Dcmsdk-apb-dualtimer.h41 struct ptimer_state *timer;
H A Dallwinner-a10-pit.h51 ptimer_state * timer[AW_A10_PIT_TIMER_NR];
H A Dimx_gpt.h95 ptimer_state *timer;
/openbmc/qemu/include/hw/watchdog/
H A Dwdt_imx2.h74 struct ptimer_state *timer;
75 struct ptimer_state *itimer;
H A Dcmsdk-apb-watchdog.h56 struct ptimer_state *timer;
H A Dallwinner-wdt.h60 struct ptimer_state *timer;
/openbmc/qemu/include/hw/net/
H A Dxlnx-zynqmp-can.h76 ptimer_state *can_timer;
H A Dxlnx-versal-canfd.h67 ptimer_state *canfd_timer;
/openbmc/qemu/include/hw/dma/
H A Dxlnx_csu_dma.h41 ptimer_state *src_timer;
/openbmc/qemu/include/hw/display/
H A Dxlnx_dp.h112 ptimer_state *vblank;
/openbmc/qemu/hw/timer/
H A Darm_mptimer.c68 static inline void timerblock_set_count(struct ptimer_state *timer, in timerblock_set_count()
81 static inline void timerblock_run(struct ptimer_state *timer, in timerblock_run()
H A Dxilinx_timer.c55 ptimer_state *ptimer;
H A Dexynos4210_mct.c204 ptimer_state *ptimer_frc; /* FRC timer */
227 ptimer_state *ptimer_tick; /* timer for tick counter */
232 ptimer_state *ptimer_frc; /* timer for free running counter */
987 static void tx_ptimer_set_freq(ptimer_state *s, uint32_t freq) in tx_ptimer_set_freq()
H A Dsh_timer.c37 ptimer_state *timer;
/openbmc/qemu/hw/net/fsl_etsec/
H A Detsec.h128 struct ptimer_state *ptimer;
/openbmc/qemu/hw/rtc/
H A Dexynos4210_rtc.c108 ptimer_state *ptimer; /* tick timer */
109 ptimer_state *ptimer_1Hz; /* clock timer */

12