mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove __func_enter__ and __func_exit__
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
19da086afe
commit
a8e1fbf1f9
27 changed files with 691 additions and 691 deletions
|
@ -167,7 +167,7 @@ uint rtw_hal_deinit(struct adapter *padapter)
|
|||
struct dvobj_priv *dvobj = adapter_to_dvobj(padapter);
|
||||
int i;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
if (!is_primary_adapter(padapter)){
|
||||
DBG_871X(" rtw_hal_deinit: Secondary adapter return l\n");
|
||||
return status;
|
||||
|
@ -186,7 +186,7 @@ _func_enter_;
|
|||
DBG_871X("\n rtw_hal_deinit: hal_init fail\n");
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@ static s32 FillH2CCmd_88E(struct adapter *padapter, u8 ElementID, u32 CmdLen, u8
|
|||
u32 h2c_cmd_ex = 0;
|
||||
s32 ret = _FAIL;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
padapter = GET_PRIMARY_ADAPTER(padapter);
|
||||
pHalData = GET_HAL_DATA(padapter);
|
||||
|
@ -165,7 +165,7 @@ exit:
|
|||
|
||||
_exit_critical_mutex(&(adapter_to_dvobj(padapter)->h2c_fwcmd_mutex), NULL);
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -206,7 +206,7 @@ u8 rtl8188e_set_rssi_cmd(struct adapter*padapter, u8 *param)
|
|||
{
|
||||
u8 res=_SUCCESS;
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
if(pHalData->fw_ractrl == true){
|
||||
}else{
|
||||
|
@ -214,7 +214,7 @@ _func_enter_;
|
|||
res=_FAIL;
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
@ -224,7 +224,7 @@ u8 rtl8188e_set_raid_cmd(struct adapter*padapter, u32 mask)
|
|||
u8 buf[3];
|
||||
u8 res=_SUCCESS;
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
_func_enter_;
|
||||
;
|
||||
if(pHalData->fw_ractrl == true){
|
||||
_rtw_memset(buf, 0, 3);
|
||||
mask = cpu_to_le32( mask );
|
||||
|
@ -236,7 +236,7 @@ _func_enter_;
|
|||
res=_FAIL;
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return res;
|
||||
|
||||
|
@ -301,7 +301,7 @@ void rtl8188e_set_FwPwrMode_cmd(struct adapter *padapter, u8 Mode)
|
|||
SETPWRMODE_PARM H2CSetPwrMode;
|
||||
struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter);
|
||||
u8 RLBM = 0; // 0:Min, 1:Max , 2:User define
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
DBG_871X("%s: Mode=%d SmartPS=%d UAPSD=%d\n", __FUNCTION__,
|
||||
Mode, pwrpriv->smart_ps, padapter->registrypriv.uapsd_enable);
|
||||
|
@ -351,7 +351,7 @@ _func_enter_;
|
|||
FillH2CCmd_88E(padapter, H2C_PS_PWR_MODE, sizeof(H2CSetPwrMode), (u8 *)&H2CSetPwrMode);
|
||||
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
}
|
||||
|
||||
void rtl8188e_set_FwMediaStatus_cmd(struct adapter *padapter, u16 mstatus_rpt )
|
||||
|
@ -1018,7 +1018,7 @@ void rtl8188e_set_FwJoinBssReport_cmd(struct adapter *padapter, u8 mstatus)
|
|||
u8 DLBcnCount=0;
|
||||
u32 poll = 0;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
DBG_871X("%s mstatus(%x)\n", __FUNCTION__,mstatus);
|
||||
|
||||
|
@ -1173,7 +1173,7 @@ _func_enter_;
|
|||
DBG_871X_LEVEL(_drv_info_, "%s wowlan_mode is off\n", __func__);
|
||||
}
|
||||
#endif //CONFIG_WOWLAN
|
||||
_func_exit_;
|
||||
;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_P2P_PS
|
||||
|
@ -1185,7 +1185,7 @@ void rtl8188e_set_p2p_ps_offload_cmd(struct adapter* padapter, u8 p2p_ps_state)
|
|||
struct P2P_PS_Offload_t *p2p_ps_offload = &pHalData->p2p_ps_offload;
|
||||
u8 i;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
#if 1
|
||||
switch(p2p_ps_state)
|
||||
|
@ -1263,7 +1263,7 @@ _func_enter_;
|
|||
FillH2CCmd_88E(padapter, H2C_PS_P2P_OFFLOAD, 1, (u8 *)p2p_ps_offload);
|
||||
#endif
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
}
|
||||
#endif //CONFIG_P2P_PS
|
||||
|
@ -1278,7 +1278,7 @@ u8 rtl8188e_reset_tsf(struct adapter *padapter, u8 reset_port )
|
|||
u8 res=_SUCCESS;
|
||||
|
||||
s32 ret;
|
||||
_func_enter_;
|
||||
;
|
||||
if (IFACE_PORT0==reset_port) {
|
||||
buf[0] = 0x1; buf[1] = 0;
|
||||
} else{
|
||||
|
@ -1287,7 +1287,7 @@ _func_enter_;
|
|||
|
||||
ret = FillH2CCmd_88E(padapter, H2C_RESET_TSF, 2, buf);
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
@ -1374,7 +1374,7 @@ void rtl8188es_set_wowlan_cmd(struct adapter* padapter, u8 enable)
|
|||
u8 gpio_high_active = 0; //default low active
|
||||
#endif
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
DBG_871X_LEVEL(_drv_always_, "+%s+\n", __func__);
|
||||
|
||||
pwowlan_parm.mode =0;
|
||||
|
@ -1463,7 +1463,7 @@ _func_enter_;
|
|||
rtw_msleep_os(2);
|
||||
res = FillH2CCmd_88E(padapter, H2C_COM_REMOTE_WAKE_CTRL, 3, (u8 *)&pwowlan_parm);
|
||||
}
|
||||
_func_exit_;
|
||||
;
|
||||
DBG_871X_LEVEL(_drv_always_, "-%s res:%d-\n", __func__, res);
|
||||
return ;
|
||||
}
|
||||
|
|
|
@ -320,7 +320,7 @@ rtl8188e_HalDmWatchDog(
|
|||
struct adapter *pbuddy_adapter = Adapter->pbuddy_adapter;
|
||||
#endif //CONFIG_CONCURRENT_MODE
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
hw_init_completed = Adapter->hw_init_completed;
|
||||
|
||||
|
|
|
@ -1034,7 +1034,7 @@ void rtl8188e_InitializeFirmwareVars(struct adapter *padapter)
|
|||
|
||||
static void rtl8188e_free_hal_data(struct adapter *padapter)
|
||||
{
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
if(padapter->HalData)
|
||||
{
|
||||
|
@ -1042,7 +1042,7 @@ _func_enter_;
|
|||
padapter->HalData = NULL;
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
}
|
||||
|
||||
//===========================================================
|
||||
|
|
|
@ -1327,7 +1327,7 @@ u32 rtl8188eu_hal_init(struct adapter *Adapter)
|
|||
|
||||
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_BEGIN);
|
||||
|
||||
|
@ -1730,7 +1730,7 @@ HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_END);
|
|||
#endif
|
||||
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
@ -1884,7 +1884,7 @@ unsigned int rtl8188eu_inirp_init(struct adapter *Adapter)
|
|||
u32 (*_read_interrupt)(struct intf_hdl *pintfhdl, u32 addr);
|
||||
#endif
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
_read_port = pintfhdl->io_ops._read_port;
|
||||
|
||||
|
@ -1928,7 +1928,7 @@ exit:
|
|||
|
||||
RT_TRACE(_module_hci_hal_init_c_,_drv_info_,("<=== usb_inirp_init \n"));
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return status;
|
||||
|
||||
|
@ -3004,7 +3004,7 @@ void SetHwReg8188EU(struct adapter *Adapter, u8 variable, u8* val)
|
|||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct dm_priv *pdmpriv = &pHalData->dmpriv;
|
||||
DM_ODM_T *podmpriv = &pHalData->odmpriv;
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
switch(variable)
|
||||
{
|
||||
|
@ -3839,14 +3839,14 @@ _func_enter_;
|
|||
break;
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
}
|
||||
|
||||
void GetHwReg8188EU(struct adapter *Adapter, u8 variable, u8* val)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
DM_ODM_T *podmpriv = &pHalData->odmpriv;
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
switch(variable)
|
||||
{
|
||||
|
@ -3924,7 +3924,7 @@ _func_enter_;
|
|||
break;
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -4441,7 +4441,7 @@ void rtl8188eu_set_hal_ops(struct adapter * padapter)
|
|||
{
|
||||
struct hal_ops *pHalFunc = &padapter->HalFunc;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
#ifdef CONFIG_CONCURRENT_MODE
|
||||
if(padapter->isprimary)
|
||||
|
@ -4511,6 +4511,6 @@ _func_enter_;
|
|||
pHalFunc->interface_ps_func = &rtl8188eu_ps_func;
|
||||
|
||||
rtl8188e_set_hal_ops(pHalFunc);
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
}
|
||||
|
|
|
@ -187,7 +187,7 @@ static u8 usb_read8(struct intf_hdl *pintfhdl, u32 addr)
|
|||
u16 len;
|
||||
u8 data=0;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
request = 0x05;
|
||||
requesttype = 0x01;//read_in
|
||||
|
@ -198,7 +198,7 @@ static u8 usb_read8(struct intf_hdl *pintfhdl, u32 addr)
|
|||
|
||||
usbctrl_vendorreq(pintfhdl, request, wvalue, index, &data, len, requesttype);
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return data;
|
||||
|
||||
|
@ -213,7 +213,7 @@ static u16 usb_read16(struct intf_hdl *pintfhdl, u32 addr)
|
|||
u16 len;
|
||||
u16 data=0;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
request = 0x05;
|
||||
requesttype = 0x01;//read_in
|
||||
|
@ -224,7 +224,7 @@ static u16 usb_read16(struct intf_hdl *pintfhdl, u32 addr)
|
|||
|
||||
usbctrl_vendorreq(pintfhdl, request, wvalue, index, &data, len, requesttype);
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return data;
|
||||
|
||||
|
@ -239,7 +239,7 @@ static u32 usb_read32(struct intf_hdl *pintfhdl, u32 addr)
|
|||
u16 len;
|
||||
u32 data=0;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
request = 0x05;
|
||||
requesttype = 0x01;//read_in
|
||||
|
@ -250,7 +250,7 @@ static u32 usb_read32(struct intf_hdl *pintfhdl, u32 addr)
|
|||
|
||||
usbctrl_vendorreq(pintfhdl, request, wvalue, index, &data, len, requesttype);
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return data;
|
||||
|
||||
|
@ -266,7 +266,7 @@ static int usb_write8(struct intf_hdl *pintfhdl, u32 addr, u8 val)
|
|||
u8 data;
|
||||
int ret;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
request = 0x05;
|
||||
requesttype = 0x00;//write_out
|
||||
|
@ -279,7 +279,7 @@ static int usb_write8(struct intf_hdl *pintfhdl, u32 addr, u8 val)
|
|||
|
||||
ret = usbctrl_vendorreq(pintfhdl, request, wvalue, index, &data, len, requesttype);
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return ret;
|
||||
|
||||
|
@ -295,7 +295,7 @@ static int usb_write16(struct intf_hdl *pintfhdl, u32 addr, u16 val)
|
|||
u16 data;
|
||||
int ret;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
request = 0x05;
|
||||
requesttype = 0x00;//write_out
|
||||
|
@ -308,7 +308,7 @@ static int usb_write16(struct intf_hdl *pintfhdl, u32 addr, u16 val)
|
|||
|
||||
ret = usbctrl_vendorreq(pintfhdl, request, wvalue, index, &data, len, requesttype);
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return ret;
|
||||
|
||||
|
@ -324,7 +324,7 @@ static int usb_write32(struct intf_hdl *pintfhdl, u32 addr, u32 val)
|
|||
u32 data;
|
||||
int ret;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
request = 0x05;
|
||||
requesttype = 0x00;//write_out
|
||||
|
@ -336,7 +336,7 @@ static int usb_write32(struct intf_hdl *pintfhdl, u32 addr, u32 val)
|
|||
|
||||
ret =usbctrl_vendorreq(pintfhdl, request, wvalue, index, &data, len, requesttype);
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return ret;
|
||||
|
||||
|
@ -352,7 +352,7 @@ static int usb_writeN(struct intf_hdl *pintfhdl, u32 addr, u32 length, u8 *pdata
|
|||
u8 buf[VENDOR_CMD_MAX_DATA_LEN]={0};
|
||||
int ret;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
request = 0x05;
|
||||
requesttype = 0x00;//write_out
|
||||
|
@ -364,7 +364,7 @@ static int usb_writeN(struct intf_hdl *pintfhdl, u32 addr, u32 length, u8 *pdata
|
|||
|
||||
ret = usbctrl_vendorreq(pintfhdl, request, wvalue, index, buf, len, requesttype);
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return ret;
|
||||
|
||||
|
@ -523,7 +523,7 @@ static u32 usb_read_interrupt(struct intf_hdl *pintfhdl, u32 addr)
|
|||
struct recv_priv *precvpriv = &adapter->recvpriv;
|
||||
struct usb_device *pusbd = pdvobj->pusbdev;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
//translate DMA FIFO addr to pipehandle
|
||||
pipe = ffaddr2pipehdl(pdvobj, addr);
|
||||
|
@ -542,7 +542,7 @@ _func_enter_;
|
|||
ret = _FAIL;
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -995,7 +995,7 @@ static void usb_read_port_complete(struct urb *purb, struct pt_regs *regs)
|
|||
|
||||
exit:
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
}
|
||||
|
||||
|
@ -1011,7 +1011,7 @@ static u32 usb_read_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *rmem)
|
|||
struct recv_priv *precvpriv = &adapter->recvpriv;
|
||||
struct usb_device *pusbd = pdvobj->pusbdev;
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
if(adapter->bDriverStopped || adapter->bSurpriseRemoved ||dvobj_to_pwrctl(pdvobj)->pnp_bstop_trx)
|
||||
{
|
||||
|
@ -1058,7 +1058,7 @@ _func_enter_;
|
|||
ret = _FAIL;
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -1433,7 +1433,7 @@ static void usb_read_port_complete(struct urb *purb, struct pt_regs *regs)
|
|||
|
||||
exit:
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
}
|
||||
|
||||
|
@ -1453,7 +1453,7 @@ static u32 usb_read_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *rmem)
|
|||
struct usb_device *pusbd = pdvobj->pusbdev;
|
||||
|
||||
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
if(adapter->bDriverStopped || adapter->bSurpriseRemoved ||dvobj_to_pwrctl(pdvobj)->pnp_bstop_trx)
|
||||
{
|
||||
|
@ -1541,7 +1541,7 @@ _func_enter_;
|
|||
ret = _FAIL;
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -1575,7 +1575,7 @@ void rtl8188eu_xmit_tasklet(void *priv)
|
|||
|
||||
void rtl8188eu_set_intf_ops(struct _io_ops *pops)
|
||||
{
|
||||
_func_enter_;
|
||||
;
|
||||
|
||||
_rtw_memset((u8 *)pops, 0, sizeof(struct _io_ops));
|
||||
|
||||
|
@ -1605,7 +1605,7 @@ void rtl8188eu_set_intf_ops(struct _io_ops *pops)
|
|||
pops->_read_interrupt = &usb_read_interrupt;
|
||||
#endif
|
||||
|
||||
_func_exit_;
|
||||
;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue