Scroll to navigation

STRUCT IRQACTION(9) Structures STRUCT IRQACTION(9)

NAME

struct_irqaction - per interrupt action descriptor

SYNOPSIS

struct irqaction {

irq_handler_t handler;
void * dev_id;
void __percpu * percpu_dev_id;
struct irqaction * next;
irq_handler_t thread_fn;
struct task_struct * thread;
struct irqaction * secondary;
unsigned int irq;
unsigned int flags;
unsigned long thread_flags;
unsigned long thread_mask;
const char * name;
struct proc_dir_entry * dir; };

MEMBERS

irq_handler_t handler

interrupt handler function

void * dev_id

cookie to identify the device

void __percpu * percpu_dev_id

cookie to identify the device

struct irqaction * next

pointer to the next irqaction for shared interrupts

irq_handler_t thread_fn

interrupt handler function for threaded interrupts

struct task_struct * thread

thread pointer for threaded interrupts

struct irqaction * secondary

pointer to secondary irqaction (force threading)

unsigned int irq

interrupt number

unsigned int flags

flags (see IRQF_* above)

unsigned long thread_flags

flags related to thread

unsigned long thread_mask

bitmask for keeping track of thread activity

const char * name

name of the device

struct proc_dir_entry * dir

pointer to the proc/irq/NN/name entry

AUTHORS

Thomas Gleixner <tglx@linutronix.de>

Author.

Ingo Molnar <mingo@elte.hu>

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11