Lines Matching refs:SIZE
38 pub struct MmioRaw<const SIZE: usize = 0> {
43 impl<const SIZE: usize> MmioRaw<SIZE> {
46 if maxsize < SIZE { in new()
138 pub struct Mmio<const SIZE: usize = 0>(MmioRaw<SIZE>);
538 impl<const SIZE: usize> IoCapable<u8> for Mmio<SIZE> {}
539 impl<const SIZE: usize> IoCapable<u16> for Mmio<SIZE> {}
540 impl<const SIZE: usize> IoCapable<u32> for Mmio<SIZE> {}
544 impl<const SIZE: usize> IoCapable<u64> for Mmio<SIZE> {}
546 impl<const SIZE: usize> Io for Mmio<SIZE> {
600 impl<const SIZE: usize> IoKnownSize for Mmio<SIZE> {
601 const MIN_SIZE: usize = SIZE;
604 impl<const SIZE: usize> Mmio<SIZE> {
611 pub unsafe fn from_raw(raw: &MmioRaw<SIZE>) -> &Self { in from_raw()