Lines Matching refs:u8
39 const CAP_BAR_OFFSET: u8 = 4;
41 const CAP_BAR_OFFSET_OFFSET: u8 = 8;
43 const CAP_LENGTH_OFFSET: u8 = 12;
45 const CAP_NOTIFY_OFF_MULTIPLIER_OFFSET: u8 = 16;
48 const VIRTIO_PCI_CAP_COMMON_CFG: u8 = 1;
50 const VIRTIO_PCI_CAP_NOTIFY_CFG: u8 = 2;
52 const VIRTIO_PCI_CAP_ISR_CFG: u8 = 3;
54 const VIRTIO_PCI_CAP_DEVICE_CFG: u8 = 4;
87 isr_status: NonNull<Volatile<u8>>,
119 let cap_len = capability.private_header as u8; in new()
120 let cfg_type = (capability.private_header >> 8) as u8; in new()
126 as u8, in new()
251 volwrite!(self.common_cfg, device_status, status.bits() as u8); in set_status()
351 device_status: Volatile<u8>,
352 config_generation: ReadOnly<u8>,
368 bar: u8,
393 BarNotAllocated(u8),
486 let vaddr = NonNull::new(vaddr as *mut u8).unwrap(); in get_bar_region()