18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* Copyright(c) 2009-2012 Realtek Corporation.*/ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci#include "../rtl8192ce/def.h" 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci/*------------------------------------------------------------------------- 78c2ecf20Sopenharmony_ci * Chip specific 88c2ecf20Sopenharmony_ci *-------------------------------------------------------------------------*/ 98c2ecf20Sopenharmony_ci#define NORMAL_CHIP BIT(4) 108c2ecf20Sopenharmony_ci#define CHIP_VENDOR_UMC BIT(5) 118c2ecf20Sopenharmony_ci#define CHIP_VENDOR_UMC_B_CUT BIT(6) 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#define IS_92C_1T2R(version) \ 148c2ecf20Sopenharmony_ci (((version) & CHIP_92C) && ((version) & CHIP_92C_1T2R)) 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#define IS_VENDOR_UMC(version) \ 178c2ecf20Sopenharmony_ci (((version) & CHIP_VENDOR_UMC) ? true : false) 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#define CHIP_BONDING_92C_1T2R 0x1 208c2ecf20Sopenharmony_ci#define CHIP_BONDING_IDENTIFIER(_value) (((_value) >> 22) & 0x3) 21