Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/irqchip/
H A Driscv_intc.rs122 virq: IrqNumber, in map()
124 irq_desc_manager().set_percpu_devid_all(virq)?; in map()
127 virq, in map()
185 pub const fn riscv_intc_virq_to_hwirq(virq: IrqNumber) -> Option<HardwareIrqNumber> { in riscv_intc_virq_to_hwirq()
186 if virq.data() >= RISCV_INTC_VIRQ_START in riscv_intc_virq_to_hwirq()
187 && virq.data() < RISCV_INTC_VIRQ_START + RiscvIntcChip::IRQ_SIZE in riscv_intc_virq_to_hwirq()
189 Some(HardwareIrqNumber::new(virq.data() - RISCV_INTC_VIRQ_START)) in riscv_intc_virq_to_hwirq()
197 let virq = riscv_intc_hwirq_to_virq(hwirq)?; in riscv_intc_assicate_irq() localVariable
204 virq, in riscv_intc_assicate_irq()
209 Some(virq) in riscv_intc_assicate_irq()
H A Driscv_sifive_plic.rs562 let virq = IrqNumber::new(irq); in associate_irq_with_plic_domain() localVariable
566 .domain_associate(irq_domain, virq, hwirq) in associate_irq_with_plic_domain()
585 virq: IrqNumber, in map()
596 virq, in map()
604 let irq_desc = irq_desc_manager().lookup(virq).unwrap(); in map()
/DragonOS/kernel/src/exception/
H A Dirqdomain.rs325 virq: IrqNumber, in domain_set_info()
333 let r = self.domain_set_hwirq_and_chip(domain, virq, hwirq, Some(chip), chip_data); in domain_set_info()
337 irq_manager().__irq_set_handler(virq, flow_handler, false, handler_name); in domain_set_info()
338 irq_manager().irq_set_handler_data(virq, handler_data).ok(); in domain_set_info()
353 virq: IrqNumber, in domain_set_hwirq_and_chip()
359 .domain_get_irq_data(domain, virq) in domain_set_hwirq_and_chip()
385 virq: IrqNumber, in domain_get_irq_data()
387 let desc = irq_desc_manager().lookup(virq)?; in domain_get_irq_data()
672 fn unmap(&self, irq_domain: &Arc<IrqDomain>, virq: IrqNumber); in unmap()
/DragonOS/kernel/src/driver/clocksource/
H A Dtimer_riscv.rs108 let virq = riscv_intc_assicate_irq(RiscVSbiTimer::TIMER_IRQ).unwrap(); in riscv_sbi_timer_irq_desc_init() localVariable
109 let desc = irq_desc_manager().lookup(virq).unwrap(); in riscv_sbi_timer_irq_desc_init()