Searched refs:trigger (Results 1 – 5 of 5) sorted by relevance
/DragonOS-0.1.9/kernel/src/arch/x86_64/ |
D | msi.rs | 13 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-0.1.9/kernel/src/arch/riscv64/ |
D | msi.rs | 14 pub fn arch_msi_message_data(vector: u16, _processor: u16, trigger: TriggerMode) -> u32 { in arch_msi_message_data()
|
/DragonOS-0.1.9/kernel/src/exception/ |
D | irqdesc.rs | 291 let mut trigger = desc_guard.common_data().trigger_type(); in modify_status() localVariable 334 trigger = tmp; in modify_status() 337 desc_guard.common_data().set_trigger_type(trigger); in modify_status() 505 pub fn set_trigger_type(&mut self, trigger: IrqLineStatus) { in set_trigger_type() 508 .insert(trigger & IrqLineStatus::IRQ_TYPE_SENSE_MASK); in set_trigger_type() 845 pub fn insert_trigger_type(&mut self, trigger: IrqLineStatus) { in insert_trigger_type() 846 self.bits |= trigger.trigger_bits() & IrqHandleFlags::IRQF_TRIGGER_MASK.bits; in insert_trigger_type() 850 pub fn remove_trigger_type(&mut self, trigger: IrqLineStatus) { in remove_trigger_type() 851 self.bits &= !(trigger.trigger_bits() & IrqHandleFlags::IRQF_TRIGGER_MASK.bits); in remove_trigger_type()
|
D | irqdata.rs | 273 pub fn set_trigger_type(&self, trigger: IrqLineStatus) { in set_trigger_type() 274 self.inner.lock_irqsave().state.set_trigger_type(trigger); in set_trigger_type() 529 pub const fn set_trigger_type(&mut self, trigger: IrqLineStatus) { in set_trigger_type() 531 self.bits |= trigger.bits & Self::IRQD_TRIGGER_MASK.bits; in set_trigger_type()
|
/DragonOS-0.1.9/kernel/src/driver/pci/ |
D | pci_irq.rs | 398 let trigger = match msg.irq_specific_message { in msi_install() localVariable 404 let msg_data = arch_msi_message_data(irq_num.data() as u16, 0, trigger); in msi_install() 559 let trigger = match msg.irq_specific_message { in msix_install() localVariable 565 let msg_data = arch_msi_message_data(irq_num.data() as u16, 0, trigger); in msix_install()
|