Home
last modified time | relevance | path

Searched refs:BITS_PER_PBA_ENTRY (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/devices/src/pci/
Dmsix.rs17 pub const BITS_PER_PBA_ENTRY: usize = 64; constant
103 let num_pba_entries: usize = ((msix_vectors as usize) / BITS_PER_PBA_ENTRY) + 1; in new()
448 let index: usize = (vector as usize) / BITS_PER_PBA_ENTRY; in set_pba_bit()
449 let shift: usize = (vector as usize) % BITS_PER_PBA_ENTRY; in set_pba_bit()
463 let index: usize = (vector as usize) / BITS_PER_PBA_ENTRY; in get_pba_bit()
464 let shift: usize = (vector as usize) % BITS_PER_PBA_ENTRY; in get_pba_bit()
Dvfio_pci.rs20 MsixConfig, BITS_PER_PBA_ENTRY, MSIX_PBA_ENTRIES_MODULO, MSIX_TABLE_ENTRIES_MODULO,
386 let pba_size: u64 = (((self.table_size + BITS_PER_PBA_ENTRY as u16 - 1) in is_msix_pba()
387 / BITS_PER_PBA_ENTRY as u16) in is_msix_pba()