Lines Matching refs:Err

119             return Err(SystemError::ENOTCONN);  in request_threaded_irq()
135 return Err(SystemError::EINVAL); in request_threaded_irq()
140 return Err(SystemError::EINVAL); in request_threaded_irq()
146 return Err(SystemError::EINVAL); in request_threaded_irq()
236 return Err(SystemError::ENOSYS); in inner_setup_irq()
251 return Err(SystemError::EINVAL); in inner_setup_irq()
265 if let Err(e) = self.setup_irq_thread(irq, secondary_guard.deref(), true) { in inner_setup_irq()
266 return Err(err_out_thread(e, action_guard)); in inner_setup_irq()
303 if let Err(e) = self.irq_request_resources(desc.clone()) { in inner_setup_irq()
311 return Err(err_out_bus_unlock( in inner_setup_irq()
343 return Err(err_out_unlock( in inner_setup_irq()
383 return Err(err_out_mismatch( in inner_setup_irq()
402 return Err(err_out_mismatch( in inner_setup_irq()
438 return Err(err_out_unlock( in inner_setup_irq()
452 if let Err(e) = in inner_setup_irq()
462 return Err(err_out_unlock( in inner_setup_irq()
473 if let Err(e) = self.irq_activate(&desc, &mut desc_inner_guard) { in inner_setup_irq()
481 return Err(err_out_unlock( in inner_setup_irq()
713 if let Err(e) = self.irq_check_and_resend(desc_inner_guard, false) { in irq_startup()
734 if let Err(e) = chip.irq_enable(desc_inner_guard.irq_data()) { in irq_enable()
806 return Err(SystemError::EINVAL); in irq_do_set_affinity()
815 return Err(SystemError::EINVAL); in irq_do_set_affinity()
831 ret = Err(r.unwrap_err()); in irq_do_set_affinity()
843 if let Err(e) = desc_inner_guard in __irq_startup()
852 return Err(e); in __irq_startup()
992 ret = Err(r.unwrap_err()); in do_set_irq_trigger()
1062 if let Err(e) = r { in unmask_irq()