Lines Matching refs:desc_inner_guard
102 let mut desc_inner_guard: SpinLockGuard<'_, InnerIrqDesc> = irq_desc.inner(); in handle() localVariable
103 if !irq_may_run(&desc_inner_guard) { in handle()
105 desc_inner_guard in handle()
108 mask_ack_irq(desc_inner_guard.irq_data()); in handle()
112 if desc_inner_guard.common_data().disabled() { in handle()
114 desc_inner_guard in handle()
117 mask_ack_irq(desc_inner_guard.irq_data()); in handle()
121 let irq_data = desc_inner_guard.irq_data().clone(); in handle()
126 if unlikely(desc_inner_guard.actions().is_empty()) { in handle()
134 if desc_inner_guard in handle()
138 let status = desc_inner_guard.common_data().status(); in handle()
141 irq_manager().unmask_irq(&desc_inner_guard); in handle()
147 desc_inner_guard = handle_irq_event(irq_desc, desc_inner_guard); in handle()
149 if !desc_inner_guard in handle()
152 || desc_inner_guard.common_data().disabled() in handle()
161 fn irq_may_run(desc_inner_guard: &SpinLockGuard<'_, InnerIrqDesc>) -> bool { in irq_may_run()
163 let status = desc_inner_guard.common_data().status(); in irq_may_run()
241 mut desc_inner_guard: SpinLockGuard<'_, InnerIrqDesc>, in handle_irq_event()
243 desc_inner_guard in handle_irq_event()
246 desc_inner_guard.common_data().set_inprogress(); in handle_irq_event()
248 drop(desc_inner_guard); in handle_irq_event()
252 let desc_inner_guard = irq_desc.inner(); in handle_irq_event() localVariable
253 desc_inner_guard.common_data().clear_inprogress(); in handle_irq_event()
255 return desc_inner_guard; in handle_irq_event()
262 let desc_inner_guard = desc.inner(); in do_handle_irq_event() localVariable
263 let irq_data = desc_inner_guard.irq_data().clone(); in do_handle_irq_event()
264 let actions = desc_inner_guard.actions().clone(); in do_handle_irq_event()
265 drop(desc_inner_guard); in do_handle_irq_event()
296 desc_inner_guard: &SpinLockGuard<'_, InnerIrqDesc>, in cond_unmask_eoi_irq()
299 if !desc_inner_guard in cond_unmask_eoi_irq()
303 chip.irq_eoi(desc_inner_guard.irq_data()); in cond_unmask_eoi_irq()
314 if !desc_inner_guard.common_data().disabled() in cond_unmask_eoi_irq()
315 && desc_inner_guard.common_data().masked() in cond_unmask_eoi_irq()
316 && desc_inner_guard.threads_oneshot() == 0 in cond_unmask_eoi_irq()
320 desc_inner_guard.irq_data().irq().data() in cond_unmask_eoi_irq()
322 chip.irq_eoi(desc_inner_guard.irq_data()); in cond_unmask_eoi_irq()
323 unmask_irq(desc_inner_guard.irq_data()); in cond_unmask_eoi_irq()
325 debug!("eoi irq {}", desc_inner_guard.irq_data().irq().data()); in cond_unmask_eoi_irq()
326 chip.irq_eoi(desc_inner_guard.irq_data()); in cond_unmask_eoi_irq()
330 desc_inner_guard.irq_data().irq().data() in cond_unmask_eoi_irq()
365 let desc_inner_guard = irq_desc.inner(); in handle() localVariable
366 let irq_data = desc_inner_guard.irq_data().clone(); in handle()
373 let action = desc_inner_guard.actions().first().cloned(); in handle()
375 drop(desc_inner_guard); in handle()