Searched refs:irq_desc (Results 1 – 8 of 8) sorted by relevance
/DragonOS/kernel/src/exception/ |
H A D | handle.rs | 50 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle() 53 CurrentIrqArch::ack_bad_irq(irq_desc.irq()); in handle() 62 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle() 63 let chip = irq_desc.irq_data().chip_info_read_irqsave().chip(); in handle() 65 let mut desc_inner = irq_desc.inner(); in handle() 89 desc_inner = handle_irq_event(irq_desc, desc_inner); in handle() 101 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle() 102 let mut desc_inner_guard: SpinLockGuard<'_, InnerIrqDesc> = irq_desc.inner(); in handle() 147 desc_inner_guard = handle_irq_event(irq_desc, desc_inner_guard); in handle() 240 irq_desc: &'a Arc<IrqDesc>, in handle_irq_event() [all …]
|
H A D | sysfs.rs | 152 let irq_desc = kobj in show() localVariable 157 let chip = irq_desc.irq_data().chip_info_read_irqsave().chip(); in show() 183 let irq_desc = kobj in show() localVariable 187 let hwirq = irq_desc.hardware_irq(); in show() 209 let irq_desc = kobj in show() localVariable 213 let irq_type = if irq_desc.irq_data().is_level_type() { in show() 240 let irq_desc = kobj in show() localVariable 244 let wakeup = irq_desc.irq_data().is_wakeup_set(); in show() 266 let irq_desc = kobj in show() localVariable 271 if let Some(name) = irq_desc.name() { in show() [all …]
|
H A D | irqdesc.rs | 47 fn handle(&self, irq_desc: &Arc<IrqDesc>, trap_frame: &mut TrapFrame); in handle() 101 let irq_desc = IrqDesc { in new() localVariable 124 let irq_desc = Arc::new(irq_desc); in new() localVariable 125 irq_desc.irq_data().set_irq_desc(Arc::downgrade(&irq_desc)); in new() 126 irq_desc.set_handler(bad_irq_handler()); in new() 127 irq_desc.inner().irq_data.irqd_set(irqd_flags); in new() 129 return irq_desc; in new() 891 let irq_desc = IrqDesc::new(IrqNumber::new(i), None, IrqStatus::empty()); in early_irq_init() localVariable 892 manager.insert(IrqNumber::new(i), irq_desc); in early_irq_init() 1042 let (irq_desc, _) = in handle_domain_irq() [all …]
|
H A D | irqdomain.rs | 426 let irq_desc = irq_desc_manager() in resolve_irq_mapping() localVariable 429 if irq_desc.irq_data().hardware_irq() == hwirq { in resolve_irq_mapping() 430 let irq = irq_desc.irq_data().irq(); in resolve_irq_mapping() 431 return Ok((irq_desc, irq)); in resolve_irq_mapping() 440 let irq_desc = irq_data.irq_desc().unwrap(); in resolve_irq_mapping() localVariable 441 return Ok((irq_desc, irq_data.irq())); in resolve_irq_mapping()
|
H A D | irqchip.rs | 398 let irq_desc = r.unwrap(); in __irq_set_handler() localVariable 400 let mut desc_inner = irq_desc.inner(); in __irq_set_handler() 401 self.__irq_do_set_handler(&irq_desc, &mut desc_inner, Some(handler), is_chained, name); in __irq_set_handler() 404 irq_desc.chip_bus_sync_unlock(); in __irq_set_handler()
|
H A D | irqdata.rs | 75 pub fn irq_desc(&self) -> Option<Arc<IrqDesc>> { in irq_desc() method
|
/DragonOS/kernel/src/driver/irqchip/ |
H A D | riscv_sifive_plic.rs | 604 let irq_desc = irq_desc_manager().lookup(virq).unwrap(); in map() localVariable 605 irq_desc.set_noprobe(); in map() 607 irq_manager().irq_set_affinity(&irq_desc.irq_data(), &irq_desc.inner(), &mask)?; in map()
|
/DragonOS/kernel/src/arch/x86_64/interrupt/ |
H A D | ipi.rs | 249 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle() 250 let irq = irq_desc.irq_data().irq(); in handle()
|