Home
last modified time | relevance | path

Searched refs:IrqNumber (Results 1 – 25 of 34) sorted by relevance

12

/DragonOS/kernel/src/exception/
H A Dmod.rs51 fn ack_bad_irq(irq: IrqNumber); in ack_bad_irq() argument
112 int_like!(IrqNumber, u32);
114 impl IrqNumber { impl
117 pub const IRQ_NOTCONNECTED: IrqNumber = IrqNumber::new(u32::MAX);
132 impl Add<u32> for IrqNumber { implementation
133 type Output = IrqNumber;
135 fn add(self, rhs: u32) -> IrqNumber { in add() argument
136 IrqNumber::new(self.0 + rhs) in add()
H A Dipi.rs17 HardwareIrqNumber, IrqNumber,
50 _irq: IrqNumber, in handle() argument
70 _irq: IrqNumber, in handle() argument
H A Dirqdesc.rs42 HardwareIrqNumber, InterruptArch, IrqNumber,
54 irq: IrqNumber, in handle() argument
88 pub fn new(irq: IrqNumber, name: Option<String>, irqd_flags: IrqStatus) -> Arc<Self> { in new() argument
192 pub fn irq(&self) -> IrqNumber { in irq() argument
362 parent_irq: Option<IrqNumber>,
654 irq: IrqNumber, in new() argument
703 irq: IrqNumber,
763 pub fn irq(&self) -> IrqNumber { in irq() argument
768 pub fn set_irq(&mut self, irq: IrqNumber) { in set_irq() argument
891 let irq_desc = IrqDesc::new(IrqNumber::new(i), None, IrqStatus::empty()); in early_irq_init()
[all …]
H A Dirqdomain.rs26 HardwareIrqNumber, IrqNumber,
77 IrqNumber::new(0), in create_and_add_linear()
98 first_irq: IrqNumber, in create_and_add() argument
155 first_irq: IrqNumber, in domain_associate_many() argument
172 irq: IrqNumber, in domain_associate() argument
326 virq: IrqNumber, in domain_set_info() argument
354 virq: IrqNumber, in domain_set_hwirq_and_chip() argument
386 virq: IrqNumber, in domain_get_irq_data() argument
417 ) -> Result<(Arc<IrqDesc>, IrqNumber), SystemError> { in resolve_irq_mapping() argument
427 .lookup(IrqNumber::new(hwirq.data())) in resolve_irq_mapping()
[all …]
H A Dmsi.rs11 use super::IrqNumber;
74 irq: IrqNumber,
94 irq: IrqNumber, in new() argument
H A Dmanage.rs25 IrqNumber,
64 irq: IrqNumber, in request_irq() argument
111 irq: IrqNumber, in request_threaded_irq() argument
118 if irq == IrqNumber::IRQ_NOTCONNECTED { in request_threaded_irq()
167 irq: IrqNumber, in inner_setup_irq() argument
1010 _irq: IrqNumber, in setup_irq_thread() argument
1028 irq: IrqNumber, in irq_clear_status_flags() argument
1104 pub fn free_irq(&self, _irq: IrqNumber, _dev_id: Option<Arc<DeviceId>>) { in free_irq() argument
1123 _irq: IrqNumber, in handle() argument
1139 irq: IrqNumber, in handle() argument
H A Dirqchip.rs34 IrqNumber,
388 irq: IrqNumber, in __irq_set_handler() argument
521 irq: IrqNumber, in irq_set_handler_data() argument
553 IrqNumber::new(0),
573 irq: IrqNumber, in handle() argument
H A Dirqdata.rs17 HardwareIrqNumber, IrqNumber,
29 irq: IrqNumber,
37 irq: IrqNumber, in new() argument
71 pub fn irq(&self) -> IrqNumber { in irq() argument
/DragonOS/kernel/src/driver/virtio/
H A Dmod.rs4 use crate::exception::{irqdesc::IrqReturn, IrqNumber};
25 fn handle_irq(&self, _irq: IrqNumber) -> Result<IrqReturn, SystemError>; in handle_irq()
44 fn irq(&self) -> Option<IrqNumber>; in irq() argument
46 fn set_irq_number(&self, _irq: IrqNumber) -> Result<(), SystemError> { in set_irq_number()
H A Dirq.rs11 IrqNumber,
108 irq: IrqNumber, in handle() argument
H A Dtransport.rs13 exception::IrqNumber,
26 pub fn irq(&self) -> IrqNumber { in irq() argument
29 VirtIOTransport::Mmio(transport) => IrqNumber::new(transport.irq().data()), in irq()
H A Dtransport_pci.rs11 use crate::exception::IrqNumber;
62 const VIRTIO_RECV_VECTOR: IrqNumber = IrqNumber::new(56);
102 irq: IrqNumber,
233 pub fn irq(&self) -> IrqNumber { in irq() argument
/DragonOS/kernel/src/driver/irqchip/
H A Driscv_intc.rs15 HardwareIrqNumber, IrqNumber,
122 virq: IrqNumber, in map() argument
139 fn unmap(&self, _irq_domain: &Arc<IrqDomain>, _virq: IrqNumber) { in unmap() argument
175 pub const fn riscv_intc_hwirq_to_virq(hwirq: HardwareIrqNumber) -> Option<IrqNumber> { in riscv_intc_hwirq_to_virq() argument
177 Some(IrqNumber::new(hwirq.data() + RISCV_INTC_VIRQ_START)) 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()
196 pub fn riscv_intc_assicate_irq(hwirq: HardwareIrqNumber) -> Option<IrqNumber> { in riscv_intc_assicate_irq() argument
/DragonOS/kernel/src/driver/net/
H A Dirq_handle.rs8 IrqNumber,
20 _irq: IrqNumber, in handle() argument
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dlapic_vector.rs27 HardwareIrqNumber, IrqNumber,
133 irq: IrqNumber, in new() argument
159 irq: IrqNumber,
236 IrqNumber::new(32), in arch_early_irq_init()
244 IrqNumber::new(0), in arch_early_irq_init()
288 _virq: IrqNumber, in map() argument
293 fn unmap(&self, _irq_domain: &Arc<IrqDomain>, _virq: IrqNumber) { in unmap() argument
H A Dapic_timer.rs12 use crate::exception::IrqNumber;
31 pub const APIC_TIMER_IRQ_NUM: IrqNumber = IrqNumber::new(151);
57 _irq: IrqNumber, in handle() argument
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dhandle.rs5 exception::{irqdesc::irq_desc_manager, softirq::do_softirq, IrqNumber},
25 let desc = irq_desc_manager().lookup(IrqNumber::new(vector)); in x86_64_do_irq()
H A Dipi.rs15 HardwareIrqNumber, IrqNumber,
22 pub const IPI_NUM_KICK_CPU: IrqNumber = IrqNumber::new(200);
23 pub const IPI_NUM_FLUSH_TLB: IrqNumber = IrqNumber::new(201);
234 fn do_init_irq_handler(irq: IrqNumber) { in do_init_irq_handler() argument
H A Dmod.rs18 exception::{InterruptArch, IrqFlags, IrqFlagsGuard, IrqNumber},
88 fn ack_bad_irq(irq: IrqNumber) { in ack_bad_irq() argument
/DragonOS/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs20 InterruptArch, IrqNumber,
40 const PS2_KEYBOARD_INTR_VECTOR: IrqNumber = IrqNumber::new(0x21);
184 _irq: IrqNumber, in handle() argument
/DragonOS/kernel/src/arch/x86_64/driver/
H A Dhpet.rs23 InterruptArch, IrqNumber,
67 const HPET0_IRQ: IrqNumber = IrqNumber::new(34);
271 _irq: IrqNumber, in handle() argument
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs27 IrqNumber,
39 const PS2_MOUSE_IRQ_NUM: IrqNumber = IrqNumber::new(0x2c);
50 _irq: IrqNumber, in handle() argument
/DragonOS/kernel/src/driver/clocksource/
H A Dtimer_riscv.rs19 HardwareIrqNumber, InterruptArch, IrqNumber,
121 _irq: IrqNumber, in handle() argument
/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dmod.rs8 exception::{InterruptArch, IrqFlags, IrqFlagsGuard, IrqNumber},
61 fn ack_bad_irq(irq: IrqNumber) { in ack_bad_irq() argument
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs35 IrqNumber,
46 const SERIAL_8250_PIO_IRQ: IrqNumber = IrqNumber::new(IoApic::VECTOR_BASE as u32 + 4);
470 _irq: IrqNumber, in handle() argument

12