Lines Matching full:bar
19 /// A PCI BAR to perform I/O-Operations on.
23 /// `Bar` always holds an `IoRaw` instance that holds a valid pointer to the start of the I/O
24 /// memory mapped PCI BAR and its size.
25 pub struct Bar<const SIZE: usize = 0> { struct
31 impl<const SIZE: usize> Bar<SIZE> { argument
75 Ok(Bar { in new()
84 /// `ioptr` must be a valid pointer to the memory mapped PCI BAR number `num`.
102 impl Bar { impl
110 impl<const SIZE: usize> Drop for Bar<SIZE> { implementation
116 impl<const SIZE: usize> Deref for Bar<SIZE> { implementation
126 /// Maps an entire PCI BAR after performing a region-request on it. I/O operation bound checks
130 bar: u32, in iomap_region_sized()
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()
136 /// Maps an entire PCI BAR after performing a region-request on it.
139 bar: u32, in iomap_region()
141 ) -> impl PinInit<Devres<Bar>, Error> + 'a { in iomap_region() argument
142 self.iomap_region_sized::<0>(bar, name) in iomap_region()