Merge tag 'sound-fix-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[linux-2.6-microblaze.git] / drivers / crypto / cavium / nitrox / nitrox_isr.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NITROX_ISR_H
3 #define __NITROX_ISR_H
4
5 #include "nitrox_dev.h"
6
7 int nitrox_register_interrupts(struct nitrox_device *ndev);
8 void nitrox_unregister_interrupts(struct nitrox_device *ndev);
9 int nitrox_sriov_register_interupts(struct nitrox_device *ndev);
10 void nitrox_sriov_unregister_interrupts(struct nitrox_device *ndev);
11
12 #ifdef CONFIG_PCI_IOV
13 int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs);
14 #else
15 static inline int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs)
16 {
17         return 0;
18 }
19 #endif
20
21 #endif /* __NITROX_ISR_H */