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>);
491 impl<const SIZE: usize> IoCapable<u8> for Mmio<SIZE> {}
492 impl<const SIZE: usize> IoCapable<u16> for Mmio<SIZE> {}
493 impl<const SIZE: usize> IoCapable<u32> for Mmio<SIZE> {}
497 impl<const SIZE: usize> IoCapable<u64> for Mmio<SIZE> {}
499 impl<const SIZE: usize> Io for Mmio<SIZE> {
553 impl<const SIZE: usize> IoKnownSize for Mmio<SIZE> {
554 const MIN_SIZE: usize = SIZE;
557 impl<const SIZE: usize> Mmio<SIZE> {
564 pub unsafe fn from_raw(raw: &MmioRaw<SIZE>) -> &Self { in from_raw()