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

# \_\_handle\_domain\_irq(9)

Invoke the handler for a HW irq belonging to a domain

## NAME

\_\_handle\_domain\_irq - Invoke the handler for a HW irq belonging to a domain

## SYNOPSIS

**int \_\_handle\_domain\_irq(struct irq\_domain \*** *domain***, unsigned int** *hwirq***, bool** *lookup***, struct pt\_regs \*** *regs***);**

## ARGUMENTS

*domain*

The domain where to perform the lookup

*hwirq*

The HW irq number to convert to a logical one

*lookup*

Whether to perform the domain lookup or not

*regs*

Register file coming from the low-level handling code

## RETURN

0 on success, or -EINVAL if conversion has failed

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
