1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef LINUX_MSI_API_H 3 #define LINUX_MSI_API_H 4 5 /* 6 * APIs which are relevant for device driver code for allocating and 7 * freeing MSI interrupts and querying the associations between 8 * hardware/software MSI indices and the Linux interrupt number. 9 */ 10 11 struct device; 12 13 unsigned int msi_get_virq(struct device *dev, unsigned int index); 14 15 #endif 16