enum irq_gc_flags
Prev | Chapter 8. Structures | Next

## 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
    };

## 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

Prev | Up | Next
struct irq_chip_generic | Home | struct irqaction