Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/irqchip/
H A Driscv_intc.rs24 static mut RISCV_INTC_CHIP: Option<Arc<RiscvIntcChip>> = None;
32 fn riscv_intc_chip() -> Option<&'static Arc<RiscvIntcChip>> { in riscv_intc_chip()
40 struct RiscvIntcChip { struct
44 impl IrqChip for RiscvIntcChip { argument
95 impl RiscvIntcChip { implementation
146 let intc_chip = Arc::new(RiscvIntcChip::new()); in riscv_intc_init()
156 RiscvIntcChip::IRQ_SIZE, in riscv_intc_init()
176 if hwirq.data() < RiscvIntcChip::IRQ_SIZE { in riscv_intc_hwirq_to_virq()
187 && virq.data() < RISCV_INTC_VIRQ_START + RiscvIntcChip::IRQ_SIZE in riscv_intc_virq_to_hwirq()