Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/
H A Dmsi.rs13 pub fn arch_msi_message_data(vector: u16, _processor: u16, trigger: TriggerMode) -> u32 { in arch_msi_message_data()
14 match trigger { in arch_msi_message_data()
/DragonOS/kernel/src/exception/
H A Dirqdesc.rs302 let mut trigger = desc_guard.common_data().trigger_type(); in modify_status() localVariable
345 trigger = tmp; in modify_status()
348 desc_guard.common_data().set_trigger_type(trigger); in modify_status()
521 pub fn set_trigger_type(&mut self, trigger: IrqLineStatus) { in set_trigger_type()
524 .insert(trigger & IrqLineStatus::IRQ_TYPE_SENSE_MASK); in set_trigger_type()
863 pub fn insert_trigger_type(&mut self, trigger: IrqLineStatus) { in insert_trigger_type()
864 self.bits |= trigger.trigger_bits() & IrqHandleFlags::IRQF_TRIGGER_MASK.bits; in insert_trigger_type()
868 pub fn remove_trigger_type(&mut self, trigger: IrqLineStatus) { in remove_trigger_type()
869 self.bits &= !(trigger.trigger_bits() & IrqHandleFlags::IRQF_TRIGGER_MASK.bits); in remove_trigger_type()
H A Dirqdata.rs290 pub fn set_trigger_type(&self, trigger: IrqLineStatus) { in set_trigger_type()
291 self.inner.lock_irqsave().state.set_trigger_type(trigger); in set_trigger_type()
559 pub const fn set_trigger_type(&mut self, trigger: IrqLineStatus) { in set_trigger_type()
561 self.bits |= trigger.bits & Self::IRQD_TRIGGER_MASK.bits; in set_trigger_type()
/DragonOS/kernel/src/driver/pci/
H A Dpci_irq.rs403 let trigger = match msg.irq_specific_message { in msi_install() localVariable
409 let msg_data = arch_msi_message_data(irq_num.data() as u16, 0, trigger); in msi_install()
564 let trigger = match msg.irq_specific_message { in msix_install() localVariable
570 let msg_data = arch_msi_message_data(irq_num.data() as u16, 0, trigger); in msix_install()