/* SPDX-License-Identifier: GPL-2.0+ */ /* Copyright (c) 2015-2016 Quantenna Communications. All rights reserved. */ #ifndef _QTN_HW_IDS_H_ #define _QTN_HW_IDS_H_ #include <linux/pci_ids.h> #define PCIE_VENDOR_ID_QUANTENNA … /* PCIE Device IDs */ #define PCIE_DEVICE_ID_QSR … #define QTN_REG_SYS_CTRL_CSR … #define QTN_CHIP_ID_MASK … #define QTN_CHIP_ID_TOPAZ … #define QTN_CHIP_ID_PEARL … #define QTN_CHIP_ID_PEARL_B … #define QTN_CHIP_ID_PEARL_C … /* FW names */ #define QTN_PCI_PEARL_FW_NAME … #define QTN_PCI_TOPAZ_FW_NAME … #define QTN_PCI_TOPAZ_BOOTLD_NAME … static inline unsigned int qtnf_chip_id_get(const void __iomem *regs_base) { … } #endif /* _QTN_HW_IDS_H_ */