Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/drivers/crypto/cavium/nitrox/nitrox_isr.h
26285 views
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 */
22
23