pub struct MvebuMbus { /* private fields */ }Implementations§
Source§impl MvebuMbus
impl MvebuMbus
Sourcepub fn init_sdram_regs(&mut self, base: usize, size: usize)
pub fn init_sdram_regs(&mut self, base: usize, size: usize)
Initializes sdram regs.
Sourcepub fn init_bridge_regs(&mut self, base: usize, size: usize)
pub fn init_bridge_regs(&mut self, base: usize, size: usize)
Initializes bridge regs.
Sourcepub fn set_hw_io_coherency(&mut self, enable: bool)
pub fn set_hw_io_coherency(&mut self, enable: bool)
Sets hw io coherency.
Sourcepub fn read_window(&self, win: usize) -> MbusWindowData
pub fn read_window(&self, win: usize) -> MbusWindowData
Reads window.
Sourcepub fn setup_window(
&self,
win: usize,
base: u32,
size: u32,
target: u8,
attr: u8,
remap: Option<u64>,
)
pub fn setup_window( &self, win: usize, base: u32, size: u32, target: u8, attr: u8, remap: Option<u64>, )
Performs the setup window operation.
Sourcepub fn disable_window(&self, win: usize)
pub fn disable_window(&self, win: usize)
Disables window.
Sourcepub fn save_windows(&mut self)
pub fn save_windows(&mut self)
Performs the save windows operation.
Sourcepub fn restore_windows(&self)
pub fn restore_windows(&self)
Performs the restore windows operation.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for MvebuMbus
impl RefUnwindSafe for MvebuMbus
impl Send for MvebuMbus
impl Sync for MvebuMbus
impl Unpin for MvebuMbus
impl UnsafeUnpin for MvebuMbus
impl UnwindSafe for MvebuMbus
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