Home
last modified time | relevance | path

Searched refs:common_data (Results 1 – 8 of 8) sorted by relevance

/DragonOS/kernel/src/exception/
H A Dmanage.rs244 .insert_trigger_type(desc.irq_data().common_data().trigger_type()) in inner_setup_irq()
355 let status = irq_data.common_data().status(); in inner_setup_irq()
360 irq_data.common_data().set_trigger_type(old_trigger_type); in inner_setup_irq()
495 .common_data() in inner_setup_irq()
500 .common_data() in inner_setup_irq()
553 let old_trigger_type = desc_inner_guard.common_data().trigger_type(); in inner_setup_irq()
648 if !desc_inner_guard.common_data().status().affinity_managed() { in irq_activate()
670 let affinity = desc_inner_guard.common_data().affinity(); in irq_startup()
673 if desc_inner_guard.common_data().status().started() { in irq_startup()
705 .common_data() in irq_startup()
[all …]
H A Dhandle.rs80 if desc_inner.actions().is_empty() || desc_inner.common_data().disabled() { in handle()
112 if desc_inner_guard.common_data().disabled() { in handle()
138 let status = desc_inner_guard.common_data().status(); in handle()
152 || desc_inner_guard.common_data().disabled() in handle()
163 let status = desc_inner_guard.common_data().status(); in irq_may_run()
178 irq_data.common_data().set_masked(); in mask_ack_irq()
186 if irq_data.common_data().masked() { in mask_irq()
197 if !irq_data.common_data().masked() { in unmask_irq()
246 desc_inner_guard.common_data().set_inprogress(); in handle_irq_event()
253 desc_inner_guard.common_data().clear_inprogress(); in handle_irq_event()
[all …]
H A Dirqdata.rs39 common_data: Arc<IrqCommonData>, in new()
46 common_data, in new()
60 let common_data = self.inner.lock_irqsave().common_data.clone(); in irqd_set() localVariable
61 common_data.insert_status(status); in irqd_set()
67 let common_data = self.inner.lock_irqsave().common_data.clone(); in irqd_clear() localVariable
68 common_data.clear_status(status); in irqd_clear()
96 .common_data in is_level_type()
106 .common_data in is_wakeup_set()
113 pub fn common_data(&self) -> Arc<IrqCommonData> { in common_data() method
114 self.inner.lock_irqsave().common_data.clone() in common_data()
[all …]
H A Dirqdesc.rs90 let common_data = Arc::new(IrqCommonData::new()); in new() localVariable
94 common_data.clone(), in new()
99 common_data.insert_status(IrqStatus::IRQD_IRQ_MASKED); in new()
105 common_data, in new()
304 let mut trigger = desc_guard.common_data().trigger_type(); in modify_status()
306 desc_guard.common_data().clear_status( in modify_status()
319 .common_data() in modify_status()
325 .common_data() in modify_status()
334 .common_data() in modify_status()
340 .common_data() in modify_status()
[all …]
H A Dresend.rs26 .common_data() in irq_check_and_resend()
H A Dirqchip.rs486 let trigger_type = desc_inner.common_data().trigger_type(); in __irq_do_set_handler()
525 desc.inner().common_data().inner().set_handler_data(data); in irq_set_handler_data()
H A Dirqdomain.rs254 if !irq_data.common_data().status().is_activated() { in activate_irq()
259 irq_data.common_data().status().set_activated(); in activate_irq()
/DragonOS/kernel/src/driver/irqchip/
H A Driscv_sifive_plic.rs245 let common_data = irq_data.common_data(); in irq_enable() localVariable
246 let inner_guard = common_data.inner(); in irq_enable()
305 let common_data = irq_data.common_data(); in irq_disable() localVariable
306 let inner_guard = common_data.inner(); in irq_disable()
314 if core::intrinsics::unlikely(irq_data.common_data().disabled()) { in irq_eoi()
381 .common_data() in irq_set_affinity()
383 if !irq_data.common_data().disabled() { in irq_set_affinity()