| /linux/rust/kernel/irq/ |
| H A D | request.rs | 11 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 142 /// use kernel::device::{Bound, Device}; 156 /// fn handle(&self, _dev: &Device<Bound>) -> IrqReturn { 253 pub fn synchronize(&self, dev: &Device<Bound>) -> Result { in synchronize() 297 fn handle(&self, device: &Device<Bound>) [all...] |
| /linux/rust/kernel/ |
| H A D | device.rs | 58 /// reference is valid in. For instance, the [`Bound`] context guarantees that the [`Device`] is 59 /// bound to a driver for the entire duration of the existence of a [`Device<Bound>`] reference. 61 /// Other [`DeviceContext`] types besides [`Bound`] are [`Normal`], [`Core`] and [`CoreInternal`]. 188 /// Convert a [`&Device`](Device) into a [`&Device<Bound>`](Device<Bound>). 192 /// The caller is responsible to ensure that the returned [`&Device<Bound>`](Device<Bound>) 194 pub unsafe fn as_bound(&self) -> &Device<Bound> { in as_bound() argument 203 // - Any valid `Device` pointer is also a valid pointer for `Device<Bound>`. in as_bound() 275 impl Device<Bound> { 588 pub struct Bound; global() struct 593 impl Sealed for super::Bound {} global() implementation 599 impl DeviceContext for Bound {} global() implementation [all...] |
| H A D | devres.rs | 12 Bound, 65 /// Bound, 115 /// # fn no_run(dev: &Device<Bound>) -> Result<(), Error> { 192 pub fn new<E>(dev: &Device<Bound>, data: impl PinInit<T, E>) -> Result<Self> in data() 286 /// a `&'a Device<Bound>` of the same [`Device`] this [`Devres`] instance has been created with. 319 pub fn access<'a>(&'a self, dev: &'a Device<Bound>) -> Result<&'a T> { 369 fn register_foreign<P>(dev: &Device<Bound>, data: P) -> Result 398 /// Bound, 421 /// fn from_bound_context(dev: &Device<Bound>) -> Result { 425 pub fn register<T, E>(dev: &Device<Bound>, dat 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 D | maple_tree.rs | 11 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 D | scatterlist.rs | 35 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 D | regulator.rs | 21 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 D | auxiliary.rs | 252 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 D | dma.rs | 12 Bound, 213 /// # use kernel::device::{Bound, Device}; in as_raw() 216 /// # fn test(dev: &Device<Bound>) -> Result { in contains() 376 /// # Bound, 384 /// # fn test(dev: &Device<Bound>) -> Result { 396 /// # Bound, 404 /// # fn test(dev: &Device<Bound>) -> Result { in alloc_attrs() 416 dev: &device::Device<Bound>, in alloc_attrs() 427 dev: &device::Device<Bound>, in alloc_attrs() 467 /// # use kernel::device::{Bound, Devic in as_ptr() 399 alloc_attrs( dev: &device::Device<Bound>, count: usize, gfp_flags: kernel::alloc::Flags, dma_attrs: Attrs, ) -> Result<CoherentAllocation<T>> alloc_attrs() argument 442 alloc_coherent( dev: &device::Device<Bound>, count: usize, gfp_flags: kernel::alloc::Flags, ) -> Result<CoherentAllocation<T>> alloc_coherent() argument [all...] |
| H A D | platform.rs | 13 Bound, // 304 impl Device<Bound> { 386 impl Device<Bound> {
|
| H A D | cpufreq.rs | 15 device::{Bound, Device}, 1051 pub fn new_foreign_owned(dev: &Device<Bound>) -> Result in new_foreign_owned()
|
| H A D | i2c.rs | 360 /// `&Device<Core>` or `&Device<Bound>` reference. For instance, drivers may try to perform I/O 562 parent_dev: &'a device::Device<device::Bound>, in new() 563 new<'a>( i2c_adapter: &I2cAdapter, i2c_board_info: &I2cBoardInfo, parent_dev: &'a device::Device<device::Bound>, ) -> impl PinInit<Devres<Self>, Error> + 'a new() argument
|
| /linux/rust/kernel/pci/ |
| H A D | irq.rs | 9 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 D | io.rs | 82 pub(crate) pdev: &'a Device<device::Bound>, 249 impl Device<device::Bound> { in do_release()
|
| /linux/samples/rust/ |
| H A D | rust_driver_auxiliary.rs | 10 Bound, 83 fn connect(adev: &auxiliary::Device<Bound>) -> Result { in connect() 85 let pdev: &pci::Device<Bound> = dev.try_into()?; in connect()
|
| H A D | rust_driver_pci.rs | 9 Bound, 103 fn config_space(pdev: &pci::Device<Bound>) { in probe() 70 config_space(pdev: &pci::Device<Bound>) config_space() argument
|
| /linux/rust/kernel/io/ |
| H A D | mem.rs | 9 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/drivers/gpu/nova-core/ |
| H A D | gsp.rs | 85 fn new(dev: &device::Device<device::Bound>) -> Result<Self> { in new() 132 pub(crate) fn new(pdev: &pci::Device<device::Bound>) -> impl PinInit<Self, Error> + '_ { in new()
|
| /linux/drivers/gpu/nova-core/gsp/ |
| H A D | boot.rs | 51 dev: &device::Device<device::Bound>, in run_fwsec_frts() 143 pdev: &pci::Device<device::Bound>, in boot() 50 run_fwsec_frts( dev: &device::Device<device::Bound>, falcon: &Falcon<Gsp>, bar: &Bar0, bios: &Vbios, fb_layout: &FbLayout, ) -> Result<()> run_fwsec_frts() argument 132 boot( mut self: Pin<&mut Self>, pdev: &pci::Device<device::Bound>, bar: &Bar0, chipset: Chipset, gsp_falcon: &Falcon<Gsp>, sec2_falcon: &Falcon<Sec2>, ) -> Result boot() argument
|
| H A D | cmdq.rs | 231 fn new(dev: &device::Device<device::Bound>) -> Result<Self> { 506 pub(crate) fn new(dev: &device::Device<device::Bound>) -> impl PinInit<Self, Error> + '_ { in send_command()
|
| /linux/rust/proc-macro2/ |
| H A D | fallback.rs | 1145 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 D | topdown.txt | 219 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 D | ev6-memchr.S | 47 zap $18, 0x80, $5 # U : Bound length
|
| /linux/Documentation/core-api/ |
| H A D | debugging-via-ohci1394.rst | 107 controller implements a writable Physical Upper Bound register. This is
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-pci | 678 (LOCKED, RUN, or ERROR, not UNLOCKED). Bound devices consume
|
| /linux/lib/ |
| H A D | Kconfig.debug | 2907 This module validates the File-Lifecycle-Bound subsystem by
|