#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/of.h>
#include "mt7921.h"
#include "../mt76_connac2_mac.h"
#include "../dma.h"
#include "mcu.h"
static const struct pci_device_id mt7921_pci_device_table[] = …;
static bool mt7921_disable_aspm;
module_param_named(disable_aspm, mt7921_disable_aspm, bool, 0644);
MODULE_PARM_DESC(…) …;
static int mt7921e_init_reset(struct mt792x_dev *dev)
{ … }
static void mt7921e_unregister_device(struct mt792x_dev *dev)
{ … }
static u32 __mt7921_reg_addr(struct mt792x_dev *dev, u32 addr)
{ … }
static u32 mt7921_rr(struct mt76_dev *mdev, u32 offset)
{ … }
static void mt7921_wr(struct mt76_dev *mdev, u32 offset, u32 val)
{ … }
static u32 mt7921_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val)
{ … }
static int mt7921_dma_init(struct mt792x_dev *dev)
{ … }
static int mt7921_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id)
{ … }
static void mt7921_pci_remove(struct pci_dev *pdev)
{ … }
static int mt7921_pci_suspend(struct device *device)
{ … }
static int mt7921_pci_resume(struct device *device)
{ … }
static void mt7921_pci_shutdown(struct pci_dev *pdev)
{ … }
static DEFINE_SIMPLE_DEV_PM_OPS(mt7921_pm_ops, mt7921_pci_suspend, mt7921_pci_resume);
static struct pci_driver mt7921_pci_driver = …;
module_pci_driver(…) …;
MODULE_DEVICE_TABLE(pci, mt7921_pci_device_table);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;