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

# \_\_ht\_create\_irq(9)

create an irq and attach it to a device.

## NAME

\_\_ht\_create\_irq - create an irq and attach it to a device.

## SYNOPSIS

**int \_\_ht\_create\_irq(struct pci\_dev \*** *dev***, int** *idx***, ht\_irq\_update\_t \*** *update***);**

## ARGUMENTS

*dev*

The hypertransport device to find the irq capability on.

*idx*

Which of the possible irqs to attach to.

*update*

Function to be called when changing the htirq message

## DESCRIPTION

The irq number of the new irq or a negative error value is returned.

## COPYRIGHT
