26e80dfe22b5d70bd41574c5adfe7ad145fb4e10
[platform/kernel/linux-starfive.git] / drivers / net / ethernet / intel / ice / ice_irq.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2023, Intel Corporation. */
3
4 #ifndef _ICE_IRQ_H_
5 #define _ICE_IRQ_H_
6
7 int ice_init_interrupt_scheme(struct ice_pf *pf);
8 void ice_clear_interrupt_scheme(struct ice_pf *pf);
9
10 struct msi_map ice_alloc_irq(struct ice_pf *pf);
11 void ice_free_irq(struct ice_pf *pf, struct msi_map map);
12
13 #endif