rtl8188eu: Convert typedef for _adapter, etc.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-26 20:08:39 -05:00
parent e8012b9521
commit 2bd2f4b4c8
99 changed files with 2239 additions and 2251 deletions

View file

@ -74,7 +74,7 @@ void dump_chip_info(struct HAL_VERSION ChipVersion)
u8 /* return the final channel plan decision */
hal_com_get_channel_plan(
PADAPTER padapter,
struct adapter * padapter,
u8 hw_channel_plan, /* channel plan from HW (efuse/eeprom) */
u8 sw_channel_plan, /* channel plan from SW (registry/module param) */
u8 def_channel_plan, /* channel plan used when the former two is invalid */
@ -153,7 +153,7 @@ u8 MRateToHwRate(u8 rate)
}
void HalSetBrateCfg(
PADAPTER Adapter,
struct adapter * Adapter,
u8 *mBratesOS,
u16 *pBrateCfg)
{
@ -206,7 +206,7 @@ void HalSetBrateCfg(
}
}
static void _OneOutPipeMapping(PADAPTER pAdapter)
static void _OneOutPipeMapping(struct adapter * pAdapter)
{
struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(pAdapter);
@ -221,7 +221,7 @@ static void _OneOutPipeMapping(PADAPTER pAdapter)
pdvobjpriv->Queue2Pipe[7] = pdvobjpriv->RtOutPipe[0];/* TXCMD */
}
static void _TwoOutPipeMapping(PADAPTER pAdapter, bool bWIFICfg)
static void _TwoOutPipeMapping(struct adapter * pAdapter, bool bWIFICfg)
{
struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(pAdapter);
@ -264,7 +264,7 @@ static void _TwoOutPipeMapping(PADAPTER pAdapter, bool bWIFICfg)
}
static void _ThreeOutPipeMapping(
PADAPTER pAdapter,
struct adapter * pAdapter,
bool bWIFICfg
)
{
@ -306,7 +306,7 @@ static void _ThreeOutPipeMapping(
bool
Hal_MappingOutPipe(
PADAPTER pAdapter,
struct adapter * pAdapter,
u8 NumOutPipe
)
{
@ -336,7 +336,7 @@ Hal_MappingOutPipe(
}
void hal_init_macaddr(_adapter *adapter)
void hal_init_macaddr(struct adapter *adapter)
{
rtw_hal_set_hwreg(adapter, HW_VAR_MAC_ADDR, adapter->eeprompriv.mac_addr);
}
@ -347,12 +347,12 @@ void hal_init_macaddr(_adapter *adapter)
* BITS [127:120] [119:16] [15:8] [7:4] [3:0]
*/
void c2h_evt_clear(_adapter *adapter)
void c2h_evt_clear(struct adapter *adapter)
{
rtw_write8(adapter, REG_C2HEVT_CLEAR, C2H_EVT_HOST_CLOSE);
}
s32 c2h_evt_read(_adapter *adapter, u8 *buf)
s32 c2h_evt_read(struct adapter *adapter, u8 *buf)
{
s32 ret = _FAIL;
struct c2h_evt_hdr *c2h_evt;