Home
last modified time | relevance | path

Searched refs:HPETState (Results 1 – 2 of 2) sorted by relevance

/qemu/rust/hw/timer/hpet/src/
H A Ddevice.rs43 /// Flags that HPETState.flags supports.
187 /// timer N index within the timer block (`HPETState`)
192 state: NonNull<HPETState>,
215 fn init(&mut self, index: u8, state: &HPETState) { in init() argument
221 state: NonNull::new((state as *const HPETState).cast_mut()).unwrap(), in init() constant
231 // SAFETY: HPETTimer is only used as part of HPETState, which is in init()
244 fn get_state(&self) -> &HPETState { in get_state() argument
526 pub struct HPETState { struct
572 impl HPETState { implementation
694 static HPET_RAM_OPS: MemoryRegionOps<HPETState> in set_counter_reg()
527 parent_objHPETState global() argument
528 iomemHPETState global() argument
532 capabilityHPETState global() argument
534 configHPETState global() argument
537 int_statusHPETState global() argument
540 counterHPETState global() argument
545 flagsHPETState global() argument
548 hpet_offsetHPETState global() argument
892 unsafe impl ObjectType for HPETState { global() implementation
898 impl ObjectImpl for HPETState { global() implementation
1036 impl DeviceImpl for HPETState { global() implementation
1048 impl ResettablePhasesImpl for HPETState { global() implementation
1052 impl SysBusDeviceImpl for HPETState {} global() implementation
[all...]
/qemu/hw/timer/
H A Dhpet.c47 OBJECT_DECLARE_SIMPLE_TYPE(HPETState, HPET)
49 struct HPETState;
53 struct HPETState *state;
67 struct HPETState { struct
92 static uint32_t hpet_in_legacy_mode(HPETState *s) in hpet_in_legacy_mode() argument
107 static uint32_t hpet_enabled(HPETState *s) in hpet_enabled()
154 static uint64_t hpet_get_ticks(HPETState *s) in hpet_get_ticks()
159 static uint64_t hpet_get_ns(HPETState *s, uint64_t tick) in hpet_get_ns()
190 HPETState *s; in update_irq()
234 HPETState * in hpet_pre_save()
[all...]