#include <linux/module.h>
#include <linux/pci.h>
#include <linux/sched/signal.h>
#include <linux/uaccess.h>
#include <uapi/linux/isst_if.h>
#include "isst_if_common.h"
struct isst_mmio_range { … };
static struct isst_mmio_range mmio_range_devid_0[] = …;
static struct isst_mmio_range mmio_range_devid_1[] = …;
struct isst_if_device { … };
static long isst_if_mmio_rd_wr(u8 *cmd_ptr, int *write_only, int resume)
{ … }
static const struct pci_device_id isst_if_ids[] = …;
MODULE_DEVICE_TABLE(pci, isst_if_ids);
static int isst_if_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
{ … }
static void isst_if_remove(struct pci_dev *pdev)
{ … }
static int __maybe_unused isst_if_suspend(struct device *device)
{ … }
static int __maybe_unused isst_if_resume(struct device *device)
{ … }
static SIMPLE_DEV_PM_OPS(isst_if_pm_ops, isst_if_suspend, isst_if_resume);
static struct pci_driver isst_if_pci_driver = …;
module_pci_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;