mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-06 05:23:06 +00:00
rtl8188eu: Convert typedef statement from include/hal_intf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
476eaf9a4e
commit
b2804a6af7
6 changed files with 16 additions and 17 deletions
|
@ -946,7 +946,7 @@ efuse_ShadowRead1Byte(
|
|||
u16 Offset,
|
||||
u8 *Value)
|
||||
{
|
||||
EEPROM_EFUSE_PRIV *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
|
||||
*Value = pEEPROM->efuse_eeprom_data[Offset];
|
||||
|
||||
|
@ -959,7 +959,7 @@ efuse_ShadowRead2Byte(
|
|||
u16 Offset,
|
||||
u16 *Value)
|
||||
{
|
||||
EEPROM_EFUSE_PRIV *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
|
||||
*Value = pEEPROM->efuse_eeprom_data[Offset];
|
||||
*Value |= pEEPROM->efuse_eeprom_data[Offset+1]<<8;
|
||||
|
@ -973,7 +973,7 @@ efuse_ShadowRead4Byte(
|
|||
u16 Offset,
|
||||
u32 *Value)
|
||||
{
|
||||
EEPROM_EFUSE_PRIV *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
|
||||
*Value = pEEPROM->efuse_eeprom_data[Offset];
|
||||
*Value |= pEEPROM->efuse_eeprom_data[Offset+1]<<8;
|
||||
|
@ -1007,7 +1007,7 @@ efuse_ShadowWrite1Byte(
|
|||
u16 Offset,
|
||||
u8 Value)
|
||||
{
|
||||
EEPROM_EFUSE_PRIV *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
|
||||
pEEPROM->efuse_eeprom_data[Offset] = Value;
|
||||
|
||||
|
@ -1020,7 +1020,7 @@ efuse_ShadowWrite2Byte(
|
|||
u16 Offset,
|
||||
u16 Value)
|
||||
{
|
||||
EEPROM_EFUSE_PRIV *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
|
||||
pEEPROM->efuse_eeprom_data[Offset] = Value&0x00FF;
|
||||
pEEPROM->efuse_eeprom_data[Offset+1] = Value>>8;
|
||||
|
@ -1034,7 +1034,7 @@ efuse_ShadowWrite4Byte(
|
|||
u16 Offset,
|
||||
u32 Value)
|
||||
{
|
||||
EEPROM_EFUSE_PRIV *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
|
||||
pEEPROM->efuse_eeprom_data[Offset] = (u8)(Value&0x000000FF);
|
||||
pEEPROM->efuse_eeprom_data[Offset+1] = (u8)((Value>>8)&0x0000FF);
|
||||
|
@ -1064,7 +1064,7 @@ void EFUSE_ShadowMapUpdate(
|
|||
u8 efuseType,
|
||||
bool bPseudoTest)
|
||||
{
|
||||
EEPROM_EFUSE_PRIV *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||
u16 mapLen=0;
|
||||
|
||||
EFUSE_GetEfuseDefinition(pAdapter, efuseType, TYPE_EFUSE_MAP_LEN, (void *)&mapLen, bPseudoTest);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue