---
name: "irq_setup_generic_chip"
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/irq_setup_generic_chip"
---

# irq\_setup\_generic\_chip(9)

Setup a range of interrupts with a generic chip

## NAME

irq\_setup\_generic\_chip - Setup a range of interrupts with a generic chip

## SYNOPSIS

**void irq\_setup\_generic\_chip(struct irq\_chip\_generic \*** *gc***, u32** *msk***, enum irq\_gc\_flags** *flags***, unsigned int** *clr***, unsigned int** *set***);**

## ARGUMENTS

*gc*

Generic irq chip holding all data

*msk*

Bitmask holding the irqs to initialize relative to gc-\>irq\_base

*flags*

Flags for initialization

*clr*

IRQ\_\* bits to clear

*set*

IRQ\_\* bits to set

## DESCRIPTION

Set up max. 32 interrupts starting from gc-\>irq\_base. Note, this initializes all interrupts to the primary irq\_chip\_type and its associated handler.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
