Name

of_irq_get_byname — Decode a node's IRQ and return it as a Linux irq number

Synopsis

int of_irq_get_byname (struct device_node * dev,
 const char * name);
 

Arguments

dev

Pointer to device tree node

name

Irq name

Description

Find linux irq number of name in property interrupt-names of node dev.

Return

Linux irq number on success, or -EPROBE_DEFER if the irq domain is not yet created, or error code in case of any other error.