mt7921.h (ff6551740000eac6a63445d30d5bac5c0ca900c3) | mt7921.h (5c041325cd0b1307b196c686f87f8531d4d3f105) |
---|---|
1/* SPDX-License-Identifier: ISC */ 2/* Copyright (C) 2020 MediaTek Inc. */ 3 4#ifndef __MT7921_H 5#define __MT7921_H 6 7#include "../mt792x.h" 8#include "regs.h" --- 145 unchanged lines hidden (view full) --- 154 MT_EE_MAC_ADDR = 0x004, 155 MT_EE_WIFI_CONF = 0x07c, 156 MT_EE_HW_TYPE = 0x55b, 157 __MT_EE_MAX = 0x9ff 158}; 159 160#define MT_EE_HW_TYPE_ENCAP BIT(0) 161 | 1/* SPDX-License-Identifier: ISC */ 2/* Copyright (C) 2020 MediaTek Inc. */ 3 4#ifndef __MT7921_H 5#define __MT7921_H 6 7#include "../mt792x.h" 8#include "regs.h" --- 145 unchanged lines hidden (view full) --- 154 MT_EE_MAC_ADDR = 0x004, 155 MT_EE_WIFI_CONF = 0x07c, 156 MT_EE_HW_TYPE = 0x55b, 157 __MT_EE_MAX = 0x9ff 158}; 159 160#define MT_EE_HW_TYPE_ENCAP BIT(0) 161 |
162#define mt7921_init_reset(dev) ((dev)->hif_ops->init_reset(dev)) 163#define mt7921_dev_reset(dev) ((dev)->hif_ops->reset(dev)) 164#define mt7921_mcu_init(dev) ((dev)->hif_ops->mcu_init(dev)) 165#define __mt7921_mcu_drv_pmctrl(dev) ((dev)->hif_ops->drv_own(dev)) 166#define __mt7921_mcu_fw_pmctrl(dev) ((dev)->hif_ops->fw_own(dev)) 167 | |
168enum { 169 TXPWR_USER, 170 TXPWR_EEPROM, 171 TXPWR_MAC, 172 TXPWR_MAX_NUM, 173}; 174 175struct mt7921_txpwr { --- 223 unchanged lines hidden --- | 162enum { 163 TXPWR_USER, 164 TXPWR_EEPROM, 165 TXPWR_MAC, 166 TXPWR_MAX_NUM, 167}; 168 169struct mt7921_txpwr { --- 223 unchanged lines hidden --- |