WIP FPC-III support
[linux/fpc-iii.git] / drivers / crypto / cavium / nitrox / nitrox_isr.h
blob2bb123cd2f1c0f8922ff9baacb63024a8f9c2942
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NITROX_ISR_H
3 #define __NITROX_ISR_H
5 #include "nitrox_dev.h"
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);
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)
17 return 0;
19 #endif
21 #endif /* __NITROX_ISR_H */