Name

irq_of_parse_and_map — Parse and map an interrupt into linux virq space

Synopsis

unsigned int irq_of_parse_and_map (struct device_node * dev,
 int index);
 

Arguments

dev

Device node of the device whose interrupt is to be mapped

index

Zero-based index of the irq

Description

This function is a wrapper that chains of_irq_parse_one and irq_create_of_mapping to make things easier to callers.

See also

of_irq_get

Return

Linux irq number on success, 0 on error.