Home
last modified time | relevance | path

Searched refs:DeviceImpl (Results 1 – 5 of 5) sorted by relevance

/qemu/rust/qemu-api/tests/
H A Dtests.rs12 qdev::{DeviceImpl, DeviceState, Property, ResettablePhasesImpl},
42 pub fn class_init<T: DeviceImpl>(self: &mut DummyClass) { in class_init()
71 impl DeviceImpl for DummyState {
104 impl DeviceImpl for DummyChildState {}
107 pub fn class_init<T: DeviceImpl>(self: &mut DummyChildClass) { in class_init()
/qemu/rust/qemu-api/src/
H A Dqdev.rs105 pub trait DeviceImpl: ObjectImpl + ResettablePhasesImpl + IsA<DeviceState> {
136 unsafe extern "C" fn rust_realize_fn<T: DeviceImpl>( in rust_realize_fn()
170 /// the `DeviceImpl` trait. in class_init()
171 pub fn class_init<T: DeviceImpl>(&mut self) { in class_init()
172 if <T as DeviceImpl>::REALIZE.is_some() { in class_init()
175 if let Some(vmsd) = <T as DeviceImpl>::vmsd() { in class_init()
178 let prop = <T as DeviceImpl>::properties(); in class_init()
104 pub trait DeviceImpl: ObjectImpl + ResettablePhasesImpl + IsA<DeviceState> { global() interface
H A Dsysbus.rs17 qdev::{DeviceImpl, DeviceState},
37 pub trait SysBusDeviceImpl: DeviceImpl + IsA<SysBusDevice> {}
/qemu/rust/hw/char/pl011/src/
H A Ddevice.rs13 qdev::{Clock, ClockEvent, DeviceImpl, DeviceState, Property, ResetType, ResettablePhasesImpl},
171 impl DeviceImpl for PL011State {
706 impl DeviceImpl for PL011Luminary {}
/qemu/rust/hw/timer/hpet/src/
H A Ddevice.rs23 qdev::{DeviceImpl, DeviceMethods, DeviceState, Property, ResetType, ResettablePhasesImpl},
1030 impl DeviceImpl for HPETState {