drivers/crypto/cavium/nitrox/nitrox_isr.h

Source file repositories/reference/linux-study-clean/drivers/crypto/cavium/nitrox/nitrox_isr.h

File Facts

System
Linux kernel
Corpus path
drivers/crypto/cavium/nitrox/nitrox_isr.h
Extension
.h
Size
587 bytes
Lines
22
Domain
Driver Families
Bucket
drivers/crypto
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __NITROX_ISR_H
#define __NITROX_ISR_H

#include "nitrox_dev.h"

int nitrox_register_interrupts(struct nitrox_device *ndev);
void nitrox_unregister_interrupts(struct nitrox_device *ndev);
int nitrox_sriov_register_interupts(struct nitrox_device *ndev);
void nitrox_sriov_unregister_interrupts(struct nitrox_device *ndev);

#ifdef CONFIG_PCI_IOV
int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs);
#else
static inline int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs)
{
	return 0;
}
#endif

#endif /* __NITROX_ISR_H */

Annotation

Implementation Notes