pub struct HardwareDoorbellPeripheral {
pub name: String,
pub page: u32,
pub type: HardwareDoorbellPeripheralType,
pub memory: HardwareMemory,
pub parties: Vec<HardwareDoorbellParty>,
pub party_page: u32,
pub channels: u32,
pub channel_page: u32,
pub clock: Option<DoorbellClock>,
}Fields§
§name: String§page: u32§type: HardwareDoorbellPeripheralType§memory: HardwareMemory§parties: Vec<HardwareDoorbellParty>§party_page: u32§channels: u32§channel_page: u32§clock: Option<DoorbellClock>Optional device-tree clock this doorbell’s register block needs kept
enabled from the Linux side, emitted as clocks = <&provider id> on the
generic-uio node. STM32MP2 IPCC/HSEM reference the SCMI clock domain;
i.MX MUs live in an always-on domain and carry no clock.
Trait Implementations§
Source§impl Clone for HardwareDoorbellPeripheral
impl Clone for HardwareDoorbellPeripheral
Source§fn clone(&self) -> HardwareDoorbellPeripheral
fn clone(&self) -> HardwareDoorbellPeripheral
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HardwareDoorbellPeripheral
impl Debug for HardwareDoorbellPeripheral
Source§impl<'de> Deserialize<'de> for HardwareDoorbellPeripheral
impl<'de> Deserialize<'de> for HardwareDoorbellPeripheral
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<HardwareDoorbellPeripheral, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<HardwareDoorbellPeripheral, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for HardwareDoorbellPeripheral
impl Serialize for HardwareDoorbellPeripheral
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for HardwareDoorbellPeripheral
impl RefUnwindSafe for HardwareDoorbellPeripheral
impl Send for HardwareDoorbellPeripheral
impl Sync for HardwareDoorbellPeripheral
impl Unpin for HardwareDoorbellPeripheral
impl UnsafeUnpin for HardwareDoorbellPeripheral
impl UnwindSafe for HardwareDoorbellPeripheral
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more