Searched refs:TriggerMode (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/src/arch/x86_64/ |
H A D | msi.rs | 1 use crate::driver::pci::pci_irq::TriggerMode; 13 pub fn arch_msi_message_data(vector: u16, _processor: u16, trigger: TriggerMode) -> u32 { in arch_msi_message_data() 15 TriggerMode::EdgeTrigger => vector as u32, in arch_msi_message_data() 16 TriggerMode::AssertHigh => vector as u32 | 1 << 15 | 1 << 14, in arch_msi_message_data() 17 TriggerMode::AssertLow => vector as u32 | 1 << 15, in arch_msi_message_data()
|
/DragonOS/kernel/src/arch/riscv64/ |
H A D | msi.rs | 1 use crate::driver::pci::pci_irq::TriggerMode; 14 pub fn arch_msi_message_data(_vector: u16, _processor: u16, _trigger: TriggerMode) -> u32 { in arch_msi_message_data()
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | mod.rs | 154 result.set_trigger_mode(TriggerMode::Level).ok()?; in new() 156 result.set_trigger_mode(TriggerMode::Edge).ok()?; in new() 255 pub fn set_trigger_mode(&mut self, trigger_mode: TriggerMode) -> Result<(), SystemError> { in set_trigger_mode() 259 if trigger_mode == TriggerMode::Level { in set_trigger_mode() 274 pub fn trigger_mode(&self) -> Option<TriggerMode> { in trigger_mode() argument 278 return Some(TriggerMode::Level); in trigger_mode() 280 return Some(TriggerMode::Edge); in trigger_mode() 442 pub enum TriggerMode { enum
|
/DragonOS/kernel/src/arch/x86_64/interrupt/ |
H A D | ipi.rs | 141 x86::apic::TriggerMode::Edge, in send_ipi() 153 x86::apic::TriggerMode::Edge, in send_ipi() 172 x86::apic::TriggerMode::Edge, in ipi_send_smp_init() 183 x86::apic::TriggerMode::Edge, in ipi_send_smp_init() 209 x86::apic::TriggerMode::Edge, in ipi_send_smp_startup() 220 x86::apic::TriggerMode::Edge, in ipi_send_smp_startup()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | pci_irq.rs | 122 trigger_mode: TriggerMode, 129 trigger_mode: TriggerMode::EdgeTrigger, in msi_default() 136 pub enum TriggerMode { enum
|