Lines Matching refs:Coherent
410 pub struct CoherentBox<T: KnownSize + ?Sized>(Coherent<T>);
421 Coherent::zeroed_slice_with_attrs(dev, count, gfp_flags, dma_attrs).map(Self) in zeroed_slice_with_attrs()
490 let mut slice = Self(Coherent::<T>::alloc_slice_with_attrs( in from_slice_with_attrs()
526 Coherent::zeroed_with_attrs(dev, gfp_flags, dma_attrs).map(Self) in zeroed_with_attrs()
560 impl<T: AsBytes + FromBytes + KnownSize + ?Sized> From<CoherentBox<T>> for Coherent<T> { implementation
595 pub struct Coherent<T: KnownSize + ?Sized> { struct
602 impl<T: KnownSize + ?Sized> Coherent<T> { argument
705 impl<T: AsBytes + FromBytes> Coherent<T> { implementation
822 ) -> Result<Coherent<[T]>> { in alloc_slice_with_attrs()
852 Ok(Coherent { in alloc_slice_with_attrs()
888 ) -> Result<Coherent<[T]>> { in zeroed_slice_with_attrs()
889 Coherent::alloc_slice_with_attrs(dev, len, gfp_flags | __GFP_ZERO, dma_attrs) in zeroed_slice_with_attrs()
899 ) -> Result<Coherent<[T]>> { in zeroed_slice()
929 ) -> Result<Coherent<[T]>> in from_slice_with_attrs()
943 ) -> Result<Coherent<[T]>> in from_slice()
951 impl<T> Coherent<[T]> { implementation
964 impl<T: KnownSize + ?Sized> Drop for Coherent<T> { implementation
984 unsafe impl<T: KnownSize + Send + ?Sized> Send for Coherent<T> {} implementation
990 unsafe impl<T: KnownSize + ?Sized + AsBytes + FromBytes + Sync> Sync for Coherent<T> {} implementation
992 impl<T: KnownSize + AsBytes + ?Sized> debugfs::BinaryWriter for Coherent<T> { implementation
1164 $crate::dma::Coherent::as_ptr(dma), $($proj)*
1167 unsafe { $crate::dma::Coherent::field_read(dma, ptr) }
1201 mut $crate::dma::Coherent::as_mut_ptr(dma), $($proj)*
1205 unsafe { $crate::dma::Coherent::field_write(dma, ptr, val) }