'\" t .\" Title: irq_get_irqchip_state .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Public Functions Provided .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "IRQ_GET_IRQCHIP_STAT" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "Public Functions Provided" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" irq_get_irqchip_state \- returns the irqchip state of a interrupt\&. .SH "SYNOPSIS" .HP \w'int\ irq_get_irqchip_state('u .BI "int irq_get_irqchip_state(unsigned\ int\ " "irq" ", enum\ irqchip_irq_state\ " "which" ", bool\ *\ " "state" ");" .SH "ARGUMENTS" .PP \fIunsigned int irq\fR .RS 4 Interrupt line that is forwarded to a VM .RE .PP \fIenum irqchip_irq_state which\fR .RS 4 One of IRQCHIP_STATE_* the caller wants to know about .RE .PP \fIbool * state\fR .RS 4 a pointer to a boolean where the state is to be storeed .RE .SH "DESCRIPTION" .PP This call snapshots the internal irqchip state of an interrupt, returning into \fIstate\fR the bit corresponding to stage \fIwhich\fR .PP This function should be called with preemption disabled if the interrupt controller has per\-cpu registers\&. .SH "AUTHORS" .PP \fBThomas Gleixner\fR <\&tglx@linutronix.de\&> .RS 4 Author. .RE .PP \fBIngo Molnar\fR <\&mingo@elte.hu\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br