Lines Matching refs:msg
276 fn irq_install(&mut self, msg: IrqMsg) -> Result<u8, PciError> { in irq_install()
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()
288 return self.msix_install(msg); in irq_install()
291 return self.msi_install(msg); in irq_install()
307 fn msi_install(&mut self, msg: IrqMsg) -> Result<u8, PciError> { in msi_install()
321 self.irq_vector_mut().unwrap()[msg.irq_common_message.irq_index as usize]; in msi_install()
322 let common_msg = &msg.irq_common_message; in msi_install()
346 let trigger = match msg.irq_specific_message { in msi_install()
457 fn msix_install(&mut self, msg: IrqMsg) -> Result<u8, PciError> { in msix_install()
470 self.irq_vector_mut().unwrap()[msg.irq_common_message.irq_index as usize]; in msix_install()
471 let common_msg = &msg.irq_common_message; in msix_install()
494 let trigger = match msg.irq_specific_message { in msix_install()
511 + msg.irq_common_message.irq_index as usize * size_of::<MsixEntry>(); in msix_install()