Home
last modified time | relevance | path

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

/DragonOS/kernel/src/exception/
H A Dirqdata.rs58 pub fn irqd_set(&self, status: IrqStatus) { in irqd_set() argument
65 pub fn irqd_clear(&self, status: IrqStatus) { in irqd_clear() argument
210 state: IrqStatus::empty(), in new()
221 pub fn insert_status(&self, status: IrqStatus) { in insert_status() argument
225 pub fn clear_status(&self, status: IrqStatus) { in clear_status() argument
233 .remove(IrqStatus::IRQD_MANAGED_SHUTDOWN); in clear_managed_shutdown()
245 .insert(IrqStatus::IRQD_IRQ_MASKED); in set_masked()
249 self.clear_status(IrqStatus::IRQD_IRQ_MASKED); in clear_masked()
256 .insert(IrqStatus::IRQD_IRQ_INPROGRESS); in set_inprogress()
263 .remove(IrqStatus::IRQD_IRQ_INPROGRESS); in clear_inprogress()
[all …]
H A Dirqdesc.rs39 irqdata::{IrqCommonData, IrqData, IrqHandlerData, IrqLineStatus, IrqStatus},
88 pub fn new(irq: IrqNumber, name: Option<String>, irqd_flags: IrqStatus) -> Arc<Self> { in new()
98 irq_data.irqd_set(IrqStatus::IRQD_IRQ_DISABLED); in new()
99 common_data.insert_status(IrqStatus::IRQD_IRQ_MASKED); in new()
307 IrqStatus::IRQD_NO_BALANCING in modify_status()
308 | IrqStatus::IRQD_PER_CPU in modify_status()
309 | IrqStatus::IRQD_TRIGGER_MASK in modify_status()
310 | IrqStatus::IRQD_LEVEL in modify_status()
311 | IrqStatus::IRQD_MOVE_PCNTXT, in modify_status()
320 .insert_status(IrqStatus::IRQD_NO_BALANCING); in modify_status()
[all …]
H A Dmanage.rs22 irqdata::{IrqData, IrqHandlerData, IrqLineStatus, IrqStatus},
496 .clear_status(IrqStatus::IRQD_IRQ_INPROGRESS); in inner_setup_irq()
501 .insert_status(IrqStatus::IRQD_PER_CPU); in inner_setup_irq()
706 .insert_status(IrqStatus::IRQD_MANAGED_SHUTDOWN); in irq_startup()
766 || common_data.status().contains(IrqStatus::IRQD_AFFINITY_SET) in irq_setup_affinity()
772 common_data.clear_status(IrqStatus::IRQD_AFFINITY_SET); in irq_setup_affinity()
960 common_data.clear_status(IrqStatus::IRQD_TRIGGER_MASK); in do_set_irq_trigger()
961 let mut irqstatus = IrqStatus::empty(); in do_set_irq_trigger()
970 .clear_status(IrqStatus::IRQD_LEVEL); in do_set_irq_trigger()
977 .insert_status(IrqStatus::IRQD_LEVEL); in do_set_irq_trigger()
[all …]
H A Dhandle.rs17 irqdata::{IrqData, IrqHandlerData, IrqStatus},
162 let mask = IrqStatus::IRQD_IRQ_INPROGRESS | IrqStatus::IRQD_WAKEUP_ARMED; in irq_may_run()
192 irq_data.irqd_set(IrqStatus::IRQD_IRQ_MASKED); in mask_irq()
204 irq_data.irqd_clear(IrqStatus::IRQD_IRQ_MASKED); in unmask_irq()
H A Dirqchip.rs15 irqdata::IrqStatus,
474 irq_data.irqd_set(IrqStatus::IRQD_IRQ_DISABLED); in __irq_do_set_handler()