#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include "mt7925.h"
#include "mac.h"
#include "mcu.h"
#include "../dma.h"
static const struct pci_device_id mt7925_pci_device_table[] = …;
static bool mt7925_disable_aspm;
module_param_named(disable_aspm, mt7925_disable_aspm, bool, 0644);
MODULE_PARM_DESC(…) …;
static int mt7925e_init_reset(struct mt792x_dev *dev)
{ … }
static void mt7925e_unregister_device(struct mt792x_dev *dev)
{ … }
static void mt7925_reg_remap_restore(struct mt792x_dev *dev)
{ … }
static u32 mt7925_reg_map_l1(struct mt792x_dev *dev, u32 addr)
{ … }
static u32 mt7925_reg_map_l2(struct mt792x_dev *dev, u32 addr)
{ … }
static u32 __mt7925_reg_addr(struct mt792x_dev *dev, u32 addr)
{ … }
static u32 mt7925_rr(struct mt76_dev *mdev, u32 offset)
{ … }
static void mt7925_wr(struct mt76_dev *mdev, u32 offset, u32 val)
{ … }
static u32 mt7925_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val)
{ … }
static int mt7925_dma_init(struct mt792x_dev *dev)
{ … }
static int mt7925_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id)
{ … }
static void mt7925_pci_remove(struct pci_dev *pdev)
{ … }
static int mt7925_pci_suspend(struct device *device)
{ … }
static int mt7925_pci_resume(struct device *device)
{ … }
static void mt7925_pci_shutdown(struct pci_dev *pdev)
{ … }
static DEFINE_SIMPLE_DEV_PM_OPS(mt7925_pm_ops, mt7925_pci_suspend, mt7925_pci_resume);
static struct pci_driver mt7925_pci_driver = …;
module_pci_driver(…) …;
MODULE_DEVICE_TABLE(pci, mt7925_pci_device_table);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;