summaryrefslogtreecommitdiff
path: root/include/linux/msi_api.h
blob: 57d27cfcde2d89edbc1aa900fcbd5c905481a569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef LINUX_MSI_API_H
#define LINUX_MSI_API_H

/*
 * APIs which are relevant for device driver code for allocating and
 * freeing MSI interrupts and querying the associations between
 * hardware/software MSI indices and the Linux interrupt number.
 */

struct device;

unsigned int msi_get_virq(struct device *dev, unsigned int index);

#endif