Searched refs:IrqLineStatus (Results 1 – 9 of 9) sorted by relevance
/DragonOS/kernel/src/exception/ |
H A D | irqdesc.rs | 39 irqdata::{IrqCommonData, IrqData, IrqHandlerData, IrqLineStatus, IrqStatus}, 108 line_status: IrqLineStatus::empty(), in new() 251 .contains(IrqLineStatus::IRQ_NOTHREAD) in can_thread() 280 IrqLineStatus::empty(), in set_percpu_devid_flags() 281 IrqLineStatus::IRQ_NOAUTOEN in set_percpu_devid_flags() 282 | IrqLineStatus::IRQ_PER_CPU in set_percpu_devid_flags() 283 | IrqLineStatus::IRQ_NOTHREAD in set_percpu_devid_flags() 284 | IrqLineStatus::IRQ_NOPROBE in set_percpu_devid_flags() 285 | IrqLineStatus::IRQ_PER_CPU_DEVID, in set_percpu_devid_flags() 290 self.modify_status(IrqLineStatus::IRQ_NOPROBE, IrqLineStatus::empty()); in set_probe() [all …]
|
H A D | irqdata.rs | 286 pub fn trigger_type(&self) -> IrqLineStatus { in trigger_type() argument 290 pub fn set_trigger_type(&self, trigger: IrqLineStatus) { in set_trigger_type() argument 361 pub struct IrqLineStatus: u32 { 419 impl IrqLineStatus { impl 458 const IRQD_TRIGGER_NONE = IrqLineStatus::IRQ_TYPE_NONE.bits(); 459 const IRQD_TRIGGER_RISING = IrqLineStatus::IRQ_TYPE_EDGE_RISING.bits(); 460 const IRQD_TRIGGER_FALLING = IrqLineStatus::IRQ_TYPE_EDGE_FALLING.bits(); 461 const IRQD_TRIGGER_HIGH = IrqLineStatus::IRQ_TYPE_LEVEL_HIGH.bits(); 462 const IRQD_TRIGGER_LOW = IrqLineStatus::IRQ_TYPE_LEVEL_LOW.bits(); 553 pub const fn trigger_type(&self) -> IrqLineStatus { in trigger_type() argument [all …]
|
H A D | manage.rs | 22 irqdata::{IrqData, IrqHandlerData, IrqLineStatus, IrqStatus}, 354 let old_trigger_type: super::irqdata::IrqLineStatus; in inner_setup_irq() 928 mut trigger_type: IrqLineStatus, in do_set_irq_trigger() argument 951 trigger_type &= IrqLineStatus::IRQ_TYPE_SENSE_MASK; in do_set_irq_trigger() 972 if !(flags & IrqLineStatus::IRQ_TYPE_LEVEL_MASK).is_empty() { in do_set_irq_trigger() 1028 status: IrqLineStatus, in irq_clear_status_flags() argument 1031 desc.modify_status(status, IrqLineStatus::empty()); in irq_clear_status_flags()
|
H A D | irqchip.rs | 29 irqdata::{IrqData, IrqHandlerData, IrqLineStatus}, 125 _flow_type: IrqLineStatus, in irq_set_type() argument 497 if trigger_type != IrqLineStatus::IRQ_TYPE_NONE { in __irq_do_set_handler()
|
H A D | irqdomain.rs | 14 exception::{irqdata::IrqLineStatus, irqdesc::irq_desc_manager, manage::irq_manager}, 223 irq_manager().irq_clear_status_flags(irq, IrqLineStatus::IRQ_NOREQUEST)?; in domain_associate()
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | timer_riscv.rs | 14 irqdata::{IrqHandlerData, IrqLineStatus}, 111 desc.modify_status(IrqLineStatus::IRQ_LEVEL, IrqLineStatus::empty()); in riscv_sbi_timer_irq_desc_init()
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | ioapic.rs | 15 irqdata::{IrqData, IrqLineStatus}, 432 desc.modify_status(IrqLineStatus::empty(), IrqLineStatus::IRQ_LEVEL); in register_handler() 435 desc.modify_status(IrqLineStatus::IRQ_LEVEL, IrqLineStatus::empty()); in register_handler() 522 flow_type: IrqLineStatus, in irq_set_type() argument
|
H A D | apic_timer.rs | 7 use crate::exception::irqdata::{IrqHandlerData, IrqLineStatus}; 100 desc.modify_status(IrqLineStatus::IRQ_LEVEL, IrqLineStatus::empty()); in local_apic_timer_irq_desc_init()
|
/DragonOS/kernel/src/arch/x86_64/interrupt/ |
H A D | ipi.rs | 13 irqdata::{IrqData, IrqLineStatus}, 240 desc.modify_status(IrqLineStatus::IRQ_LEVEL, IrqLineStatus::empty()); in do_init_irq_handler()
|