Home
last modified time | relevance | path

Searched refs:clocks (Results 1 – 16 of 16) sorted by relevance

/qemu/hw/core/
H A Dqdev-clock.c45 QLIST_INSERT_HEAD(&dev->clocks, ncl, node); in qdev_init_clocklist()
54 QLIST_FOREACH_SAFE(ncl, &dev->clocks, node, ncl_next) { in qdev_finalize_clocklist()
91 void qdev_init_clocks(DeviceState *dev, const ClockPortInitArray clocks) in qdev_init_clocks() argument
95 for (elem = &clocks[0]; elem->name != NULL; elem++) { in qdev_init_clocks()
113 QLIST_FOREACH(ncl, &dev->clocks, node) { in qdev_get_clocklist()
H A Dqdev.c508 QLIST_FOREACH(ncl, &dev->clocks, node) { in device_set_realized()
650 QLIST_INIT(&dev->clocks); in device_initfn()
/qemu/docs/devel/
H A Dclocks.rst4 What are clocks?
8 distribution of clocks in QEMU.
26 Here is an example of clocks::
58 represent the clock being inactive or gated. The clocks do not model
62 All clocks contain this state: outputs as well as inputs. This allows
65 clocks in the tree.
67 To ease interaction with clocks, helpers with a unit suffix are defined for
79 Adding clocks to a device must be done during the init method of the Device
98 parameter to initialize the clocks: it has the same behaviour as calling the
101 As an example, the following creates 2 clocks to a device: one input and one
[all …]
H A Dindex-internals.rst15 clocks
H A Dreplay.rst16 non-deterministic events including external input, hardware clocks,
/qemu/hw/timer/
H A Dimx_gpt.c146 s->clocks[clksrc]) / (1 + s->pr); in imx_gpt_set_freq()
535 s->clocks = imx25_gpt_clocks; in imx25_gpt_init()
542 s->clocks = imx31_gpt_clocks; in imx31_gpt_init()
549 s->clocks = imx6_gpt_clocks; in imx6_gpt_init()
556 s->clocks = imx6ul_gpt_clocks; in imx6ul_gpt_init()
563 s->clocks = imx7_gpt_clocks; in imx7_gpt_init()
570 s->clocks = imx8mp_gpt_clocks; in imx8mp_gpt_init()
/qemu/include/hw/rtc/
H A Dmc146818rtc_regs.h84 static inline int64_t periodic_clock_to_ns(int64_t clocks) in periodic_clock_to_ns() argument
86 return muldiv64(clocks, NANOSECONDS_PER_SECOND, RTC_CLOCK_RATE); in periodic_clock_to_ns()
/qemu/hw/arm/
H A Dvexpress.c207 const uint32_t *clocks; member
354 .clocks = a9_clocks,
427 .clocks = a15_clocks,
607 qlist_append_int(db_clock, daughterboard->clocks[i]); in vexpress_common_init()
/qemu/include/hw/timer/
H A Dimx_gpt.h118 const IMXClk *clocks; member
/qemu/include/hw/
H A Dqdev-clock.h162 void qdev_init_clocks(DeviceState *dev, const ClockPortInitArray clocks);
H A Dqdev-core.h270 NamedClockListHead clocks; member
/qemu/docs/system/
H A Dreplay.rst18 including external input, hardware clocks, and interrupts.
23 the memory, state of the hardware devices, clocks, and screen of the VM.
79 serial port input, and hardware clocks (they are non-deterministic
/qemu/system/
H A Dqdev-monitor.c793 QLIST_FOREACH(ncl, &dev->clocks, node) { in qdev_print()
/qemu/tests/data/qobject/
H A Dqdict.txt2842 clocks.c: 2153
2843 clocks.h: 2092
2868 clocks-init.c: 2524
/qemu/
H A DMAINTAINERS3837 F: docs/devel/clocks.rst
H A Dqemu-options.hx4922 " instruction, enable aligning the host and virtual clocks\n" \