Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0969341 authored by Larry Finger's avatar Larry Finger
Browse files

staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IV

parent 99a1f99f
Loading
Loading
Loading
Loading
+751 −714

File changed.

Preview size limit exceeded, changes collapsed.

+48 −36
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ enum sw_chnl_cmd_id {
	CmdID_RF_WriteReg,
};

/*--------------------------------Define structure--------------------------------*/
/*--------------------------------Define structure----------------------------*/
struct sw_chnl_cmd {
	enum sw_chnl_cmd_id CmdID;
	u32			Para1;
@@ -97,23 +97,35 @@ enum rf90_radio_path {
#define bMaskLWord                0x0000ffff
#define bMaskDWord                0xffffffff

extern u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device* dev, u32 eRFPath);
extern void rtl8192_setBBreg(struct net_device* dev, u32 dwRegAddr, u32 dwBitMask, u32 dwData);
extern u32 rtl8192_QueryBBReg(struct net_device* dev, u32 dwRegAddr, u32 dwBitMask);
extern void rtl8192_phy_SetRFReg(struct net_device* dev, enum rf90_radio_path eRFPath, u32 RegAddr, u32 BitMask, u32 Data);
extern u32 rtl8192_phy_QueryRFReg(struct net_device* dev, enum rf90_radio_path eRFPath, u32 RegAddr, u32 BitMask);
extern u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev,
					 u32 eRFPath);
extern void rtl8192_setBBreg(struct net_device *dev, u32 dwRegAddr,
			     u32 dwBitMask, u32 dwData);
extern u32 rtl8192_QueryBBReg(struct net_device *dev, u32 dwRegAddr,
			      u32 dwBitMask);
extern void rtl8192_phy_SetRFReg(struct net_device *dev,
				 enum rf90_radio_path eRFPath,
				 u32 RegAddr, u32 BitMask, u32 Data);
extern u32 rtl8192_phy_QueryRFReg(struct net_device *dev,
				  enum rf90_radio_path eRFPath,
				  u32 RegAddr, u32 BitMask);
extern void rtl8192_phy_configmac(struct net_device *dev);
extern void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType);
extern bool rtl8192_phy_checkBBAndRF(struct net_device* dev, enum hw90_block CheckBlock, enum rf90_radio_path eRFPath);
extern bool rtl8192_phy_checkBBAndRF(struct net_device *dev,
				     enum hw90_block CheckBlock,
				     enum rf90_radio_path eRFPath);
extern bool rtl8192_BBConfig(struct net_device *dev);
extern void rtl8192_phy_getTxPower(struct net_device *dev);
extern void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel);
extern bool rtl8192_phy_RFConfig(struct net_device *dev);
extern void rtl8192_phy_updateInitGain(struct net_device *dev);
extern u8 rtl8192_phy_ConfigRFWithHeaderFile(struct net_device* dev, enum rf90_radio_path eRFPath);
extern u8 rtl8192_phy_ConfigRFWithHeaderFile(struct net_device *dev,
					     enum rf90_radio_path eRFPath);

extern u8 rtl8192_phy_SwChnl(struct net_device *dev, u8 channel);
extern void rtl8192_SetBWMode(struct net_device *dev, enum ht_channel_width Bandwidth, enum ht_extchnl_offset Offset);
extern void rtl8192_SetBWMode(struct net_device *dev,
			      enum ht_channel_width Bandwidth,
			      enum ht_extchnl_offset Offset);
extern void rtl8192_SwChnl_WorkItem(struct net_device *dev);
extern void rtl8192_SetBWModeWorkItem(struct net_device *dev);
extern void InitialGain819xPci(struct net_device *dev, u8 Operation);