}
}
-u8 rtw_efuse_map_read(struct adapter *padapter, u16 addr, u16 cnts, u8 *data)
-{
- u16 mapLen = 0;
-
- rtl8188e_EFUSE_GetEfuseDefinition(padapter, EFUSE_WIFI, TYPE_EFUSE_MAP_LEN, (void *)&mapLen, false);
-
- if ((addr + cnts) > mapLen)
- return _FAIL;
-
- rtl8188e_EfusePowerSwitch(padapter, false, true);
-
- rtl8188e_ReadEFuse(padapter, EFUSE_WIFI, addr, cnts, data, false);
-
- rtl8188e_EfusePowerSwitch(padapter, false, false);
-
- return _SUCCESS;
-}
-
/*-----------------------------------------------------------------------------
* Function: Efuse_ReadAllMap
*
extern u8 fakeBTEfuseModifiedMap[];
/*------------------------Export global variable----------------------------*/
-u8 rtw_efuse_map_read(struct adapter *adapter, u16 addr, u16 cnts, u8 *data);
u8 Efuse_CalculateWordCnts(u8 word_en);
void ReadEFuseByte(struct adapter *adapter, u16 _offset, u8 *pbuf, bool test);
u8 efuse_OneByteRead(struct adapter *adapter, u16 addr, u8 *data, bool test);