Searched refs:CoherentAllocation (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/gpu/nova-core/ |
| H A D | gsp.rs | 8 CoherentAllocation, 73 struct LogBuffer(CoherentAllocation<u8>); 80 let mut obj = Self(CoherentAllocation::<u8>::alloc_coherent( in new() 109 pub(crate) libos: CoherentAllocation<LibosMemoryRegionInitArgument>, 119 rmargs: CoherentAllocation<GspArgumentsPadded>, 129 libos: CoherentAllocation::<LibosMemoryRegionInitArgument>::alloc_coherent( in new() 138 rmargs: CoherentAllocation::<GspArgumentsPadded>::alloc_coherent( in new()
|
| /linux/rust/kernel/ |
| H A D | dma.rs | 376 pub struct CoherentAllocation<T: AsBytes + FromBytes> { struct 384 impl<T: AsBytes + FromBytes> CoherentAllocation<T> { implementation 403 ) -> Result<CoherentAllocation<T>> { in alloc_attrs() 445 ) -> Result<CoherentAllocation<T>> { in alloc_coherent() 446 CoherentAllocation::alloc_attrs(dev, count, gfp_flags, Attrs(0)) in alloc_coherent() 645 impl<T: AsBytes + FromBytes> Drop for CoherentAllocation<T> { implementation 665 unsafe impl<T: AsBytes + FromBytes + Send> Send for CoherentAllocation<T> {} implementation 695 $crate::dma::CoherentAllocation::as_ptr(dma), $($proj)* 698 unsafe { $crate::dma::CoherentAllocation::field_read(dma, ptr) } 732 mut $crate::dma::CoherentAllocation::as_mut_ptr(dma), $($proj)* [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 | fw.rs | 12 dma::CoherentAllocation, 52 dma::CoherentAllocation, 63 pub(in crate::gsp) fn gsp_write_ptr(qs: &CoherentAllocation<GspMem>) -> u32 { in gsp_write_ptr() 68 pub(in crate::gsp) fn gsp_read_ptr(qs: &CoherentAllocation<GspMem>) -> u32 { in gsp_read_ptr() 73 pub(in crate::gsp) fn cpu_read_ptr(qs: &CoherentAllocation<GspMem>) -> u32 { in cpu_read_ptr() 78 pub(in crate::gsp) fn advance_cpu_read_ptr(qs: &CoherentAllocation<GspMem>, count: u32) { in advance_cpu_read_ptr() 92 pub(in crate::gsp) fn cpu_write_ptr(qs: &CoherentAllocation<GspMem>) -> u32 { in cpu_write_ptr() 97 pub(in crate::gsp) fn advance_cpu_write_ptr(qs: &CoherentAllocation<GspMem>, count: u32) { in advance_cpu_write_ptr() 726 obj: &CoherentAllocation<A>, in new()
|
| H A D | boot.rs | 5 dma::CoherentAllocation, 159 CoherentAllocation::<GspFwWprMeta>::alloc_coherent(dev, 1, GFP_KERNEL | __GFP_ZERO)?; in boot()
|
| H A D | cmdq.rs | 11 CoherentAllocation, 196 struct DmaGspMem(CoherentAllocation<GspMem>); 205 CoherentAllocation::<GspMem>::alloc_coherent(dev, 1, GFP_KERNEL | __GFP_ZERO)?; in new()
|