/DragonOS/kernel/src/exception/ |
H A D | mod.rs | 122 int_like!(HardwareIrqNumber, u32); 124 impl Add<u32> for HardwareIrqNumber { implementation 125 type Output = HardwareIrqNumber; 127 fn add(self, rhs: u32) -> HardwareIrqNumber { in add() argument 128 HardwareIrqNumber::new(self.0 + rhs) in add()
|
H A D | irqdomain.rs | 26 HardwareIrqNumber, IrqNumber, 78 HardwareIrqNumber::new(0), in create_and_add_linear() 99 first_hwirq: HardwareIrqNumber, in create_and_add() argument 156 first_hwirq: HardwareIrqNumber, in domain_associate_many() argument 173 hwirq: HardwareIrqNumber, in domain_associate() argument 211 irq_data_guard.set_hwirq(HardwareIrqNumber::new(0)); in domain_associate() 231 hwirq: HardwareIrqNumber, in irq_domain_set_mapping() argument 326 hwirq: HardwareIrqNumber, in domain_set_info() argument 354 hwirq: HardwareIrqNumber, in domain_set_hwirq_and_chip() argument 415 hwirq: HardwareIrqNumber, in resolve_irq_mapping() argument [all …]
|
H A D | ipi.rs | 17 HardwareIrqNumber, IrqNumber, 26 SpecVector(HardwareIrqNumber),
|
H A D | irqdata.rs | 17 HardwareIrqNumber, IrqNumber, 38 hwirq: HardwareIrqNumber, in new() argument 88 pub fn hardware_irq(&self) -> HardwareIrqNumber { in hardware_irq() argument 146 hwirq: HardwareIrqNumber, 159 pub fn set_hwirq(&mut self, hwirq: HardwareIrqNumber) { in set_hwirq() argument
|
H A D | irqdesc.rs | 42 HardwareIrqNumber, InterruptArch, IrqNumber, 93 HardwareIrqNumber::new(irq.data()), in new() 196 pub fn hardware_irq(&self) -> HardwareIrqNumber { in hardware_irq() argument 1029 hwirq: HardwareIrqNumber, in handle_domain_irq() argument
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | hw_irq.rs | 1 use crate::{exception::HardwareIrqNumber, int_like}; 8 pub vector: HardwareIrqNumber,
|
H A D | lapic_vector.rs | 27 HardwareIrqNumber, IrqNumber, 134 vector: HardwareIrqNumber, in new() argument 160 vector: HardwareIrqNumber, 161 prev_vector: Option<HardwareIrqNumber>, 237 HardwareIrqNumber::new(32), in arch_early_irq_init() 245 HardwareIrqNumber::new(0), in arch_early_irq_init() 287 _hwirq: HardwareIrqNumber, in map() argument
|
/DragonOS/kernel/src/driver/irqchip/ |
H A D | riscv_intc.rs | 15 HardwareIrqNumber, IrqNumber, 121 hwirq: HardwareIrqNumber, in map() argument 175 pub const fn riscv_intc_hwirq_to_virq(hwirq: HardwareIrqNumber) -> Option<IrqNumber> { in riscv_intc_hwirq_to_virq() 185 pub const fn riscv_intc_virq_to_hwirq(virq: IrqNumber) -> Option<HardwareIrqNumber> { in riscv_intc_virq_to_hwirq() argument 189 Some(HardwareIrqNumber::new(virq.data() - RISCV_INTC_VIRQ_START)) in riscv_intc_virq_to_hwirq() 196 pub fn riscv_intc_assicate_irq(hwirq: HardwareIrqNumber) -> Option<IrqNumber> { in riscv_intc_assicate_irq() 214 let hwirq = HardwareIrqNumber::new(trap_frame.cause.code() as u32); in riscv_intc_irq()
|
H A D | riscv_sifive_plic.rs | 41 HardwareIrqNumber, IrqNumber, 172 fn toggle(&self, hwirq: HardwareIrqNumber, enable: bool) { in toggle() argument 490 irq_handler.toggle(HardwareIrqNumber::new(x as u32), false); in do_riscv_sifive_plic_init() 563 let hwirq = HardwareIrqNumber::new(irq); in associate_irq_with_plic_domain() 584 hwirq: HardwareIrqNumber, in map() argument 654 let hwirq = HardwareIrqNumber::new(claim); in do_plic_irq()
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | transport_mmio.rs | 15 exception::HardwareIrqNumber, 26 irq: HardwareIrqNumber, 68 irq: HardwareIrqNumber::new(irq as u32), in new() 81 pub fn irq(&self) -> HardwareIrqNumber { in irq() argument
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | timer_riscv.rs | 19 HardwareIrqNumber, InterruptArch, IrqNumber, 38 pub const TIMER_IRQ: HardwareIrqNumber = HardwareIrqNumber::new(5);
|
/DragonOS/kernel/src/arch/x86_64/interrupt/ |
H A D | ipi.rs | 15 HardwareIrqNumber, IrqNumber, 30 SpecVector(HardwareIrqNumber),
|