---
name: "enum_irq_gc_flags"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/enum_irq_gc_flags"
---

# enum\_irq\_gc\_flags(9)

Initialization flags for generic irq chips

## NAME

enum\_irq\_gc\_flags - Initialization flags for generic irq chips

## SYNOPSIS

```
enum irq_gc_flags {
  IRQ_GC_INIT_MASK_CACHE,
  IRQ_GC_INIT_NESTED_LOCK,
  IRQ_GC_MASK_CACHE_PER_TYPE,
  IRQ_GC_NO_MASK,
  IRQ_GC_BE_IO
};
```

## CONSTANTS

IRQ\_GC\_INIT\_MASK\_CACHE

Initialize the mask\_cache by reading mask reg

IRQ\_GC\_INIT\_NESTED\_LOCK

Set the lock class of the irqs to nested for irq chips which need to call **irq\_set\_wake** on the parent irq. Usually GPIO implementations

IRQ\_GC\_MASK\_CACHE\_PER\_TYPE

Mask cache is chip type private

IRQ\_GC\_NO\_MASK

Do not calculate irq\_data-\>mask

IRQ\_GC\_BE\_IO

Use big-endian register accesses (default: LE)

## AUTHORS

**Thomas Gleixner** \<tglx@linutronix.de\>

Author.

**Ingo Molnar** \<mingo@elte.hu\>

Author.

## COPYRIGHT
