Home
last modified time | relevance | path

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

/DragonOS/kernel/src/exception/
H A Dipi.rs16 irqdesc::{IrqHandler, IrqReturn},
53 ) -> Result<IrqReturn, SystemError> { in handle() argument
59 Ok(IrqReturn::Handled) in handle()
73 ) -> Result<IrqReturn, SystemError> { in handle() argument
76 Ok(IrqReturn::Handled) in handle()
H A Dhandle.rs19 InnerIrqAction, IrqDesc, IrqDescState, IrqFlowHandler, IrqReturn, ThreadedHandlerFlags,
268 let mut r = Ok(IrqReturn::NotHandled); in do_handle_irq_event()
282 if let Ok(IrqReturn::WakeThread) = r { in do_handle_irq_event()
H A Dirqchip.rs30 irqdesc::{InnerIrqDesc, IrqAction, IrqDesc, IrqFlowHandler, IrqHandler, IrqReturn},
576 ) -> Result<IrqReturn, SystemError> { in handle() argument
582 Ok(IrqReturn::NotHandled) in handle()
H A Dmanage.rs23 irqdesc::{InnerIrqAction, IrqDesc, IrqDescState, IrqHandleFlags, IrqHandler, IrqReturn},
1126 ) -> Result<IrqReturn, SystemError> { in handle() argument
1127 return Ok(IrqReturn::WakeThread); in handle()
1142 ) -> Result<IrqReturn, SystemError> { in handle() argument
1144 return Ok(IrqReturn::NotHandled); in handle()
H A Dirqdesc.rs57 ) -> Result<IrqReturn, SystemError>; in handle() argument
64 pub enum IrqReturn { enum
/DragonOS/kernel/src/driver/net/
H A Dirq_handle.rs7 irqdesc::{IrqHandler, IrqReturn},
23 ) -> Result<IrqReturn, SystemError> { in handle() argument
25 Ok(IrqReturn::Handled) in handle()
H A Dvirtio_net.rs43 exception::{irqdesc::IrqReturn, IrqNumber},
261 fn handle_irq(&self, _irq: IrqNumber) -> Result<IrqReturn, SystemError> { in handle_irq() argument
263 return Ok(IrqReturn::Handled); in handle_irq()
/DragonOS/kernel/src/driver/virtio/
H A Dirq.rs10 irqdesc::{IrqHandler, IrqReturn},
111 ) -> Result<IrqReturn, SystemError> { in handle() argument
123 return Ok(IrqReturn::NotHandled); in handle()
H A Dmod.rs4 use crate::exception::{irqdesc::IrqReturn, IrqNumber};
25 fn handle_irq(&self, _irq: IrqNumber) -> Result<IrqReturn, SystemError>; in handle_irq() argument
/DragonOS/kernel/src/driver/clocksource/
H A Dtimer_riscv.rs16 irq_desc_manager, IrqDesc, IrqFlowHandler, IrqHandleFlags, IrqHandler, IrqReturn,
124 ) -> Result<IrqReturn, SystemError> { in handle() argument
126 Ok(IrqReturn::NotHandled) in handle()
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dapic_timer.rs9 irq_desc_manager, IrqDesc, IrqFlowHandler, IrqHandleFlags, IrqHandler, IrqReturn,
60 ) -> Result<IrqReturn, SystemError> { in handle() argument
62 Ok(IrqReturn::NotHandled) in handle()
279 pub(super) fn handle_irq(trap_frame: &TrapFrame) -> Result<IrqReturn, SystemError> { in handle_irq() argument
282 return Ok(IrqReturn::Handled); in handle_irq()
/DragonOS/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs18 irqdesc::{IrqHandleFlags, IrqHandler, IrqReturn},
187 ) -> Result<IrqReturn, SystemError> { in handle() argument
203 Ok(IrqReturn::Handled) in handle()
205 Ok(IrqReturn::NotHandled) in handle()
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs25 irqdesc::{IrqHandleFlags, IrqHandler, IrqReturn},
53 ) -> Result<IrqReturn, SystemError> { in handle() argument
57 .map(|_| IrqReturn::Handled) in handle()
58 .unwrap_or_else(|_| IrqReturn::NotHandled)); in handle()
61 return Ok(IrqReturn::NotHandled); in handle()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Dhpet.rs21 irqdesc::{IrqHandleFlags, IrqHandler, IrqReturn},
274 ) -> Result<IrqReturn, SystemError> { in handle() argument
276 return Ok(IrqReturn::Handled); in handle()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs33 irqdesc::{IrqHandleFlags, IrqHandler, IrqReturn},
473 ) -> Result<IrqReturn, SystemError> { in handle() argument
478 Ok(IrqReturn::Handled) in handle()
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs40 exception::{irqdesc::IrqReturn, IrqNumber},
313 ) -> Result<IrqReturn, system_error::SystemError> { in handle_irq() argument
315 Ok(crate::exception::irqdesc::IrqReturn::Handled) in handle_irq()