Home
last modified time | relevance | path

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

/linux/rust/kernel/irq/
H A Drequest.rs11 use crate::device::{Bound, Device};
39 fn handle(&self, device: &Device<Bound>) -> IrqReturn; in handle()
43 fn handle(&self, device: &Device<Bound>) -> IrqReturn { in handle()
49 fn handle(&self, device: &Device<Bound>) -> IrqReturn { in handle()
104 dev: &'a Device<Bound>,
114 pub(crate) unsafe fn new(dev: &'a Device<Bound>, irq: u32) -> Self { in new() argument
253 pub fn synchronize(&self, dev: &Device<Bound>) -> Result { in synchronize()
300 fn handle(&self, device: &Device<Bound>) -> ThreadedIrqReturn { in handle()
308 fn handle_threaded(&self, device: &Device<Bound>) -> IrqReturn; in handle_threaded()
312 fn handle(&self, device: &Device<Bound>) -> ThreadedIrqReturn { in handle()
[all …]
/linux/rust/kernel/
H A Ddevice.rs194 pub unsafe fn as_bound(&self) -> &Device<Bound> { in as_bound() argument
275 impl Device<Bound> {
588 pub struct Bound; struct
593 impl Sealed for super::Bound {} implementation
599 impl DeviceContext for Bound {} implementation
690 $crate::device::Core => $crate::device::Bound
697 $crate::device::Bound => $crate::device::Normal
721 ::kernel::__impl_device_context_into_aref!($crate::device::Bound, $device);
H A Ddevres.rs12 Bound,
52 /// Bound,
102 /// # fn no_run(dev: &Device<Bound>) -> Result<(), Error> {
127 pub fn new<E>(dev: &Device<Bound>, data: impl PinInit<T, E>) -> Result<Self>
193 /// a `&'a Device<Bound>` of the same [`Device`] this [`Devres`] instance has been created with. in data()
226 pub fn access<'a>(&'a self, dev: &'a Device<Bound>) -> Result<&'a T> {
276 fn register_foreign<P>(dev: &Device<Bound>, data: P) -> Result in try_access_with()
305 /// Bound, in drop()
328 /// fn from_bound_context(dev: &Device<Bound>) -> Result { in register_foreign()
332 pub fn register<T, E>(dev: &Device<Bound>, dat in register_foreign()
143 new<'a, E>( dev: &'a Device<Bound>, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<Self, Error> + 'a where T: 'a, Error: From<E>, new() argument
321 register_foreign<P>(dev: &Device<Bound>, data: P) -> Result where P: ForeignOwnable + Send + 'static, register_foreign() argument
371 register<T, E>(dev: &Device<Bound>, data: impl PinInit<T, E>, flags: Flags) -> Result where T: Send + 'static, Error: From<E>, register() argument
[all...]
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},
84 pub fn devm_enable(dev: &Device<Bound>, name: &CStr) -> Result { in devm_enable() argument
102 pub fn devm_enable_optional(dev: &Device<Bound>, name: &CStr) -> Result { in devm_enable_optional() argument
194 /// # use kernel::device::{Bound, Device};
196 /// fn enable(dev: &Device<Bound>) -> Result {
H A Dauxiliary.rs252 impl Device<device::Bound> {
254 pub fn parent(&self) -> &device::Device<device::Bound> { in parent() argument
343 parent: &'a device::Device<device::Bound>, in new() argument
H A Dplatform.rs13 Bound, //
304 impl Device<Bound> {
386 impl Device<Bound> {
H A Ddma.rs9 device::{Bound, Core},
399 dev: &device::Device<Bound>, in alloc_attrs() argument
442 dev: &device::Device<Bound>, in alloc_coherent() argument
H A Dcpufreq.rs15 device::{Bound, Device},
1050 pub fn new_foreign_owned(dev: &Device<Bound>) -> Result in new_foreign_owned()
H A Di2c.rs563 parent_dev: &'a device::Device<device::Bound>, in new() argument
/linux/rust/kernel/pci/
H A Dirq.rs9 device::Bound,
80 dev: &'a Device<Bound>,
91 unsafe fn new(dev: &'a Device<Bound>, index: u32) -> Self { in new() argument
133 dev: &'a Device<Bound>, in register() argument
174 impl Device<device::Bound> {
H A Dio.rs84 pub(crate) pdev: &'a Device<device::Bound>,
288 impl Device<device::Bound> {
/linux/samples/rust/
H A Drust_driver_auxiliary.rs10 Bound,
83 fn connect(adev: &auxiliary::Device<Bound>) -> Result { in connect()
85 let pdev: &pci::Device<Bound> = dev.try_into()?; in connect()
H A Drust_driver_pci.rs8 device::Bound,
70 fn config_space(pdev: &pci::Device<Bound>) { in config_space() argument
/linux/rust/kernel/io/
H A Dmem.rs9 Bound,
27 device: &'a Device<Bound>,
38 pub(crate) unsafe fn new(device: &'a Device<Bound>, resource: &'a Resource) -> Self {
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/drivers/gpu/nova-core/gsp/
H A Dcmdq.rs198 fn new(dev: &device::Device<device::Bound>) -> Result<Self> { in new()
453 pub(crate) fn new(dev: &device::Device<device::Bound>) -> Result<Cmdq> { in new()
/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/Documentation/ABI/testing/
H A Dsysfs-bus-pci678 (LOCKED, RUN, or ERROR, not UNLOCKED). Bound devices consume
/linux/lib/
H A DKconfig.debug2888 This module validates the File-Lifecycle-Bound subsystem by