Lines Matching refs:usize
32 #[repr(usize)]
45 pub const fn into_raw(self) -> usize { in into_raw() argument
48 self as usize in into_raw()
64 const SIZE: usize;
68 const SIZE: usize = 256;
72 const SIZE: usize = 4096;
153 fn addr(&self) -> usize { in addr() argument
159 fn maxsize(&self) -> usize { in maxsize() argument
176 const MIN_SIZE: usize = S::SIZE;
188 pub struct Bar<const SIZE: usize = 0> {
194 impl<const SIZE: usize> Bar<SIZE> {
217 let ioptr: usize = unsafe { bindings::pci_iomap(pdev.as_raw(), num, 0) } as usize; in new()
226 let io = match MmioRaw::new(ioptr, len as usize) { in new()
248 unsafe fn do_release(pdev: &Device, ioptr: usize, num: i32) { in do_release() argument
273 impl<const SIZE: usize> Drop for Bar<SIZE> {
279 impl<const SIZE: usize> Deref for Bar<SIZE> {
291 pub fn iomap_region_sized<'a, const SIZE: usize>( in iomap_region_sized()