Scroll to navigation

IRQ_GET_IRQCHIP_STAT(9) Public Functions Provided IRQ_GET_IRQCHIP_STAT(9)

NAME

irq_get_irqchip_state - returns the irqchip state of a interrupt.

SYNOPSIS

int irq_get_irqchip_state(unsigned int irq, enum irqchip_irq_state which, bool * state);

ARGUMENTS

unsigned int irq
Interrupt line that is forwarded to a VM

enum irqchip_irq_state which

One of IRQCHIP_STATE_* the caller wants to know about

bool * state

a pointer to a boolean where the state is to be storeed

DESCRIPTION

This call snapshots the internal irqchip state of an interrupt, returning into state the bit corresponding to stage which

This function should be called with preemption disabled if the interrupt controller has per-cpu registers.

AUTHORS

Thomas Gleixner <tglx@linutronix.de>
Author.

Ingo Molnar <mingo@elte.hu>

Author.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11