Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / infiniband / hw / hfi1 / msix.h
blob9530ccb0a2cecb35fc7c0ddf241816747b314ac2
1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /*
3 * Copyright(c) 2018 - 2020 Intel Corporation.
4 */
6 #ifndef _HFI1_MSIX_H
7 #define _HFI1_MSIX_H
9 #include "hfi.h"
11 /* MSIx interface */
12 int msix_initialize(struct hfi1_devdata *dd);
13 int msix_request_irqs(struct hfi1_devdata *dd);
14 void msix_clean_up_interrupts(struct hfi1_devdata *dd);
15 int msix_request_general_irq(struct hfi1_devdata *dd);
16 int msix_request_rcd_irq(struct hfi1_ctxtdata *rcd);
17 int msix_request_sdma_irq(struct sdma_engine *sde);
18 void msix_free_irq(struct hfi1_devdata *dd, u8 msix_intr);
20 /* Netdev interface */
21 void msix_netdev_synchronize_irq(struct hfi1_devdata *dd);
22 int msix_netdev_request_rcd_irq(struct hfi1_ctxtdata *rcd);
24 #endif