irq_set_irqchip_state
Prev | Interrupt Handling | Next

## Name

irq_set_irqchip_state — set the state of a forwarded interrupt.

## Synopsis

`int irq_set_irqchip_state (` | unsigned int irq,
| enum irqchip_irq_state which,
| bool val`)`;

## Arguments

`irq`

  Interrupt line that is forwarded to a VM

`which`

  State to be restored (one of IRQCHIP_STATE_*)

`val`

  Value corresponding to `which`

## Description

This call sets the internal irqchip state of an interrupt, depending on the value of `which`.

This function should be called with preemption disabled if the interrupt controller has per-cpu registers.

Prev | Up | Next
irq_get_irqchip_state | Home | DMA Channels