Home
last modified time | relevance | path

Searched refs:Devres (Results 1 – 13 of 13) sorted by relevance

/linux/rust/kernel/io/
H A Dmem.rs13 devres::Devres,
85 pub fn iomap_sized<const SIZE: usize>(self) -> impl PinInit<Devres<IoMem<SIZE>>, Error> + 'a { in iomap_sized()
97 ) -> impl PinInit<Devres<ExclusiveIoMem<SIZE>>, Error> + 'a { in iomap_exclusive_sized()
143 pub fn iomap(self) -> impl PinInit<Devres<IoMem<0>>, Error> + 'a { in iomap()
149 pub fn iomap_exclusive(self) -> impl PinInit<Devres<ExclusiveIoMem<0>>, Error> + 'a { in iomap_exclusive()
197 pub fn new<'a>(io_request: IoRequest<'a>) -> impl PinInit<Devres<Self>, Error> + 'a { in new()
201 Devres::new(dev, Self::ioremap(res)) in new()
265 pub fn new<'a>(io_request: IoRequest<'a>) -> impl PinInit<Devres<Self>, Error> + 'a { in new()
269 Devres::new(dev, Self::ioremap(res)) in new()
/linux/rust/kernel/pci/
H A Dio.rs9 devres::Devres,
132 ) -> impl PinInit<Devres<Bar<SIZE>>, Error> + 'a { in iomap_region_sized()
133 Devres::new(self.as_ref(), Bar::<SIZE>::new(self, bar, name)) in iomap_region_sized()
141 ) -> impl PinInit<Devres<Bar>, Error> + 'a { in iomap_region()
/linux/rust/kernel/
H A Ddevres.rs120 pub struct Devres<T: Send> { struct
137 impl<T: Send> Devres<T> { argument
287 unsafe impl<T: Send> Send for Devres<T> {} implementation
290 unsafe impl<T: Send + Sync> Sync for Devres<T> {} implementation
293 impl<T: Send> PinnedDrop for Devres<T> { implementation
H A Dscatterlist.rs36 devres::Devres,
320 dma: Devres<DmaMappedSgt>,
378 Devres::new(dev, unsafe { DmaMappedSgt::new(sgt, dev, dir) }) in new()
H A Dauxiliary.rs10 devres::Devres,
316 ) -> impl PinInit<Devres<Self>, Error> + 'a { in new()
353 Ok(Devres::new( in new()
H A Di2c.rs14 devres::Devres,
555 ) -> impl PinInit<Devres<Self>, Error> + 'a { in new()
556 Devres::new(parent_dev, Self::try_new(i2c_adapter, i2c_board_info)) in new()
/linux/samples/rust/
H A Drust_driver_auxiliary.rs10 devres::Devres,
55 _reg0: Devres<auxiliary::Registration>,
57 _reg1: Devres<auxiliary::Registration>,
H A Drust_i2c_client.rs74 devres::Devres,
86 _reg: Devres<i2c::Registration>,
H A Drust_driver_pci.rs7 use kernel::{c_str, device::Core, devres::Devres, pci, prelude::*, sync::aref::ARef};
32 bar: Devres<Bar0>,
/linux/Documentation/driver-api/driver-model/
H A Ddevres.rst2 Devres - Managed Device Resource
11 1. Intro : Huh? Devres?
12 2. Devres : Devres in a nutshell
13 3. Devres Group : Group devres'es and release them together
47 2. Devres
145 3. Devres group
148 Devres entries can be grouped using devres group. When a group is
/linux/drivers/gpu/nova-core/
H A Ddriver.rs7 devres::Devres,
28 _reg: Devres<auxiliary::Registration>,
/linux/drivers/gpu/drm/tyr/
H A Ddriver.rs9 use kernel::devres::Devres;
68 fn issue_soft_reset(dev: &Device<Bound>, iomem: &Devres<IoMem>) -> Result { in issue_soft_reset()
/linux/drivers/pwm/
H A Dpwm_th1520.rs96 iomem: devres::Devres<IoMem<TH1520_PWM_REG_SIZE>>,