'\" t .\" Title: irq_get_irqchip_state .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Public Functions Provided .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "IRQ_GET_IRQCHIP_STAT" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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 \fIirq\fR .RS 4 Interrupt line that is forwarded to a VM .RE .PP \fIwhich\fR .RS 4 One of IRQCHIP_STATE_* the caller wants to know about .RE .PP \fIstate\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