mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 14:53:05 +00:00
rtl8188eu: Remove most typedef statements from include/hal_intf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
fa43f604b9
commit
7460f4b22a
11 changed files with 55 additions and 68 deletions
|
@ -962,7 +962,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];
|
||||
|
||||
|
@ -975,7 +975,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;
|
||||
|
@ -989,7 +989,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;
|
||||
|
@ -1030,7 +1030,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;
|
||||
|
||||
|
@ -1043,7 +1043,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;
|
||||
|
@ -1057,7 +1057,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);
|
||||
|
@ -1087,7 +1087,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