'\" t .\" Title: struct irq_data .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Structures .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "STRUCT IRQ_DATA" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Structures" .\" ----------------------------------------------------------------- .\" * 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" struct_irq_data \- per irq and irq chip data passed down to chip functions .SH "SYNOPSIS" .sp .nf struct irq_data { u32 mask; unsigned int irq; unsigned long hwirq; unsigned int node; unsigned int state_use_accessors; struct irq_chip * chip; struct irq_domain * domain; void * handler_data; void * chip_data; struct msi_desc * msi_desc; cpumask_var_t affinity; }; .fi .SH "MEMBERS" .PP mask .RS 4 precomputed bitmask for accessing the chip registers .RE .PP irq .RS 4 interrupt number .RE .PP hwirq .RS 4 hardware interrupt number, local to the interrupt domain .RE .PP node .RS 4 node index useful for balancing .RE .PP state_use_accessors .RS 4 status information for irq chip functions\&. Use accessor functions to deal with it .RE .PP chip .RS 4 low level interrupt hardware access .RE .PP domain .RS 4 Interrupt translation domain; responsible for mapping between hwirq number and linux irq number\&. .RE .PP handler_data .RS 4 per\-IRQ data for the irq_chip methods .RE .PP chip_data .RS 4 platform\-specific per\-chip private data for the chip methods, to allow shared chip implementations .RE .PP msi_desc .RS 4 MSI descriptor .RE .PP affinity .RS 4 IRQ affinity on SMP .RE .SH "DESCRIPTION" .PP The fields here need to overlay the ones in irq_desc until we cleaned up the direct references and switched everything over to irq_data\&. .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