irq_disable
Prev | Chapter 10. Internal Functions Provided | Next

## Name

irq_disable — Mark interrupt disabled

## Synopsis

`void irq_disable (` | struct irq_desc * desc`)`;

## Arguments

`desc`

  irq descriptor which should be disabled

## Description

If the chip does not implement the irq_disable callback, we use a lazy disable approach. That means we mark the interrupt disabled, but leave the hardware unmasked. That's an optimization because we avoid the hardware access for the common case where no interrupt happens after we marked it disabled. If an interrupt happens, then the interrupt flow handler masks the line at the hardware level and marks it pending.

Prev | Up | Next
irq_set_msi_desc | Home | handle_fasteoi_irq