linux/drivers/staging/rtl8723bs/hal/sdio_halinit.c

// SPDX-License-Identifier: GPL-2.0
/******************************************************************************
 *
 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
 *
 ******************************************************************************/
#include <drv_types.h>
#include <rtw_debug.h>
#include <rtl8723b_hal.h>

#include "hal_com_h2c.h"
/*
 * Description:
 *Call power on sequence to enable card
 *
 * Return:
 *_SUCCESS	enable success
 *_FAIL		enable fail
 */
static u8 CardEnable(struct adapter *padapter)
{}

static
u8 _InitPowerOn_8723BS(struct adapter *padapter)
{}

/* Tx Page FIFO threshold */
static void _init_available_page_threshold(struct adapter *padapter, u8 numHQ, u8 numNQ, u8 numLQ, u8 numPubQ)
{}

static void _InitQueueReservedPage(struct adapter *padapter)
{}

static void _InitTxBufferBoundary(struct adapter *padapter)
{}

static void _InitNormalChipRegPriority(
	struct adapter *Adapter,
	u16 beQ,
	u16 bkQ,
	u16 viQ,
	u16 voQ,
	u16 mgtQ,
	u16 hiQ
)
{}

static void _InitNormalChipOneOutEpPriority(struct adapter *Adapter)
{}

static void _InitNormalChipTwoOutEpPriority(struct adapter *Adapter)
{}

static void _InitNormalChipThreeOutEpPriority(struct adapter *padapter)
{}

static void _InitQueuePriority(struct adapter *Adapter)
{}

static void _InitPageBoundary(struct adapter *padapter)
{}

static void _InitTransferPageSize(struct adapter *padapter)
{}

static void _InitDriverInfoSize(struct adapter *padapter, u8 drvInfoSize)
{}

static void _InitNetworkType(struct adapter *padapter)
{}

static void _InitWMACSetting(struct adapter *padapter)
{}

static void _InitAdaptiveCtrl(struct adapter *padapter)
{}

static void _InitEDCA(struct adapter *padapter)
{}

static void _InitRetryFunction(struct adapter *padapter)
{}

static void HalRxAggr8723BSdio(struct adapter *padapter)
{}

static void sdio_AggSettingRxUpdate(struct adapter *padapter)
{}

static void _initSdioAggregationSetting(struct adapter *padapter)
{}

static void _InitOperationMode(struct adapter *padapter)
{}

static void _InitInterrupt(struct adapter *padapter)
{}

static void _InitRFType(struct adapter *padapter)
{}

static void _RfPowerSave(struct adapter *padapter)
{}

/*  */
/*  2010/08/09 MH Add for power down check. */
/*  */
static bool HalDetectPwrDownMode(struct adapter *Adapter)
{}	/*  HalDetectPwrDownMode */

static u32 rtl8723bs_hal_init(struct adapter *padapter)
{}

/*  */
/*  Description: */
/* 	RTL8723e card disable power sequence v003 which suggested by Scott. */
/*  */
/*  First created by tynli. 2011.01.28. */
/*  */
static void CardDisableRTL8723BSdio(struct adapter *padapter)
{}

static u32 rtl8723bs_hal_deinit(struct adapter *padapter)
{}

static u32 rtl8723bs_inirp_init(struct adapter *padapter)
{}

static u32 rtl8723bs_inirp_deinit(struct adapter *padapter)
{}

static void rtl8723bs_init_default_value(struct adapter *padapter)
{}

static void rtl8723bs_interface_configure(struct adapter *padapter)
{}

/*  */
/* 	Description: */
/* 		We should set Efuse cell selection to WiFi cell in default. */
/*  */
/* 	Assumption: */
/* 		PASSIVE_LEVEL */
/*  */
/* 	Added by Roger, 2010.11.23. */
/*  */
static void _EfuseCellSel(struct adapter *padapter)
{}

static void _ReadRFType(struct adapter *Adapter)
{}


static void Hal_EfuseParseMACAddr_8723BS(
	struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail
)
{}

static void Hal_EfuseParseBoardType_8723BS(
	struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail
)
{}

static void _ReadEfuseInfo8723BS(struct adapter *padapter)
{}

static void _ReadPROMContent(struct adapter *padapter)
{}

static void _InitOtherVariable(struct adapter *Adapter)
{}

/*  */
/* 	Description: */
/* 		Read HW adapter information by E-Fuse or EEPROM according CR9346 reported. */
/*  */
/* 	Assumption: */
/* 		PASSIVE_LEVEL (SDIO interface) */
/*  */
/*  */
static s32 _ReadAdapterInfo8723BS(struct adapter *padapter)
{}

static void ReadAdapterInfo8723BS(struct adapter *padapter)
{}

/*
 * If variable not handled here,
 * some variables will be processed in SetHwReg8723B()
 */
static void SetHwReg8723BS(struct adapter *padapter, u8 variable, u8 *val)
{}

/*
 * If variable not handled here,
 * some variables will be processed in GetHwReg8723B()
 */
static void GetHwReg8723BS(struct adapter *padapter, u8 variable, u8 *val)
{}

static void SetHwRegWithBuf8723B(struct adapter *padapter, u8 variable, u8 *pbuf, int len)
{}

/*  */
/* 	Description: */
/* 		Query setting of specified variable. */
/*  */
static u8 GetHalDefVar8723BSDIO(
	struct adapter *Adapter, enum hal_def_variable eVariable, void *pValue
)
{}

/*  */
/* 	Description: */
/* 		Change default setting of specified variable. */
/*  */
static u8 SetHalDefVar8723BSDIO(struct adapter *Adapter,
				enum hal_def_variable eVariable, void *pValue)
{}

void rtl8723bs_set_hal_ops(struct adapter *padapter)
{}