File Index
Files and directories
Sign in
FILE

t7xx_pcie_mac.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/wwan/t7xx/t7xx_pcie_mac.h C
 1/* SPDX-License-Identifier: GPL-2.0-only
 2 *
 3 * Copyright (c) 2021, MediaTek Inc.
 4 * Copyright (c) 2021-2022, Intel Corporation.
 5 *
 6 * Authors:
 7 *  Haijun Liu <haijun.liu@mediatek.com>
 8 *  Sreehari Kancharla <sreehari.kancharla@intel.com>
 9 *
10 * Contributors:
11 *  Moises Veleta <moises.veleta@intel.com>
12 *  Ricardo Martinez <ricardo.martinez@linux.intel.com>
13 */
14
15#ifndef __T7XX_PCIE_MAC_H__
16#define __T7XX_PCIE_MAC_H__
17
18#include "t7xx_pci.h"
19#include "t7xx_reg.h"
20
21#define IREG_BASE(t7xx_dev)	((t7xx_dev)->base_addr.pcie_mac_ireg_base)
22
23void t7xx_pcie_mac_interrupts_en(struct t7xx_pci_dev *t7xx_dev);
24void t7xx_pcie_mac_interrupts_dis(struct t7xx_pci_dev *t7xx_dev);
25void t7xx_pcie_mac_atr_init(struct t7xx_pci_dev *t7xx_dev);
26void t7xx_pcie_mac_clear_int(struct t7xx_pci_dev *t7xx_dev, enum t7xx_int int_type);
27void t7xx_pcie_mac_set_int(struct t7xx_pci_dev *t7xx_dev, enum t7xx_int int_type);
28void t7xx_pcie_mac_clear_int_status(struct t7xx_pci_dev *t7xx_dev, enum t7xx_int int_type);
29void t7xx_pcie_set_mac_msix_cfg(struct t7xx_pci_dev *t7xx_dev, unsigned int irq_count);
30
31#endif /* __T7XX_PCIE_MAC_H__ */
~/ Read-only file preview.