Home
last modified time | relevance | path

Searched refs:istate (Results 1 – 11 of 11) sorted by relevance

/kernel/irq/
Dautoprobe.c71 desc->istate |= IRQS_AUTODETECT | IRQS_WAITING; in probe_irq_on()
73 desc->istate |= IRQS_PENDING; in probe_irq_on()
89 if (desc->istate & IRQS_AUTODETECT) { in probe_irq_on()
91 if (!(desc->istate & IRQS_WAITING)) { in probe_irq_on()
92 desc->istate &= ~IRQS_AUTODETECT; in probe_irq_on()
125 if (desc->istate & IRQS_AUTODETECT) { in probe_irq_mask()
126 if (i < 16 && !(desc->istate & IRQS_WAITING)) in probe_irq_mask()
129 desc->istate &= ~IRQS_AUTODETECT; in probe_irq_mask()
165 if (desc->istate & IRQS_AUTODETECT) { in probe_irq_off()
166 if (!(desc->istate & IRQS_WAITING)) { in probe_irq_off()
[all …]
Dchip.c472 desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING); in handle_nested_irq()
476 desc->istate |= IRQS_PENDING; in handle_nested_irq()
501 if (!(desc->istate & IRQS_POLL_INPROGRESS)) in irq_check_poll()
563 desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING); in handle_simple_irq()
566 desc->istate |= IRQS_PENDING; in handle_simple_irq()
600 desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING); in handle_untracked_irq()
603 desc->istate |= IRQS_PENDING; in handle_untracked_irq()
607 desc->istate &= ~IRQS_PENDING; in handle_untracked_irq()
656 desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING); in handle_level_irq()
663 desc->istate |= IRQS_PENDING; in handle_level_irq()
[all …]
Dresend.c116 desc->istate &= ~IRQS_PENDING; in check_irq_resend()
120 if (desc->istate & IRQS_REPLAY) in check_irq_resend()
123 if (!(desc->istate & IRQS_PENDING) && !inject) in check_irq_resend()
126 desc->istate &= ~IRQS_PENDING; in check_irq_resend()
133 desc->istate |= IRQS_REPLAY; in check_irq_resend()
175 if ((desc->istate & IRQS_NMI) || !irqd_is_activated(&desc->irq_data)) in irq_inject_interrupt()
Dpm.c20 desc->istate |= IRQS_SUSPENDED | IRQS_PENDING; in irq_pm_check_wakeup()
101 desc->istate |= IRQS_SUSPENDED; in suspend_device_irq()
168 if (desc->istate & IRQS_SUSPENDED) in resume_irq()
180 desc->istate &= ~IRQS_SUSPENDED; in resume_irq()
217 if (!(desc->istate & IRQS_SUSPENDED) || in rearm_wake_irq()
221 desc->istate &= ~IRQS_SUSPENDED; in rearm_wake_irq()
Dspurious.c100 desc->istate |= IRQS_PENDING; in try_one_irq()
105 desc->istate |= IRQS_POLL_INPROGRESS; in try_one_irq()
111 } while ((desc->istate & IRQS_PENDING) && action); in try_one_irq()
112 desc->istate &= ~IRQS_POLL_INPROGRESS; in try_one_irq()
160 state = desc->istate; in poll_spurious_irqs()
276 if (desc->istate & IRQS_POLL_INPROGRESS || in note_interrupt()
420 desc->istate |= IRQS_SPURIOUS_DISABLED; in note_interrupt()
Dmanage.c467 if (!desc || desc->istate & IRQS_NMI) in irq_set_affinity_notifier()
694 if (desc->istate & IRQS_SUSPENDED) in __enable_irq()
798 if (desc->istate & IRQS_NMI) { in irq_set_irq_wake()
986 if (!(desc->istate & IRQS_ONESHOT) || in irq_finalize_oneshot()
1527 if (desc->istate & IRQS_NMI) { in __setup_irq()
1653 desc->istate &= ~(IRQS_AUTODETECT | IRQS_SPURIOUS_DISABLED | \ in __setup_irq()
1663 desc->istate |= IRQS_ONESHOT; in __setup_irq()
1708 if (shared && (desc->istate & IRQS_SPURIOUS_DISABLED)) { in __setup_irq()
1709 desc->istate &= ~IRQS_SPURIOUS_DISABLED; in __setup_irq()
1952 desc->istate &= ~IRQS_NMI; in __cleanup_nmi()
[all …]
Dinternals.h20 #define istate core_internal_state__do_not_mess_with_it macro
311 desc->istate &= ~IRQS_TIMINGS; in irq_remove_timings()
339 desc->istate |= IRQS_TIMINGS; in irq_setup_timings()
387 if (desc->istate & IRQS_TIMINGS) in record_irq_time()
Ddebugfs.c171 seq_printf(m, "istate: 0x%08x\n", desc->istate); in irq_debug_show()
172 irq_debug_show_bits(m, 0, desc->istate, irqdesc_istates, in irq_debug_show()
Ddebug.h7 #define ___PS(f) if (desc->istate & f) printk("%14s set\n", #f)
Dhandle.c209 desc->istate &= ~IRQS_PENDING; in handle_irq_event()
Dirqdesc.c297 desc->istate |= IRQS_SYSFS; in irq_sysfs_add()
309 if (desc->istate & IRQS_SYSFS) in irq_sysfs_del()
988 return desc->istate & IRQS_NMI; in irq_is_nmi()