1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
mod axi_dma;
mod axi_dma_async;
mod dma_buffer;
pub use axi_dma::AxiDma;
pub use axi_dma_async::AxiDmaAsync;
pub use dma_buffer::DmaBuffer;
#[cfg(xilinx_dma_has_dmb)]
mod dmb;
#[cfg(xilinx_dma_has_dmb)]
pub use dmb::dmb;
#[cfg(not(xilinx_dma_has_dmb))]
#[inline(always)]
pub fn dmb() {
// DMB is ARM-only, so we use a nop in other archs
}