Home
last modified time | relevance | path

Searched refs:IrqStatus (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.9/kernel/src/exception/
Dirqdata.rs57 pub fn irqd_set(&self, status: IrqStatus) { in irqd_set() argument
64 pub fn irqd_clear(&self, status: IrqStatus) { in irqd_clear() argument
194 state: IrqStatus::empty(), in new()
204 pub fn insert_status(&self, status: IrqStatus) { in insert_status() argument
208 pub fn clear_status(&self, status: IrqStatus) { in clear_status() argument
216 .remove(IrqStatus::IRQD_MANAGED_SHUTDOWN); in clear_managed_shutdown()
228 .insert(IrqStatus::IRQD_IRQ_MASKED); in set_masked()
232 self.clear_status(IrqStatus::IRQD_IRQ_MASKED); in clear_masked()
239 .insert(IrqStatus::IRQD_IRQ_INPROGRESS); in set_inprogress()
246 .remove(IrqStatus::IRQD_IRQ_INPROGRESS); in clear_inprogress()
[all …]
Dirqdesc.rs39 irqdata::{IrqCommonData, IrqData, IrqHandlerData, IrqLineStatus, IrqStatus},
87 pub fn new(irq: IrqNumber, name: Option<String>, irqd_flags: IrqStatus) -> Arc<Self> { in new()
97 irq_data.irqd_set(IrqStatus::IRQD_IRQ_DISABLED); in new()
98 common_data.insert_status(IrqStatus::IRQD_IRQ_MASKED); in new()
294 IrqStatus::IRQD_NO_BALANCING in modify_status()
295 | IrqStatus::IRQD_PER_CPU in modify_status()
296 | IrqStatus::IRQD_TRIGGER_MASK in modify_status()
297 | IrqStatus::IRQD_LEVEL in modify_status()
298 | IrqStatus::IRQD_MOVE_PCNTXT, in modify_status()
307 .insert_status(IrqStatus::IRQD_NO_BALANCING); in modify_status()
[all …]
Dmanage.rs21 irqdata::{IrqData, IrqHandlerData, IrqLineStatus, IrqStatus},
470 .clear_status(IrqStatus::IRQD_IRQ_INPROGRESS); in inner_setup_irq()
475 .insert_status(IrqStatus::IRQD_PER_CPU); in inner_setup_irq()
671 .insert_status(IrqStatus::IRQD_MANAGED_SHUTDOWN); in irq_startup()
731 || common_data.status().contains(IrqStatus::IRQD_AFFINITY_SET) in irq_setup_affinity()
737 common_data.clear_status(IrqStatus::IRQD_AFFINITY_SET); in irq_setup_affinity()
919 common_data.clear_status(IrqStatus::IRQD_TRIGGER_MASK); in do_set_irq_trigger()
920 let mut irqstatus = IrqStatus::empty(); in do_set_irq_trigger()
929 .clear_status(IrqStatus::IRQD_LEVEL); in do_set_irq_trigger()
936 .insert_status(IrqStatus::IRQD_LEVEL); in do_set_irq_trigger()
[all …]
Dhandle.rs15 irqdata::{IrqData, IrqHandlerData, IrqStatus},
140 let mask = IrqStatus::IRQD_IRQ_INPROGRESS | IrqStatus::IRQD_WAKEUP_ARMED; in irq_may_run()
Dirqchip.rs14 irqdata::IrqStatus,
473 irq_data.irqd_set(IrqStatus::IRQD_IRQ_DISABLED); in __irq_do_set_handler()