]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/include/asm/msi.h
x86/msr-index: Cleanup bit defines
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / include / asm / msi.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
52f518a3
JL
2#ifndef _ASM_X86_MSI_H
3#define _ASM_X86_MSI_H
4#include <asm/hw_irq.h>
c8f3e518 5#include <asm/irqdomain.h>
52f518a3
JL
6
7typedef struct irq_alloc_info msi_alloc_info_t;
8
c8f3e518
JO
9int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec,
10 msi_alloc_info_t *arg);
11
12void pci_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc);
13
52f518a3 14#endif /* _ASM_X86_MSI_H */