Home
last modified time | relevance | path

Searched refs:IrqData (Results 1 – 13 of 13) sorted by relevance

/DragonOS/kernel/src/exception/
H A Ddummychip.rs8 irqdata::IrqData,
26 fn ack_bad(irq_data: &Arc<IrqData>) { in ack_bad() argument
49 fn irq_enable(&self, _irq: &Arc<IrqData>) -> Result<(), SystemError> { in irq_enable()
61 fn irq_disable(&self, _irq: &Arc<IrqData>) {} in irq_disable() argument
63 fn irq_ack(&self, irq: &Arc<IrqData>) { in irq_ack() argument
67 fn irq_startup(&self, _irq: &Arc<IrqData>) -> Result<(), SystemError> { in irq_startup()
71 fn irq_shutdown(&self, _irq: &Arc<IrqData>) -> Result<(), SystemError> { in irq_shutdown()
98 fn irq_enable(&self, _irq: &Arc<IrqData>) -> Result<(), SystemError> { in irq_enable()
110 fn irq_disable(&self, _irq: &Arc<IrqData>) {} in irq_disable() argument
112 fn irq_ack(&self, _irq: &Arc<IrqData>) {} in irq_ack() argument
[all …]
H A Dirqchip.rs29 irqdata::{IrqData, IrqHandlerData, IrqLineStatus},
42 fn irq_startup(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_startup()
47 fn irq_shutdown(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_shutdown()
54 fn irq_enable(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_enable()
59 fn irq_disable(&self, irq_data: &Arc<IrqData>); in irq_disable() argument
62 fn irq_ack(&self, irq_data: &Arc<IrqData>); in irq_ack() argument
71 fn irq_mask(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_mask()
79 fn irq_mask_ack(&self, _irq_data: &Arc<IrqData>) {} in irq_mask_ack() argument
86 fn irq_unmask(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_unmask()
90 fn irq_eoi(&self, _irq_data: &Arc<IrqData>) {} in irq_eoi() argument
[all …]
H A Dirqdomain.rs24 irqdata::{IrqData, IrqHandlerData},
232 irq_data: Arc<IrqData>, in irq_domain_set_mapping() argument
248 pub fn activate_irq(&self, irq_data: &Arc<IrqData>, reserve: bool) -> Result<(), SystemError> { in activate_irq() argument
268 irq_data: Option<Arc<IrqData>>, in do_activate_irq() argument
296 fn do_deactivate_irq(&self, irq_data: Option<Arc<IrqData>>) { in do_deactivate_irq() argument
359 let irq_data: Arc<IrqData> = self in domain_set_hwirq_and_chip()
387 ) -> Option<Arc<IrqData>> { in domain_get_irq_data() argument
581 map: HashMap<HardwareIrqNumber, Arc<IrqData>>,
587 fn insert(&mut self, hwirq: HardwareIrqNumber, irq_data: Arc<IrqData>) { in insert() argument
597 fn lookup(&self, hwirq: HardwareIrqNumber) -> Option<Arc<IrqData>> { in lookup() argument
[all …]
H A Dirqdata.rs27 pub struct IrqData { struct
35 impl IrqData { argument
42 return IrqData { in new()
137 pub fn parent_data(&self) -> Option<Weak<IrqData>> { in parent_data() argument
155 parent_data: Option<Weak<IrqData>>,
H A Dhandle.rs17 irqdata::{IrqData, IrqHandlerData, IrqStatus},
174 pub(super) fn mask_ack_irq(irq_data: &Arc<IrqData>) { in mask_ack_irq() argument
185 pub(super) fn mask_irq(irq_data: &Arc<IrqData>) { in mask_irq() argument
196 pub(super) fn unmask_irq(irq_data: &Arc<IrqData>) { in unmask_irq() argument
H A Dirqdesc.rs39 irqdata::{IrqCommonData, IrqData, IrqHandlerData, IrqLineStatus, IrqStatus},
91 let irq_data = Arc::new(IrqData::new( in new()
165 irq_data: &Arc<IrqData>, in set_handler_no_lock_inner() argument
200 pub fn irq_data(&self) -> Arc<IrqData> { in irq_data() argument
359 irq_data: Arc<IrqData>,
506 pub fn irq_data(&self) -> &Arc<IrqData> { in irq_data() argument
H A Dmanage.rs22 irqdata::{IrqData, IrqHandlerData, IrqLineStatus, IrqStatus},
791 irq_data: &Arc<IrqData>, in irq_set_affinity() argument
799 irq_data: &Arc<IrqData>, in irq_do_set_affinity() argument
1037 pub(super) fn mask_irq(&self, irq_data: &Arc<IrqData>) { in mask_irq() argument
/DragonOS/kernel/src/driver/irqchip/
H A Driscv_intc.rs11 irqdata::IrqData,
49 fn irq_disable(&self, _irq: &Arc<IrqData>) {} in irq_disable() argument
51 fn irq_mask(&self, irq: &Arc<IrqData>) -> Result<(), SystemError> { in irq_mask()
56 fn irq_unmask(&self, irq: &Arc<IrqData>) -> Result<(), SystemError> { in irq_unmask()
61 fn irq_ack(&self, _irq: &Arc<IrqData>) {} in irq_ack() argument
67 fn irq_eoi(&self, _irq: &Arc<IrqData>) { in irq_eoi() argument
H A Driscv_sifive_plic.rs37 irqdata::IrqData,
189 fn plic_irq_toggle(cpumask: &CpuMask, irq_data: &Arc<IrqData>, enable: bool) { in plic_irq_toggle() argument
243 fn irq_enable(&self, irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_enable()
255 fn irq_unmask(&self, irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_unmask()
280 fn irq_mask(&self, irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_mask()
303 fn irq_disable(&self, irq_data: &Arc<IrqData>) { in irq_disable() argument
311 fn irq_eoi(&self, irq_data: &Arc<IrqData>) { in irq_eoi() argument
335 fn irq_ack(&self, _irq: &Arc<IrqData>) { in irq_ack() argument
352 irq_data: &Arc<IrqData>, in irq_set_affinity() argument
614 _irq_data: &Arc<IrqData>, in activate() argument
[all …]
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dlapic_vector.rs24 irqdata::IrqData,
65 fn irq_disable(&self, _irq: &Arc<IrqData>) {} in irq_disable() argument
67 fn irq_ack(&self, _irq: &Arc<IrqData>) { in irq_ack() argument
79 fn irq_enable(&self, _irq: &Arc<IrqData>) -> Result<(), SystemError> { in irq_enable()
84 fn irq_unmask(&self, _irq: &Arc<IrqData>) -> Result<(), SystemError> { in irq_unmask()
88 fn irq_compose_msi_msg(&self, irq: &Arc<IrqData>, msg: &mut MsiMsg) { in irq_compose_msi_msg() argument
95 fn retrigger(&self, irq: &Arc<IrqData>) -> Result<(), SystemError> { in retrigger()
H A Dioapic.rs15 irqdata::{IrqData, IrqLineStatus},
488 fn irq_startup(&self, irq: &Arc<IrqData>) -> Result<(), SystemError> { in irq_startup()
492 fn irq_mask(&self, irq: &Arc<IrqData>) -> Result<(), SystemError> { in irq_mask()
521 irq: &Arc<IrqData>, in irq_set_type() argument
545 irq: &Arc<IrqData>, in irq_set_affinity() argument
574 fn irq_unmask(&self, irq: &Arc<IrqData>) -> Result<(), SystemError> { in irq_unmask()
585 fn irq_mask_ack(&self, irq: &Arc<IrqData>) { in irq_mask_ack() argument
590 fn irq_eoi(&self, irq: &Arc<IrqData>) { in irq_eoi() argument
598 fn retrigger(&self, irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in retrigger()
602 fn irqchip_state(&self, irq: &Arc<IrqData>, which: IrqChipState) -> Result<bool, SystemError> { in irqchip_state() argument
[all …]
H A Dapic_timer.rs96 let irq_data: Arc<crate::exception::irqdata::IrqData> = desc.irq_data(); in local_apic_timer_irq_desc_init()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dipi.rs13 irqdata::{IrqData, IrqLineStatus},
236 let irq_data: Arc<IrqData> = desc.irq_data(); in do_init_irq_handler()