Searched refs:DataDirection (Results 1 – 3 of 3) sorted by relevance
| /linux/rust/kernel/ |
| H A D | scatterlist.rs | 187 dir: dma::DataDirection, 206 dir: dma::DataDirection, in new() 234 // - `self.dir` is the same `dma::DataDirection` the mapping has been created with in in drop() 340 dir: dma::DataDirection, in new() 395 /// [`dma::DataDirection`]. 405 /// * `dir`: The [`dma::DataDirection`] of the DMA transfer. 425 /// dma::DataDirection::ToDevice, 435 dir: dma::DataDirection, in new() 205 new( sgt: NonNull<bindings::sg_table>, dev: &Device<Bound>, dir: dma::DataDirection, ) -> Result<Self> new() argument 339 new( dev: &Device<Bound>, mut pages: P, dir: dma::DataDirection, flags: alloc::Flags, ) -> Result<impl PinInit<Self, Error> + '_> new() argument 434 new( dev: &Device<Bound>, pages: P, dir: dma::DataDirection, flags: alloc::Flags, ) -> impl PinInit<Self, Error> + '_ new() argument
|
| H A D | dma.rs | 286 pub enum DataDirection { enum 312 impl DataDirection { implementation 336 impl From<DataDirection> for bindings::dma_data_direction { 338 fn from(direction: DataDirection) -> Self { in from()
|
| /linux/samples/rust/ |
| H A D | rust_dma.rs | 9 dma::{CoherentAllocation, DataDirection, Device, DmaMask}, 77 let sgt = SGTable::new(pdev.as_ref(), pages, DataDirection::ToDevice, GFP_KERNEL); in probe()
|