Searched refs:CoherentAllocation (Results 1 – 4 of 4) sorted by relevance
| /linux/rust/kernel/ |
| H A D | dma.rs | 359 pub struct CoherentAllocation<T: AsBytes + FromBytes> { struct 367 impl<T: AsBytes + FromBytes> CoherentAllocation<T> { argument 386 ) -> Result<CoherentAllocation<T>> { in alloc_attrs() 428 ) -> Result<CoherentAllocation<T>> { in alloc_coherent() 429 CoherentAllocation::alloc_attrs(dev, count, gfp_flags, Attrs(0)) in alloc_coherent() 632 impl<T: AsBytes + FromBytes> Drop for CoherentAllocation<T> { implementation 652 unsafe impl<T: AsBytes + FromBytes + Send> Send for CoherentAllocation<T> {} implementation 678 let item = $crate::dma::CoherentAllocation::item_from_index(&$dma, $idx)?; 685 $crate::dma::CoherentAllocation::field_read(&$dma, ptr_field) 728 let item = $crate::dma::CoherentAllocation::item_from_index(&$dma, $idx)?; [all …]
|
| /linux/samples/rust/ |
| H A D | rust_dma.rs | 9 dma::{CoherentAllocation, DataDirection, Device, DmaMask}, 19 ca: CoherentAllocation<MyStruct>, 67 let ca: CoherentAllocation<MyStruct> = in probe() 68 CoherentAllocation::alloc_coherent(pdev.as_ref(), TEST_VALUES.len(), GFP_KERNEL)?; in probe()
|
| /linux/drivers/gpu/nova-core/gsp/ |
| H A D | cmdq.rs | 15 CoherentAllocation, 194 struct DmaGspMem(CoherentAllocation<GspMem>); 203 CoherentAllocation::<GspMem>::alloc_coherent(dev, 1, GFP_KERNEL | __GFP_ZERO)?; in new()
|
| H A D | fw.rs | 12 dma::CoherentAllocation, 657 obj: &CoherentAllocation<A>, in new()
|