brintos

brintos / linux-shallow public Read only

0
0
Text · 714 B · 9530ccb Raw
25 lines · c
1/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */2/*3 * Copyright(c) 2018 - 2020 Intel Corporation.4 */5 6#ifndef _HFI1_MSIX_H7#define _HFI1_MSIX_H8 9#include "hfi.h"10 11/* MSIx interface */12int msix_initialize(struct hfi1_devdata *dd);13int msix_request_irqs(struct hfi1_devdata *dd);14void msix_clean_up_interrupts(struct hfi1_devdata *dd);15int msix_request_general_irq(struct hfi1_devdata *dd);16int msix_request_rcd_irq(struct hfi1_ctxtdata *rcd);17int msix_request_sdma_irq(struct sdma_engine *sde);18void msix_free_irq(struct hfi1_devdata *dd, u8 msix_intr);19 20/* Netdev interface */21void msix_netdev_synchronize_irq(struct hfi1_devdata *dd);22int msix_netdev_request_rcd_irq(struct hfi1_ctxtdata *rcd);23 24#endif25