Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci_irq.rs75 irq_index: u16, //要install的中断号在PCI设备中的irq_vector的index field
278 if msg.irq_common_message.irq_index as usize > irq_vector.len() { in irq_install()
280 msg.irq_common_message.irq_index, in irq_install()
321 self.irq_vector_mut().unwrap()[msg.irq_common_message.irq_index as usize]; in msi_install()
344 if common_msg.irq_index == 0 { in msi_install()
470 self.irq_vector_mut().unwrap()[msg.irq_common_message.irq_index as usize]; in msix_install()
511 + msg.irq_common_message.irq_index as usize * size_of::<MsixEntry>(); in msix_install()
651 fn irq_mask(&mut self, irq_index: u16) -> Result<u8, PciError> { in irq_mask()
655 return self.msix_mask(irq_index); in irq_mask()
658 return self.msi_mask(irq_index); in irq_mask()
[all …]