aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/msi.h
blob: 25ddd0916bb2f4d3fd17bcea2bdbc68d7b3e0f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_MSI_H
#define _ASM_X86_MSI_H
#include <asm/hw_irq.h>
#include <asm/irqdomain.h>

typedef struct irq_alloc_info msi_alloc_info_t;

int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec,
		    msi_alloc_info_t *arg);

void pci_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc);

#endif /* _ASM_X86_MSI_H */

Privacy Policy