irq_set_irqchip_state (9) - Linux Manuals

irq_set_irqchip_state: set the state of a forwarded interrupt.

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.

COPYRIGHT