pub fn register_irq_handler( dev: &Device, handler: Option<extern "C" fn(Irq, *mut ())>, ctx: *mut (), ) -> Result<(), PosixError>