#define SOURCEFILE_NAME …
#include "hpi_internal.h"
#include "hpi_version.h"
#include "hpimsginit.h"
#include "hpidebug.h"
#include "hpimsgx.h"
#include "hpioctl.h"
#include "hpicmn.h"
#include <linux/fs.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/moduleparam.h>
#include <linux/uaccess.h>
#include <linux/pci.h>
#include <linux/stringify.h>
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/nospec.h>
#ifdef MODULE_FIRMWARE
MODULE_FIRMWARE(…) …;
MODULE_FIRMWARE(…) …;
MODULE_FIRMWARE(…) …;
MODULE_FIRMWARE(…) …;
MODULE_FIRMWARE(…) …;
MODULE_FIRMWARE(…) …;
MODULE_FIRMWARE(…) …;
#endif
static int prealloc_stream_buf;
module_param(prealloc_stream_buf, int, 0444);
MODULE_PARM_DESC(…) …;
module_param(hpi_debug_level, int, 0644);
MODULE_PARM_DESC(…) …;
static struct hpi_adapter adapters[HPI_MAX_ADAPTERS];
static void hpi_send_recv_f(struct hpi_message *phm, struct hpi_response *phr,
struct file *file)
{ … }
void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr)
{ … }
EXPORT_SYMBOL(…);
int asihpi_hpi_release(struct file *file)
{ … }
long asihpi_hpi_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{ … }
static int asihpi_irq_count;
static irqreturn_t asihpi_isr(int irq, void *dev_id)
{ … }
static irqreturn_t asihpi_isr_thread(int irq, void *dev_id)
{ … }
int asihpi_adapter_probe(struct pci_dev *pci_dev,
const struct pci_device_id *pci_id)
{ … }
void asihpi_adapter_remove(struct pci_dev *pci_dev)
{ … }
void __init asihpi_init(void)
{ … }
void asihpi_exit(void)
{ … }