#include <linux/interrupt.h>
#include <linux/module.h>
#include "aq_main.h"
#include "aq_nic.h"
#include "aq_vec.h"
#include "aq_hw.h"
#include "aq_pci_func.h"
#include "hw_atl/hw_atl_a0.h"
#include "hw_atl/hw_atl_b0.h"
#include "hw_atl2/hw_atl2.h"
#include "aq_filters.h"
#include "aq_drvinfo.h"
#include "aq_macsec.h"
static const struct pci_device_id aq_pci_tbl[] = …;
static const struct aq_board_revision_s hw_atl_boards[] = …;
MODULE_DEVICE_TABLE(pci, aq_pci_tbl);
static int aq_pci_probe_get_hw_by_id(struct pci_dev *pdev,
const struct aq_hw_ops **ops,
const struct aq_hw_caps_s **caps)
{ … }
static int aq_pci_func_init(struct pci_dev *pdev)
{ … }
int aq_pci_func_alloc_irq(struct aq_nic_s *self, unsigned int i,
char *name, irq_handler_t irq_handler,
void *irq_arg, cpumask_t *affinity_mask)
{ … }
void aq_pci_func_free_irqs(struct aq_nic_s *self)
{ … }
unsigned int aq_pci_func_get_irq_type(struct aq_nic_s *self)
{ … }
static void aq_pci_free_irq_vectors(struct aq_nic_s *self)
{ … }
static int aq_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *pci_id)
{ … }
static void aq_pci_remove(struct pci_dev *pdev)
{ … }
static void aq_pci_shutdown(struct pci_dev *pdev)
{ … }
#ifdef CONFIG_PM
static int aq_suspend_common(struct device *dev)
{ … }
static int atl_resume_common(struct device *dev)
{ … }
static int aq_pm_freeze(struct device *dev)
{ … }
static int aq_pm_suspend_poweroff(struct device *dev)
{ … }
static int aq_pm_thaw(struct device *dev)
{ … }
static int aq_pm_resume_restore(struct device *dev)
{ … }
static const struct dev_pm_ops aq_pm_ops = …;
#endif
static struct pci_driver aq_pci_ops = …;
int aq_pci_func_register_driver(void)
{ … }
void aq_pci_func_unregister_driver(void)
{ … }