Searched refs:irq_num (Results 1 – 3 of 3) sorted by relevance
/DragonOS/kernel/src/driver/pci/ |
H A D | pci_irq.rs | 362 let irq_num = in msi_install() localVariable 365 let irq_num = IrqNumber::new(irq_num.into()); in msi_install() localVariable 369 irq_num, in msi_install() 379 return Err(PciError::PciIrqError(PciIrqError::InvalidIrqNum(irq_num))); in msi_install() 384 irq_num, in msi_install() 391 irq_num.data(), in msi_install() 395 irq_num, in msi_install() 409 let msg_data = arch_msi_message_data(irq_num.data() as u16, 0, trigger); in msi_install() 526 let irq_num = in msix_install() localVariable 532 irq_num, in msix_install() [all …]
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | ioapic.rs | 278 fn vector_rte_index(irq_num: u8) -> u8 { in vector_rte_index() 279 assert!(irq_num >= Self::VECTOR_BASE); in vector_rte_index() 280 irq_num - Self::VECTOR_BASE in vector_rte_index() 285 fn level_ack(&mut self, irq_num: u8) { in level_ack() 294 volwrite!(p, virt_eoi, irq_num as u32); in level_ack()
|
/DragonOS/kernel/src/driver/irqchip/ |
H A D | riscv_sifive_plic.rs | 456 let irq_num = fdt_node in do_riscv_sifive_plic_init() localVariable 475 (irq_num + 1) as u32, in do_riscv_sifive_plic_init() 489 for x in 1..=irq_num { in do_riscv_sifive_plic_init() 531 handler_inner.enable_save = Some(AllocBitmap::new(irq_num as usize)); in do_riscv_sifive_plic_init()
|