Name

of_irq_parse_and_map_pci — Decode a PCI irq from the device tree and map to a virq

Synopsis

int of_irq_parse_and_map_pci (const struct pci_dev * dev,
 u8 slot,
 u8 pin);
 

Arguments

dev

Pointer to PCI device needing an irq

slot

PCI slot number; passed when used as map_irq callback. Unused

pin

PCI irq pin number; passed when used as map_irq callback. Unused

Description

slot and pin are unused, but included in the function so that this function can be used directly as the map_irq callback to pci_fixup_irqs.

Also see

of_irq_parse_pci

Return

Virtual irq number on success, else 0 on error.