mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 22:13:06 +00:00
rtl8188eu: Convert most typedef statements from include/rtw_pwrctrl.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
aa1c606fc6
commit
a831dc1f7e
6 changed files with 36 additions and 38 deletions
|
@ -143,25 +143,25 @@ void rtw_hal_get_hwreg(_adapter *padapter, u8 variable, u8 *val)
|
|||
padapter->HalFunc.GetHwRegHandler(padapter, variable, val);
|
||||
}
|
||||
|
||||
u8 rtw_hal_set_def_var(_adapter *padapter, HAL_DEF_VARIABLE eVariable, void * pValue)
|
||||
u8 rtw_hal_set_def_var(_adapter *padapter, enum hal_def_variable eVariable, void * pValue)
|
||||
{
|
||||
if (padapter->HalFunc.SetHalDefVarHandler)
|
||||
return padapter->HalFunc.SetHalDefVarHandler(padapter,eVariable,pValue);
|
||||
return _FAIL;
|
||||
}
|
||||
u8 rtw_hal_get_def_var(_adapter *padapter, HAL_DEF_VARIABLE eVariable, void * pValue)
|
||||
u8 rtw_hal_get_def_var(_adapter *padapter, enum hal_def_variable eVariable, void * pValue)
|
||||
{
|
||||
if (padapter->HalFunc.GetHalDefVarHandler)
|
||||
return padapter->HalFunc.GetHalDefVarHandler(padapter,eVariable,pValue);
|
||||
return _FAIL;
|
||||
}
|
||||
|
||||
void rtw_hal_set_odm_var(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,bool bSet)
|
||||
void rtw_hal_set_odm_var(_adapter *padapter, enum hal_odm_variable eVariable, void * pValue1,bool bSet)
|
||||
{
|
||||
if (padapter->HalFunc.SetHalODMVarHandler)
|
||||
padapter->HalFunc.SetHalODMVarHandler(padapter,eVariable,pValue1,bSet);
|
||||
}
|
||||
void rtw_hal_get_odm_var(_adapter *padapter, HAL_ODM_VARIABLE eVariable, void * pValue1,bool bSet)
|
||||
void rtw_hal_get_odm_var(_adapter *padapter, enum hal_odm_variable eVariable, void * pValue1,bool bSet)
|
||||
{
|
||||
if (padapter->HalFunc.GetHalODMVarHandler)
|
||||
padapter->HalFunc.GetHalODMVarHandler(padapter,eVariable,pValue1,bSet);
|
||||
|
@ -205,7 +205,7 @@ u32 rtw_hal_inirp_deinit(_adapter *padapter)
|
|||
|
||||
}
|
||||
|
||||
u8 rtw_hal_intf_ps_func(_adapter *padapter,HAL_INTF_PS_FUNC efunc_id, u8* val)
|
||||
u8 rtw_hal_intf_ps_func(_adapter *padapter,enum hal_intf_ps_func efunc_id, u8* val)
|
||||
{
|
||||
if (padapter->HalFunc.interface_ps_func)
|
||||
return padapter->HalFunc.interface_ps_func(padapter,efunc_id,val);
|
||||
|
|
|
@ -2428,7 +2428,7 @@ static void rtl8188e_read_chip_version(PADAPTER padapter)
|
|||
|
||||
static void rtl8188e_GetHalODMVar(
|
||||
PADAPTER Adapter,
|
||||
HAL_ODM_VARIABLE eVariable,
|
||||
enum hal_odm_variable eVariable,
|
||||
void * pValue1,
|
||||
bool bSet)
|
||||
{
|
||||
|
@ -2443,7 +2443,7 @@ static void rtl8188e_GetHalODMVar(
|
|||
}
|
||||
static void rtl8188e_SetHalODMVar(
|
||||
PADAPTER Adapter,
|
||||
HAL_ODM_VARIABLE eVariable,
|
||||
enum hal_odm_variable eVariable,
|
||||
void * pValue1,
|
||||
bool bSet)
|
||||
{
|
||||
|
|
|
@ -2825,7 +2825,7 @@ _func_exit_;
|
|||
static u8
|
||||
GetHalDefVar8188EUsb(
|
||||
PADAPTER Adapter,
|
||||
HAL_DEF_VARIABLE eVariable,
|
||||
enum hal_def_variable eVariable,
|
||||
void * pValue
|
||||
)
|
||||
{
|
||||
|
@ -2954,7 +2954,7 @@ GetHalDefVar8188EUsb(
|
|||
/* */
|
||||
static u8 SetHalDefVar8188EUsb(
|
||||
PADAPTER Adapter,
|
||||
HAL_DEF_VARIABLE eVariable,
|
||||
enum hal_def_variable eVariable,
|
||||
void * pValue
|
||||
)
|
||||
{
|
||||
|
@ -3226,7 +3226,7 @@ static void rtl8188eu_init_default_value(_adapter * padapter)
|
|||
pHalData->odmpriv.RFCalibrateInfo.ThermalValue_HP[i] = 0;
|
||||
}
|
||||
|
||||
static u8 rtl8188eu_ps_func(PADAPTER Adapter,HAL_INTF_PS_FUNC efunc_id, u8 *val)
|
||||
static u8 rtl8188eu_ps_func(PADAPTER Adapter,enum hal_intf_ps_func efunc_id, u8 *val)
|
||||
{
|
||||
u8 bResult = true;
|
||||
return bResult;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue