#include <linux/module.h>
#include <linux/pci.h>
#include <linux/moduleparam.h>
#include <linux/interrupt.h>
#include <linux/suspend.h>
#include "wil6210.h"
#include <linux/rtnetlink.h>
#include <linux/pm_runtime.h>
static int n_msi = …;
module_param(n_msi, int, 0444);
MODULE_PARM_DESC(…) …;
bool ftm_mode;
module_param(ftm_mode, bool, 0444);
MODULE_PARM_DESC(…) …;
static int wil6210_pm_notify(struct notifier_block *notify_block,
unsigned long mode, void *unused);
static
int wil_set_capabilities(struct wil6210_priv *wil)
{ … }
void wil_disable_irq(struct wil6210_priv *wil)
{ … }
void wil_enable_irq(struct wil6210_priv *wil)
{ … }
static void wil_remove_all_additional_vifs(struct wil6210_priv *wil)
{ … }
static int wil_if_pcie_enable(struct wil6210_priv *wil)
{ … }
static int wil_if_pcie_disable(struct wil6210_priv *wil)
{ … }
static int wil_platform_rop_ramdump(void *wil_handle, void *buf, uint32_t size)
{ … }
static int wil_platform_rop_fw_recovery(void *wil_handle)
{ … }
static void wil_platform_ops_uninit(struct wil6210_priv *wil)
{ … }
static int wil_pcie_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{ … }
static void wil_pcie_remove(struct pci_dev *pdev)
{ … }
static const struct pci_device_id wil6210_pcie_ids[] = …;
MODULE_DEVICE_TABLE(pci, wil6210_pcie_ids);
static int wil6210_suspend(struct device *dev, bool is_runtime)
{ … }
static int wil6210_resume(struct device *dev, bool is_runtime)
{ … }
static int wil6210_pm_notify(struct notifier_block *notify_block,
unsigned long mode, void *unused)
{ … }
static int __maybe_unused wil6210_pm_suspend(struct device *dev)
{ … }
static int __maybe_unused wil6210_pm_resume(struct device *dev)
{ … }
static int __maybe_unused wil6210_pm_runtime_idle(struct device *dev)
{ … }
static int __maybe_unused wil6210_pm_runtime_resume(struct device *dev)
{ … }
static int __maybe_unused wil6210_pm_runtime_suspend(struct device *dev)
{ … }
static const struct dev_pm_ops wil6210_pm_ops = …;
static struct pci_driver wil6210_driver = …;
static int __init wil6210_driver_init(void)
{ … }
module_init(…) …;
static void __exit wil6210_driver_exit(void)
{ … }
module_exit(wil6210_driver_exit);
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;