Lines Matching full:bound
11 device::{Bound, Device},
35 /// This abstraction is meant to be used by subsystems to containerize [`Device`] bound resources to
38 /// [`Device`] bound resources should be freed when either the resource goes out of scope or the
55 /// # use kernel::{bindings, device::{Bound, Device}, devres::Devres, io::{Io, IoRaw}};
93 /// # fn no_run(dev: &Device<Bound>) -> Result<(), Error> {
131 dev: &'a Device<Bound>,
155 // - `dev.as_raw()` is a pointer to a valid bound device.
158 // properly initialized, because we require `dev` (i.e. the *bound* device) to
222 /// a `&'a Device<Bound>` of the same [`Device`] this [`Devres`] instance has been created with.
247 pub fn access<'a>(&'a self, dev: &'a Device<Bound>) -> Result<&'a T> {
309 fn register_foreign<P>(dev: &Device<Bound>, data: P) -> Result
322 // - `dev.as_raw()` is a pointer to a valid and bound device.
336 /// use kernel::{device::{Bound, Device}, devres};
355 /// fn from_bound_context(dev: &Device<Bound>) -> Result {
359 pub fn register<T, E>(dev: &Device<Bound>, data: impl PinInit<T, E>, flags: Flags) -> Result