driver_interface::irqTrait Driver
Source pub trait Driver: DriverGeneric {
// Required methods
fn get_and_acknowledge_interrupt(&self) -> Option<usize>;
fn end_interrupt(&self, irq: usize);
fn irq_max_size(&self) -> usize;
fn irq_enable(&mut self, irq: usize);
fn irq_disable(&mut self, irq: usize);
fn current_cpu_setup(&self);
fn set_priority(&mut self, irq: usize, priority: usize);
fn set_trigger(&mut self, irq: usize, triger: Trigger);
fn set_bind_cpu(&mut self, irq: usize, cpu_list: &[u64]);
fn fdt_parse_config(&self, prop_interupt: &[usize]) -> IrqProbeConfig;
}