/openbmc/qemu/include/hw/ |
H A D | ptimer.h | 97 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 D | ptimer.c | 22 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 D | ptimer-test.c | 69 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 D | imx_epit.h | 68 ptimer_state *timer_reload; 69 ptimer_state *timer_cmp;
|
H A D | digic-timer.h | 40 ptimer_state *ptimer;
|
H A D | cmsdk-apb-timer.h | 36 struct ptimer_state *timer;
|
H A D | armv7m_systick.h | 43 ptimer_state *ptimer;
|
H A D | mss-timer.h | 49 ptimer_state *ptimer;
|
H A D | arm_mptimer.h | 33 struct ptimer_state *timer;
|
H A D | cmsdk-apb-dualtimer.h | 41 struct ptimer_state *timer;
|
H A D | allwinner-a10-pit.h | 51 ptimer_state * timer[AW_A10_PIT_TIMER_NR];
|
H A D | imx_gpt.h | 95 ptimer_state *timer;
|
/openbmc/qemu/include/hw/watchdog/ |
H A D | wdt_imx2.h | 74 struct ptimer_state *timer; 75 struct ptimer_state *itimer;
|
H A D | cmsdk-apb-watchdog.h | 56 struct ptimer_state *timer;
|
H A D | allwinner-wdt.h | 60 struct ptimer_state *timer;
|
/openbmc/qemu/include/hw/net/ |
H A D | xlnx-zynqmp-can.h | 76 ptimer_state *can_timer;
|
H A D | xlnx-versal-canfd.h | 67 ptimer_state *canfd_timer;
|
/openbmc/qemu/include/hw/dma/ |
H A D | xlnx_csu_dma.h | 41 ptimer_state *src_timer;
|
/openbmc/qemu/include/hw/display/ |
H A D | xlnx_dp.h | 112 ptimer_state *vblank;
|
/openbmc/qemu/hw/timer/ |
H A D | arm_mptimer.c | 68 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 D | xilinx_timer.c | 55 ptimer_state *ptimer;
|
H A D | exynos4210_mct.c | 204 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 D | sh_timer.c | 37 ptimer_state *timer;
|
/openbmc/qemu/hw/net/fsl_etsec/ |
H A D | etsec.h | 128 struct ptimer_state *ptimer;
|
/openbmc/qemu/hw/rtc/ |
H A D | exynos4210_rtc.c | 108 ptimer_state *ptimer; /* tick timer */ 109 ptimer_state *ptimer_1Hz; /* clock timer */
|