Lines Matching +full:msi +full:- +full:parent
1 // SPDX-License-Identifier: GPL-2.0
3 * MSI framework for platform devices
12 #include <linux/msi.h>
21 irq_write_msi_msg_t cb = d->chip_data; in platform_msi_write_msi_msg()
28 arg->desc = desc; in platform_msi_set_desc()
29 arg->hwirq = desc->msi_index; in platform_msi_set_desc()
38 /* The rest is filled in by the platform MSI parent */
51 * platform_device_msi_init_and_alloc_irqs - Initialize platform device MSI
60 * This creates a MSI domain on @dev which has @dev->msi.domain as
61 * parent. The parent domain sets up the new domain. The domain has
66 * up to the point where all platforms have been converted to the MSI
67 * parent model.
72 struct irq_domain *domain = dev->msi.domain; in platform_device_msi_init_and_alloc_irqs()
75 return -EINVAL; in platform_device_msi_init_and_alloc_irqs()
85 return -ENODEV; in platform_device_msi_init_and_alloc_irqs()
87 return msi_domain_alloc_irqs_range(dev, MSI_DEFAULT_DOMAIN, 0, nvec - 1); in platform_device_msi_init_and_alloc_irqs()
92 * platform_device_msi_free_irqs_all - Free all interrupts for @dev