pci.c (b5a62d612b7baf6e09884e4de94decb6391d6a9d) pci.c (29e247ece5d3edfa71495768a9ab5fc7bba76bd4)
1// SPDX-License-Identifier: ISC
2/* Copyright (C) 2020 MediaTek Inc.
3 *
4 */
5
6#include <linux/kernel.h>
7#include <linux/module.h>
8#include <linux/pci.h>

--- 134 unchanged lines hidden (view full) ---

143 { 0x7c020000, 0xd0000, 0x10000 }, /* CONN_INFRA, WFDMA */
144 { 0x7c060000, 0xe0000, 0x10000 }, /* CONN_INFRA, conn_host_csr_top */
145 { 0x80020000, 0xb0000, 0x10000 }, /* WF_TOP_MISC_OFF */
146 { 0x81020000, 0xc0000, 0x10000 }, /* WF_TOP_MISC_ON */
147 { 0x820c0000, 0x08000, 0x04000 }, /* WF_UMAC_TOP (PLE) */
148 { 0x820c8000, 0x0c000, 0x02000 }, /* WF_UMAC_TOP (PSE) */
149 { 0x820cc000, 0x0e000, 0x01000 }, /* WF_UMAC_TOP (PP) */
150 { 0x820cd000, 0x0f000, 0x01000 }, /* WF_MDP_TOP */
1// SPDX-License-Identifier: ISC
2/* Copyright (C) 2020 MediaTek Inc.
3 *
4 */
5
6#include <linux/kernel.h>
7#include <linux/module.h>
8#include <linux/pci.h>

--- 134 unchanged lines hidden (view full) ---

143 { 0x7c020000, 0xd0000, 0x10000 }, /* CONN_INFRA, WFDMA */
144 { 0x7c060000, 0xe0000, 0x10000 }, /* CONN_INFRA, conn_host_csr_top */
145 { 0x80020000, 0xb0000, 0x10000 }, /* WF_TOP_MISC_OFF */
146 { 0x81020000, 0xc0000, 0x10000 }, /* WF_TOP_MISC_ON */
147 { 0x820c0000, 0x08000, 0x04000 }, /* WF_UMAC_TOP (PLE) */
148 { 0x820c8000, 0x0c000, 0x02000 }, /* WF_UMAC_TOP (PSE) */
149 { 0x820cc000, 0x0e000, 0x01000 }, /* WF_UMAC_TOP (PP) */
150 { 0x820cd000, 0x0f000, 0x01000 }, /* WF_MDP_TOP */
151 { 0x74030000, 0x10000, 0x10000 }, /* PCIE_MAC_IREG */
151 { 0x820ce000, 0x21c00, 0x00200 }, /* WF_LMAC_TOP (WF_SEC) */
152 { 0x820cf000, 0x22000, 0x01000 }, /* WF_LMAC_TOP (WF_PF) */
153 { 0x820e0000, 0x20000, 0x00400 }, /* WF_LMAC_TOP BN0 (WF_CFG) */
154 { 0x820e1000, 0x20400, 0x00200 }, /* WF_LMAC_TOP BN0 (WF_TRB) */
155 { 0x820e9000, 0x23400, 0x00200 }, /* WF_LMAC_TOP BN0 (WF_WTBLOFF) */
156 { 0x820ea000, 0x24000, 0x00200 }, /* WF_LMAC_TOP BN0 (WF_ETBF) */
157 { 0x820ec000, 0x24600, 0x00200 }, /* WF_LMAC_TOP BN0 (WF_INT) */
158 { 0x820f0000, 0xa0000, 0x00400 }, /* WF_LMAC_TOP BN1 (WF_CFG) */

--- 343 unchanged lines hidden ---
152 { 0x820ce000, 0x21c00, 0x00200 }, /* WF_LMAC_TOP (WF_SEC) */
153 { 0x820cf000, 0x22000, 0x01000 }, /* WF_LMAC_TOP (WF_PF) */
154 { 0x820e0000, 0x20000, 0x00400 }, /* WF_LMAC_TOP BN0 (WF_CFG) */
155 { 0x820e1000, 0x20400, 0x00200 }, /* WF_LMAC_TOP BN0 (WF_TRB) */
156 { 0x820e9000, 0x23400, 0x00200 }, /* WF_LMAC_TOP BN0 (WF_WTBLOFF) */
157 { 0x820ea000, 0x24000, 0x00200 }, /* WF_LMAC_TOP BN0 (WF_ETBF) */
158 { 0x820ec000, 0x24600, 0x00200 }, /* WF_LMAC_TOP BN0 (WF_INT) */
159 { 0x820f0000, 0xa0000, 0x00400 }, /* WF_LMAC_TOP BN1 (WF_CFG) */

--- 343 unchanged lines hidden ---