Searched refs:DeviceImpl (Results 1 – 5 of 5) sorted by relevance
/qemu/rust/qemu-api/tests/ |
H A D | tests.rs | 12 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 D | qdev.rs | 105 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 D | sysbus.rs | 17 qdev::{DeviceImpl, DeviceState}, 37 pub trait SysBusDeviceImpl: DeviceImpl + IsA<SysBusDevice> {}
|
/qemu/rust/hw/char/pl011/src/ |
H A D | device.rs | 13 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 D | device.rs | 23 qdev::{DeviceImpl, DeviceMethods, DeviceState, Property, ResetType, ResettablePhasesImpl}, 1030 impl DeviceImpl for HPETState {
|