Home
last modified time | relevance | path

Searched refs:Bound (Results 1 – 21 of 21) sorted by relevance

/linux/rust/kernel/irq/
H A Drequest.rs15 Bound,
57 _dev: PhantomData<&'a Device<Bound>>,
66 pub(crate) unsafe fn new(_dev: &'a Device<Bound>, irq: u32) -> Self {
114 new(dev: &'a Device<Bound>, irq: u32) -> Self new() argument
/linux/rust/kernel/
H A Ddma.rs12 Bound,
221 /// # use kernel::device::{Bound, Device};
224 /// # fn test(dev: &Device<Bound>) -> Result {
384 /// # Bound,
392 /// # fn test(dev: &Device<Bound>) -> Result {
404 /// # Bound,
412 /// # fn test(dev: &Device<Bound>) -> Result {
424 dev: &device::Device<Bound>,
435 dev: &device::Device<Bound>,
475 /// # use kernel::device::{Bound, Devic
416 zeroed_slice_with_attrs( dev: &device::Device<Bound>, count: usize, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Self> zeroed_slice_with_attrs() argument
427 zeroed_slice( dev: &device::Device<Bound>, count: usize, gfp_flags: kernel::alloc::Flags, ) -> Result<Self> zeroed_slice() argument
482 from_slice_with_attrs( dev: &device::Device<Bound>, data: &[T], gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Self> where T: Copy, from_slice_with_attrs() argument
507 from_slice( dev: &device::Device<Bound>, data: &[T], gfp_flags: kernel::alloc::Flags, ) -> Result<Self> where T: Copy, from_slice() argument
522 zeroed_with_attrs( dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Self> zeroed_with_attrs() argument
531 zeroed(dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags) -> Result<Self> zeroed() argument
708 alloc_with_attrs( dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Self> alloc_with_attrs() argument
764 zeroed_with_attrs( dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Self> zeroed_with_attrs() argument
774 zeroed(dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags) -> Result<Self> zeroed() argument
781 init_with_attrs<E>( dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, init: impl Init<T, E>, ) -> Result<Self> where Error: From<E>, init_with_attrs() argument
806 init<E>( dev: &device::Device<Bound>, gfp_flags: kernel::alloc::Flags, init: impl Init<T, E>, ) -> Result<Self> where Error: From<E>, init() argument
818 alloc_slice_with_attrs( dev: &device::Device<Bound>, len: usize, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Coherent<[T]>> alloc_slice_with_attrs() argument
884 zeroed_slice_with_attrs( dev: &device::Device<Bound>, len: usize, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Coherent<[T]>> zeroed_slice_with_attrs() argument
896 zeroed_slice( dev: &device::Device<Bound>, len: usize, gfp_flags: kernel::alloc::Flags, ) -> Result<Coherent<[T]>> zeroed_slice() argument
925 from_slice_with_attrs( dev: &device::Device<Bound>, data: &[T], gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Coherent<[T]>> where T: Copy, from_slice_with_attrs() argument
940 from_slice( dev: &device::Device<Bound>, data: &[T], gfp_flags: kernel::alloc::Flags, ) -> Result<Coherent<[T]>> where T: Copy, from_slice() argument
1050 alloc_with_attrs( dev: &device::Device<Bound>, size: usize, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<Self> alloc_with_attrs() argument
1089 alloc( dev: &device::Device<Bound>, size: usize, gfp_flags: kernel::alloc::Flags, ) -> Result<Self> alloc() argument
[all...]
H A Ddevice.rs191 pub unsafe fn as_bound(&self) -> &Device<Bound> { in as_bound() argument
459 unsafe impl Sync for Device<Bound> {}
554 pub struct Bound; struct
559 impl Sealed for super::Bound {} implementation
566 impl DeviceContext for Bound {} implementation
684 <'a> $crate::device::Core<'a> => $crate::device::Bound
691 $crate::device::BoundInternal => $crate::device::Bound
698 $crate::device::Bound => $crate::device::Normal
734 ::kernel::__impl_device_context_into_aref!($crate::device::Bound, $device);
H A Ddevres.rs12 Bound,
205 pub fn new<E>(dev: &Device<Bound>, data: impl PinInit<T, E>) -> Result<Self> in new() argument
337 pub fn access<'a>(&'a self, dev: &'a Device<Bound>) -> Result<&'a T> { in access()
430 dev: &'a Device<Bound>, in new() argument
455 pub fn access_with<R, G>(&self, dev: &Device<Bound>, f: G) -> Result<R> in access_with() argument
481 pub fn access<'a>(&'a self, dev: &'a Device<Bound>) -> Result<&'a F::Of<'a>> { in access()
493 fn register_foreign<P>(dev: &Device<Bound>, data: P) -> Result in register_foreign() argument
549 pub fn register<T, E>(dev: &Device<Bound>, data: impl PinInit<T, E>, flags: Flags) -> Result in register() argument
H A Dmaple_tree.rs11 ops::{Bound, RangeBounds},
58 Bound::Included(start) => *start, in to_maple_range()
59 Bound::Excluded(start) => start.checked_add(1)?, in to_maple_range()
60 Bound::Unbounded => 0, in to_maple_range()
64 Bound::Included(end) => *end, in to_maple_range()
65 Bound::Excluded(end) => end.checked_sub(1)?, in to_maple_range()
66 Bound::Unbounded => usize::MAX, in to_maple_range()
H A Dscatterlist.rs35 device::{Bound, Device},
205 dev: &Device<Bound>, in new()
338 dev: &Device<Bound>, in new()
412 /// device::{Bound, Device},
418 /// fn test(dev: &Device<Bound>) -> Result {
433 dev: &Device<Bound>, in new()
204 new( sgt: NonNull<bindings::sg_table>, dev: &Device<Bound>, dir: dma::DataDirection, ) -> Result<Self> new() argument
337 new( dev: &Device<Bound>, mut pages: P, dir: dma::DataDirection, flags: alloc::Flags, ) -> Result<impl PinInit<Self, Error> + '_> new() argument
432 new( dev: &Device<Bound>, pages: P, dir: dma::DataDirection, flags: alloc::Flags, ) -> impl PinInit<Self, Error> + '_ new() argument
H A Dregulator.rs21 device::{Bound, Device},
87 pub fn devm_enable(dev: &Device<Bound>, name: &CStr) -> Result { in devm_enable() argument
105 pub fn devm_enable_optional(dev: &Device<Bound>, name: &CStr) -> Result { in devm_enable_optional() argument
H A Dplatform.rs13 Bound, //
310 impl Device<Bound> {
408 impl Device<Bound> {
589 unsafe impl Sync for Device<device::Bound> {}
H A Dauxiliary.rs219 /// `&Device<Core>` or `&Device<Bound>` reference. For instance, drivers may try to perform I/O in unbind()
257 impl Device<device::Bound> { in parent()
259 pub fn parent(&self) -> &device::Device<device::Bound> { in parent()
417 // `Bound` is a zero-sized type-state marker that does not affect thread safety.
418 unsafe impl Sync for Device<device::Bound> {}
467 parent: &'a device::Device<device::Bound>,
546 parent: &'a device::Device<device::Bound>,
254 parent(&self) -> &device::Device<device::Bound> parent() argument
343 new<'a>( parent: &'a device::Device<device::Bound>, name: &'a CStr, id: u32, modname: &'a CStr, ) -> impl PinInit<Devres<Self>, Error> + 'a new() argument
H A Dcpufreq.rs15 device::{Bound, Device},
1065 pub fn new_foreign_owned(dev: &Device<Bound>) -> Result
H A Di2c.rs564 parent_dev: &'a device::Device<device::Bound>, in new() argument
/linux/samples/rust/
H A Drust_driver_auxiliary.rs10 Bound,
62 parent: &'bound pci::Device<Bound>,
73 parent: Mutex<&'bound pci::Device<Bound>>, in probe()
127 let pdev: &pci::Device<Bound> = pdev;
140 fn connect(adev: &auxiliary::Device<Bound>) -> Result {
H A Drust_driver_pci.rs9 Bound,
100 fn config_space(pdev: &pci::Device<Bound>) { in probe()
70 config_space(pdev: &pci::Device<Bound>) config_space() argument
/linux/rust/kernel/pci/
H A Dirq.rs9 device::Bound,
127 dev: &'a Device<Bound>,
176 impl Device<device::Bound> {
H A Dio.rs72 pub(crate) pdev: &'a Device<device::Bound>,
171 pdev: &'a Device<device::Bound>, in new()
180 // SAFETY: `Bar<'a, SIZE>` is covariant over `'a`; it holds `&'a Device<Bound>`, in new()
191 pdev: &'a Device<device::Bound>, in new()
296 impl Device<device::Bound> { in config_space_extended()
/linux/rust/kernel/io/
H A Dmem.rs7 Bound,
31 device: &'a Device<Bound>,
42 pub(crate) unsafe fn new(device: &'a Device<Bound>, resource: &'a Resource) -> Self {
184 // which holds `&'a Device<Bound>`, which is covariant. in ioremap()
194 fn ioremap(dev: &'a Device<Bound>, resource: &Resource) -> Result<Self> { in ioremap()
248 dev: &'a Device<Bound>, in ioremap()
256 // SAFETY: `IoMem<'a, SIZE>` is covariant over `'a`; it holds `&'a Device<Bound>`, in ioremap()
266 fn ioremap(dev: &'a Device<Bound>, resource: &Resource) -> Result<Self> { in new()
39 new(device: &'a Device<Bound>, resource: &'a Resource) -> Self new() argument
/linux/rust/proc-macro2/
H A Dfallback.rs1145 use core::ops::Bound; in subspan()
1148 Bound::Included(start) => { in subspan()
1152 Bound::Excluded(start) => { in subspan()
1156 Bound::Unbounded => self.span.lo, in subspan()
1159 Bound::Included(end) => { in subspan()
1163 Bound::Excluded(end) => { in subspan()
1167 Bound::Unbounded => self.span.hi, in subspan()
/linux/tools/perf/Documentation/
H A Dtopdown.txt219 printf("Retiring %.2f%% Bad Speculation %.2f%% FE Bound %.2f%% BE Bound %.2f%%\n",
257 "Mem Bound %.2f%% Core Bound %.2f%%\n",
/linux/arch/alpha/lib/
H A Dev6-memchr.S47 zap $18, 0x80, $5 # U : Bound length
/linux/Documentation/core-api/
H A Ddebugging-via-ohci1394.rst107 controller implements a writable Physical Upper Bound register. This is
/linux/lib/
H A DKconfig.debug2894 This module validates the File-Lifecycle-Bound subsystem by