Name

of_msi_get_domain — Use msi-parent to find the relevant MSI domain

Synopsis

struct irq_domain * of_msi_get_domain (struct device * dev,
 struct device_node * np,
 enum irq_domain_bus_token token);
 

Arguments

dev

Pointer to device for which the domain is requested

np

Device node for dev

token

Bus type for this domain

Description

Parse the msi-parent property (both the simple and the complex versions), and returns the corresponding MSI domain.

Return

On success MSI domain for this device, NULL on error.