Name

of_irq_to_resource_table — Fill in resource table with node's IRQ info

Synopsis

int of_irq_to_resource_table (struct device_node * dev,
 struct resource * res,
 int nr_irqs);
 

Arguments

dev

Pointer to device tree node

res

Pointer to array used to return resource table

nr_irqs

Maximum number of IRQs to return in res

Description

Decode a node's IRQs and return them as an array of resources.

If dev contains property interrupt-names the resource names will be from the property, otherwise the resource names will be the full name of node dev.

See also

of_irq_to_resource

Return

Number of elements of returned in res